Scroll to navigation

OpenStreamOnFile(3w) Wine API 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

Declared in "util.h".
Implemented in "dlls/mapi32/util.c".
Debug channel "mapi".
Oct 2012 Wine API