CALPOLESTR structure (ocidl.h)

Specifies a counted array of strings used to specify the predefined strings that a property can accept.

Syntax

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

Members

cElems

The size of the array pointed to by pElems.

pElems

A 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.

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

IPerPropertyBrowsing::GetPredefinedStrings

LPOLESTR