GetHGlobalFromStream function ole32
The GetHGlobalFromStream function retrieves the global memory handle to a stream that was created through a call to the CreateStreamOnHGlobal function.
HRESULT GetHGlobalFromStream(
[in] LPSTREAM pstm,
[out] HGLOBAL *phglobal
);
Implementation
int GetHGlobalFromStream(Pointer<COMObject> pstm, Pointer<IntPtr> phglobal) =>
_GetHGlobalFromStream(pstm, phglobal);