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

# CreateDispTypeInfo(3w)

## NAME

**CreateDispTypeInfo** (OLEAUT32.31)

## SYNOPSIS

HRESULT CreateDispTypeInfo\
  (\
   INTERFACEDATA\* *pidata*,\
   LCID           *lcid*,\
   ITypeInfo\*\*    *pptinfo*\
  )

## PARAMS

*pidata* **\[In\]**  Description of the interface to build type information for.

*lcid* **\[In\]**  Locale Id.

*pptinfo* **\[Out\]**  Destination for created **ITypeInfo** object.

## DESCRIPTION

Build type information for an object so it can be called through an IDispatch interface.

## RETURNS

**Success:** **S\_OK**. *pptinfo* contains the created **ITypeInfo** object.

**Failure:** **E\_INVALIDARG**, if one or more arguments is invalid.

## NOTES

This call allows an objects methods to be accessed through IDispatch, by building an **ITypeInfo** object that IDispatch can use to call through.

## IMPLEMENTATION

Declared in **"oleauto.h"**.

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

Debug channel **"ole"**.
