NAME

SHCreateStreamWrapper  (SHLWAPI.@)

SYNOPSIS

 HRESULT SHCreateStreamWrapper
 (
  LPBYTE    lpbData,
  DWORD     dwDataLen,
  DWORD     dwReserved,
  IStream** lppStream
 )

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.
dwReserved [In] Reserved, Must be 0.
lppStream [Out] Destination for IStream object.

RETURNS

Success: S_OK. lppStream contains the new IStream object.

Failure: E_INVALIDARG, if any parameters are invalid, E_OUTOFMEMORY if memory allocation fails.

NOTES

The stream assumes ownership of the memory passed to it.

IMPLEMENTATION

Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h

Implemented in "dlls/shlwapi/regstream.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/regstream.c

Debug channel "shell".


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