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

# IDispatch\_GetTypeInfo(3w)

## NAME

**IDispatch\_GetTypeInfo** (OLEAUT32.@)

## SYNOPSIS

static HRESULT IDispatch\_GetTypeInfo\
  (\
   LPDISPATCH  *iface*,\
   UINT        *iTInfo*,\
   LCID        *lcid*,\
   ITypeInfo\*\* *ppTInfo*\
  )

## DESCRIPTION

Get type information from an **IDispatch** interface.

## PARAMS

*iface* **\[In\]**  **IDispatch** interface.

*iTInfo* **\[In\]**  Index of type information.

*lcid* **\[In\]**  Locale of the type information to get.

*ppTInfo* **\[Out\]**  Destination for the **ITypeInfo** object.

## RETURNS

**Success:** **S\_OK**. *ppTInfo* is updated with the objects type information

**Failure:** **DISP\_E\_BADINDEX**, if *iTInfo* is any value other than **0.**

## NOTES

See **[IDispatch(3w)](/IDispatch/3w.md)**.

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
