GetHGlobalFromStream function ole32

int GetHGlobalFromStream(
  1. Pointer<COMObject> pstm,
  2. Pointer<Pointer<NativeType>> phglobal
)

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<Pointer> phglobal) =>
    _GetHGlobalFromStream(pstm, phglobal);