Scroll to navigation

SHCreateMemStream(3w) Wine API SHCreateMemStream(3w)

NAME

SHCreateMemStream (SHLWAPI.12)

SYNOPSIS

IStream * SHCreateMemStream
(
const BYTE* lpbData,
UINT dwDataLen
)
 

DESCRIPTION

Create an IStream object on a block of memory.
 

PARAMS

lpbData [In] Memory block to create the IStream object on.
dwDataLen [In] Length of data block.
 

RETURNS

Success: A pointer to the IStream object.
Failure: NULL, if any parameters are invalid or an error occurs.
 

NOTES

A copy of the memory pointed to by lpbData is made, and is freed when the stream is released.
 

IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.
Implemented in "dlls/shlwapi/regstream.c".
Debug channel "shell".
Oct 2012 Wine API