OpenStreamOnFile(3w)

NAME

OpenStreamOnFile (MAPI32.147)

SYNOPSIS

HRESULT OpenStreamOnFile
 (
  LPALLOCATEBUFFER lpAlloc,
  LPFREEBUFFER     lpFree,
  ULONG            ulFlags,
  LPWSTR           lpszPath,
  LPWSTR           lpszPrefix,
  LPSTREAM*        lppStream
 )

DESCRIPTION

Create a stream on a file.

PARAMS

lpAlloc [In] Memory allocation function.

lpFree [In] Memory free function.

ulFlags [In] Flags controlling the opening process.

lpszPath [In] Path of file to create stream on.

lpszPrefix [In] Prefix of the temporary file name (if ulFlags includes SOF_UNIQUEFILENAME).

lppStream [Out] Destination for created stream.

RETURNS

Success: S_OK. lppStream contains the new stream object

Failure: E_INVALIDARG if any parameter is invalid, or an HRESULT error code describing the error.

IMPLEMENTATION

Defined in "mapiutil.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/mapi32/util.c".

Debug channel "mapi".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout