# CADWORD

The CADWORD structure is a counted array of DWORDs. It is used, for example, in the IPerPropertyBrowsing::GetPredefinedStrings method. The values returned in this counted array can be passed into the IPerPropertyBrowsing::GetPredefinedValue method to obtain the value corresponding to one of the predefined strings for a property.

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

Members

cElems
  Size of the array pointed to by pElems.
pElems
  Pointer to an array of DWORD 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.

See Also

CALPOLESTR, IPerPropertyBrowsing::GetPredefinedStrings, IPerPropertyBrowsing::GetPredefinedValue