GetHGlobalFromILockBytes(3w)

GetHGlobalFromILockBytes3w

Usage

HRESULT GetHGlobalFromILockBytes
(
ILockBytes* plkbyt,
HGLOBAL* phglobal
)

Overview

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".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.