Allows the caller to fill a list box with a counted array of string pointers which represent potential values for this property.

HRESULT GetPredefinedStrings(
   DISPID  dispid,
   CALPOLESTR*  pCaStrings,
   CADWORD*  pCaCookies
);

Parameters

dispid

[in] Dispatch identifier of the property for which the caller is requesting the string list.

pCaStrings

[out] Pointer to a caller-allocated, counted array structure that contains the element count and address of a method-allocated array of string pointers. If the method fails, no memory is allocated, and the contents of the structure are undefined.

pCaCookies

[out] Pointer to the caller-allocated, counted array structure that contains the element count and address of a method-allocated array of DWORDs. If the method fails, no memory is allocated, and the contents of the structure are undefined.

Expand imageReturn Value

Expand imageSee Also