# CALPOLESTR

The CALPOLESTR structure is a counted array of LPOLESTR types, that is, a counted array of pointers to strings. It is used, for example, in the IPerPropertyBrowsing::GetPredefinedStrings method to specify the predefined strings that a property can accept.

    typedef struct tagCALPOLESTR
    {
        ULONG         cElems;
        LPOLESTR FAR* pElems;
    } CALPOLESTR;

Members

cElems
  Size of the array pointed to by pElems.
pElems
  Pointer to an array of LPOLESTR values, each of which corresponds to an allowable value that a particular property can accept. The caller can use these string values in user interface elements, such as drop-down list boxes. This array, as well as the strings in the array, are allocated by the callee using CoTaskMemAlloc and is freed by the caller using CoTaskMemFree.

See Also

IPerPropertyBrowsing::GetPredefinedStrings