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

# ICreateTypeLib2\_GetCustData(3w)

## NAME

**ICreateTypeLib2\_GetCustData** (OLEAUT32.@)

## SYNOPSIS

static HRESULT ICreateTypeLib2\_GetCustData\
  (\
   ITypeLib2\* *iface*,\
   REFGUID    *guid*,\
   VARIANT\*   *pVarVal*\
  )

## PARAMS

*iface* **\[In\]**  The type library in which to find the custom data.

*guid* **\[In\]**  The **GUID** under which the custom data is stored.

*pVarVal* **\[Out\]**  The custom data.

## DESCRIPTION

Retrieves a custom data value stored on a type library.

## RETURNS

**Success:** **S\_OK**

**Failure:** **E\_OUTOFMEMORY** or **E\_INVALIDARG**.

## IMPLEMENTATION

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

Implemented in **"dlls/oleaut32/typelib2.c"**.

Debug channel **"ole"**.
