Retrieves the global memory handle to a stream
#include <WinAPICom.au3>
_WinAPI_GetHGlobalFromStream ( $pStream )
$pStream | Pointer to the stream object previously created by a call to the _WinAPI_CreateStreamOnHGlobal() function. |
Success: | Pointer to the current memory handle used by the specified stream object. |
Failure: | 0 and sets the@error flag to non-zero, @extended flag may contain the HRESULT error code. |
This function can be called only from within the same process from which the byte array was created.
Search GetHGlobalFromStream in MSDN Library.