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 "include/mapiutil.h". gitlab.winehq.org/wine/wine/blob/master/include/mapiutil.h

Implemented in "dlls/mapi32/util.c". gitlab.winehq.org/wine/wine/blob/master/dlls/mapi32/util.c

Debug channel "mapi".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.