NAME

SHCreateMemStream  (SHCORE.@)

SYNOPSIS

 IStream * SHCreateMemStream
 (
  const BYTE* data,
  UINT        data_len
 )

DESCRIPTION

Create an IStream object on a block of memory.

PARAMS

data [In] Memory block to create the IStream object on.
data_len [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 block is made, it's freed when the stream is released.

IMPLEMENTATION

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

Implemented in "dlls/shcore/main.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shcore/main.c

Debug channel "shcore".


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