The GetPages method fills a counted array of universally unique identifier (UUID values where each UUID specifies the class identifier (CLSID) of a particular property page that can be displayed in the property sheet for this object.
The CAUUID structure is caller-allocated, but is not initialized by the caller. The ISpecifyPropertyPages::GetPages method fills the cElements field in the CAUUID structure. This method also allocates memory for the array pointed to by the pElems field in CAUUID using CoTaskMemAlloc. Then, it fills the newly allocated array. After this method returns successfully, the structure contains a counted array of UUIDs, each UUID specifying a property page CLSID.
HRESULT GetPages(
CAUUID *pPages// out
);
\
The method returns an HRESULT value.
The CAUUID structure is defined as follows:
typedef struct tagCAUUID
{
ULONGcElems;
GUID FAR *pElems;
} CAUUID;