|
|
|
ISpecifyPropertyPages Interface |
|
IID_ISpecifyPropertyPages |
{B196B28B-BAB4-101A-B69C-00AA00341D07} |
|
The ISpecifyPropertyPages interface is a standard Win32 OLE interface. You implement this interface to allow the pipeline administration tool to invoke the property page user interface of the component.
|
|
Methods in VTable order |
|
|
IUnknown Methods |
Description |
|
QueryInterface |
Returns pointers to supported interfaces. |
|
AddRef |
Increments reference count. |
|
Release |
Decrements reference count. |
|
ISpecifyPropertyPages Method |
Description |
|
GetPages |
This 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 the CAUUID structure using the CoTaskMemAlloc method. 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.
The returned array must be freed with a call to CoTaskMemFree. |
|
CAUUID Structure |
|
TYPE CAUUID
|
|
GetPages |
|
FUNCTION ISpecifyPropertyPages_GetPages ( _ BYVAL pthis AS DWORD PTR _ , BYREF pPages AS CAUUID _ ) AS LONG
|
|
How to show the property pages of an ActiveX control |
|
FUNCTION TB_DoVerbProperties ( _ BYVAL hParent AS DWORD, _ BYVAL strCaption AS STRING, _ BYVAL lpObj AS DWORD _ )
AS LONG ' Show the pages - Note that we are passing the address ' of lpObj since this parameter is an array of objects,
' although we are passing only one object.
' VARPTR(lpObjArray(0)).
strCaption = UCODE$(strCaption) STRPTR(strCaption), 1, VARPTR(lpObj), _
tPages.cElems, tPages.pElems, 0, 0, 0) |
Page last updated on Monday, 03 April 2006 20:27:50 +0200