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

# ITypeInfo2\_GetTypeKind(3w)

## NAME

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

## SYNOPSIS

static HRESULT ITypeInfo2\_GetTypeKind\
  (\
   ITypeInfo2\* *iface*,\
   TYPEKIND\*   *pTypeKind*\
  )

## PARAMS

*iface* **\[In\]**  The TypeInfo to obtain the typekind for.

*pTypeKind* **\[Out\]**  The typekind for this TypeInfo.

## DESCRIPTION

Get the **TYPEKIND** value for a TypeInfo.

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