CADWORD structure (ocidl.h)

Specifies a counted array of values that can be used to obtain the value corresponding to one of the predefined strings for a property.

Syntax

typedef struct tagCADWORD {
  ULONG cElems;
  DWORD *pElems;
} CADWORD, *LPCADWORD;

Members

cElems

The size of the array pointed to by pElems.

pElems

A pointer to an array of values, each of which can be passed to the IPerPropertyBrowsing::GetPredefinedValue method to obtain the corresponding value for one of the property's predefined strings. This array is allocated by the callee using CoTaskMemAlloc and is freed by the caller using CoTaskMemFree.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header ocidl.h

See also

CALPOLESTR

IPerPropertyBrowsing::GetPredefinedStrings

IPerPropertyBrowsing::GetPredefinedValue