Reference

ICreateTypeInfo2_SetVarCustData(3w)

NAME

ICreateTypeInfo2_SetVarCustData (OLEAUT32.@)

SYNOPSIS

static HRESULT ICreateTypeInfo2_SetVarCustData
(
ICreateTypeInfo2* iface,
UINT index,
REFGUID guid,
VARIANT* pVarVal
)

PARAMS

iface [In] The typeinfo in which to set the custom data.

index [In] The index of the variable on which to set the custom data.

guid [In] The GUID used as a key to retrieve the custom data.

pVarVal [In] The custom data.

DESCRIPTION

Set the custom data for 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