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

# ICreateTypeInfo2\_SetImplTypeCustData(3w)

## NAME

**ICreateTypeInfo2\_SetImplTypeCustData** (OLEAUT32.@)

## SYNOPSIS

static HRESULT ICreateTypeInfo2\_SetImplTypeCustData\
  (\
   ICreateTypeInfo2\* *iface*,\
   UINT              *index*,\
   REFGUID           *guid*,\
   VARIANT\*          *pVarVal*\
  )

## PARAMS

*iface* **\[In\]**  The typeinfo on which to set the custom data.

*index* **\[In\]**  The *index* of the implemented interface on which to set the custom data.

*guid* **\[In\]**  The **GUID** used as a key to retrieve the custom data.

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

## DESCRIPTION

Set the custom data for an implemented interface.

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