NAME

GetHGlobalFromILockBytes  (OLE32.@)

SYNOPSIS

 HRESULT GetHGlobalFromILockBytes
 (
  ILockBytes* iface,
  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". https://source.winehq.org/source/include/ole2.h

Implemented in "dlls/coml2/memlockbytes.c". https://source.winehq.org/source/dlls/coml2/memlockbytes.c

Debug channel "ole".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Apr 2024.