IStream * SHCreateMemStream ( const BYTE* data, UINT data_len )
Create an IStream object on a block of memory.
|data||[In]||Memory block to create the IStream object on.|
|data_len||[In]||Length of data block.|
Success: A pointer to the IStream object.
Failure: NULL, if any parameters are invalid or an error occurs.
A copy of the memory block is made, it's freed when the stream is released.
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 © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jun 2021.