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

# ITypeInfo2\_GetFuncIndexOfMemId(3w)

## NAME

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

## SYNOPSIS

static HRESULT ITypeInfo2\_GetFuncIndexOfMemId\
  (\
   ITypeInfo2\* *iface*,\
   MEMBERID    *memid*,\
   INVOKEKIND  *invKind*,\
   UINT\*       *pFuncIndex*\
  )

## PARAMS

*iface* **\[In\]**  The TypeInfo in which to find the function.

*memid* **\[In\]**  The member Id for the function.

*invKind* **\[In\]**  The invocation kind for the function.

*pFuncIndex* **\[Out\]**  The index of the function.

## DESCRIPTION

Gets the index of a function given its member id.

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