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 "shlwapi.h". https://source.winehq.org/source/include/shlwapi.h

Implemented in "dlls/shcore/main.c". https://source.winehq.org/source/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 Mar 2024.