OpenStreamOnFile(3w)

OpenStreamOnFile3w

Usage

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

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.