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

# IDispatch\_GetTypeInfoCount(3w)

## NAME

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

## SYNOPSIS

static HRESULT IDispatch\_GetTypeInfoCount\
  (\
   LPDISPATCH *iface*,\
   UINT\*      *pctinfo*\
  )

## DESCRIPTION

Get the count of type information in an **IDispatch** interface.

## PARAMS

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

*pctinfo* **\[Out\]**  Destination for the count.

## RETURNS

**Success:** **S\_OK**. *pctinfo* is updated with the count. This is always **1** if the object provides type information, and **0** if it does not.

**Failure:** **E\_NOTIMPL**. The object does not provide type information.

## NOTES

See **[IDispatch(3w)](/IDispatch/3w.md)** and **[IDispatch\_GetTypeInfo(3w)](/IDispatch_GetTypeInfo/3w.md)**.

## IMPLEMENTATION

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

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

Debug channel **"ole"**.
