Reference

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

History