SHCreateMemStream function shell32

Pointer<COMObject> SHCreateMemStream(
  1. Pointer<Uint8> pInit,
  2. int cbInit
)

Creates a memory stream using a similar process to CreateStreamOnHGlobal.

IStream* SHCreateMemStream(
  [in, optional] const BYTE *pInit,
  [in]           UINT       cbInit
);

Implementation

Pointer<COMObject> SHCreateMemStream(Pointer<Uint8> pInit, int cbInit) =>
    _SHCreateMemStream(pInit, cbInit);