Reference

ITypeInfo2_GetVarCustData(3w)

NAME

ITypeInfo2_GetVarCustData (OLEAUT32.@)

SYNOPSIS

static HRESULT ITypeInfo2_GetVarCustData
(
ITypeInfo2* iface,
UINT index,
REFGUID guid,
VARIANT* pVarVal
)

PARAMS

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

index [In] The index of the variable for which to retrieve the custom data.

guid [In] The GUID under which the custom data is stored.

pVarVal [Out] The custom data.

DESCRIPTION

Gets a custom data element from a variable.

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