GetStrings

HRESULT GetStrings(
CALPOLESTR *prgOleStr, 
CADWORD *prgCookie, 
int iObjectType, 
REFIID riid, 
int ctItems = 0);

Parameters

prgOleStr

CALPOLESTR* parameter passed to GetPredefinedStrings.

prgCookie

CADWORD* parameter passed to GetPredefinedStrings.

iObjectType

Index of the control info object in the global OBJECTINFO array g_ObjectInfo.

riid

GUID of enumeration type.

cItems

Limit of how many items to return. This is zero for all enum items.

Comments

Called by IPerPropertyBrowse::GetPredefinedStrings to populate the CALPOLESTR* and CADWORD* structures with string information for enumeration type properties.