VSAParameterType

See Also   Tasks

Visual C++: The VSAParameterType enumeration values define characteristics of keys and values. Specify these values in the prgTypes array; one value for each value you pass in the prgValues array. Populate the prgKeys, prgTypes, and prgValues arrays before you call FireEvent.

typedef [v1_enum] enum VSAParameterType
{
   cVSAParameterKeyMask=0x80000000,
   cVSAParameterKeyString=0x80000000,
   cVSAParameterValueMask=0x0007ffff,
   cVSAParameterValueTypeMask=0x00070000,
   cVSAParameterValueUnicodeString=0x00000,
   cVSAParameterValueANSIString=0x10000,
   cVSAParameterValueGUID=0x20000,
   cVSAParameterValueDWORD=0x30000,
   cVSAParameterValueBYTEArray=0x40000,
   cVSAParameterValueLengthMask=0xffff
} VSAParameterType;

Elements

cVSAParameterKeyMask

Mask for key-related flags.

cVSAParameterKeyString

If true, the rgKeys array element contains a string, not one of the predefined indices listed in VSAStandardParameter.

cVSAParameterValueMask

Mask for all value-related flags and data.

cVSAParameterValueTypeMask

Mask for the type of item in rgValues.

cVSAParameterValueUnicodeString

rgValues contains a Unicode string.

cVSAParameterValueANSIString

rgValues contains an ANSI string.

cVSAParameterValueGUID

rgValues contains a GUID.

cVSAParameterValueDWORD

rgValues contains a DWORD.

cVSAParameterValueBYTEArray

rgValues contains a BYTEArray.

cVSAParameterValueLengthMask

Number of bytes that rgValues points to. Only used for BYTEArray. This limits the size of the byte array to a theoretical maximum of about 64 kb, but generating an event with this much data is not recommended.