ICreateTypeInfo2::SetVarCustData

This method sets a custom data variable.

At a Glance

Header file: Oaidl.h
Windows CE versions: 2.0 and later

Syntax

HRESULT SetVarCustData( unsigned int index, REFGUID guid,
VARIANT *pVarVal);

Parameters

index

Index of the variable for which to set the custom data.

guid

Globally unique identifier (GUID) used to identify the data.

pVarVal

Pointer to the data to store (any legal variant except an object).

Return Values

One of the values described in the following table is returned.

Value Description
S_OK Success.
E_OUTOFMEMORY Out of memory.
E_INVALIDARG One or more of the parameters is invalid.