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

# ITypeInfo2\_GetFuncCustData(3w)

## NAME

**ITypeInfo2\_GetFuncCustData** (OLEAUT32.@)

## SYNOPSIS

static HRESULT ITypeInfo2\_GetFuncCustData\
  (\
   ITypeInfo2\* *iface*,\
   UINT        *index*,\
   REFGUID     *guid*,\
   VARIANT\*    *pVarVal*\
  )

## PARAMS

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

*index* **\[In\]**  The *index* of the function for which to retrieve the custom data.

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

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

## DESCRIPTION

Gets a custom data element from a function.

## RETURNS

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

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

## IMPLEMENTATION

Declared in **"oaidl.h"**.

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

Debug channel **"ole"**.
