---
name: "CreateILockBytesOnHGlobal16"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/CreateILockBytesOnHGlobal16"
---

# CreateILockBytesOnHGlobal16(3w)

## NAME

**CreateILockBytesOnHGlobal16** (OLE2.54)

## SYNOPSIS

HRESULT CreateILockBytesOnHGlobal16\
  (\
   HGLOBAL16      *hGlobal*,\
   BOOL16         *fDeleteOnRelease*,\
   LPLOCKBYTES16\* *ppLkbyt*\
  )

## PARAMS

*hGlobal* **\[In\]**  **.**

*fDeleteOnRelease* **\[In\]**  **.**

*ppLkbyt* **\[Out\]**  (ptr to SEGPTR!).

## DESCRIPTION

Creates an **ILockBytes** interface for a **HGLOBAL** handle.

## PARAMS

*hGlobal* the global handle (16bit)

*fDeleteOnRelease* delete handle on release.

*ppLkbyt* pointer to **ILockBytes** interface.

## RETURNS

Staddard **OLE** error return codes.

## IMPLEMENTATION

Not declared in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in **"dlls/ole2.dll16/memlockbytes.c"**.

Debug channel **"ole"**.
