Reference

ITypeInfo2_GetVarIndexOfMemId(3w)

NAME

ITypeInfo2_GetVarIndexOfMemId (OLEAUT32.@)

SYNOPSIS

static HRESULT ITypeInfo2_GetVarIndexOfMemId
(
ITypeInfo2* iface,
MEMBERID memid,
UINT* pVarIndex
)

PARAMS

iface [In] The TypeInfo in which to find the variable.

memid [In] The member Id for the variable.

pVarIndex [Out] The index of the variable.

DESCRIPTION

Gets the index of a variable 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