Scroll to navigation

GetHGlobalFromILockBytes(3w) Wine API GetHGlobalFromILockBytes(3w)

NAME

GetHGlobalFromILockBytes (OLE32.@)

SYNOPSIS

HRESULT GetHGlobalFromILockBytes
(
ILockBytes* plkbyt,
HGLOBAL* phglobal
)
 

DESCRIPTION

Retrieve a global memory handle to a byte array object created using the CreateILockBytesOnHGlobal function.
 

PARAMS

plkbyt [ I] Pointer to the ILockBytes interface on byte array object
phglobal [ O] Address to store a global memory handle.
 

RETURNS

S_OK if *phglobal has a correct value E_INVALIDARG if any parameters are invalid
 

IMPLEMENTATION

Declared in "ole2.h".
Implemented in "dlls/ole32/memlockbytes.c".
Debug channel "ole".
Oct 2012 Wine API