Retrieves the CLSID of the property page associated with the specified property.
HRESULT MapPropertyToPage( DISPID dispID, CLSID *pClsid );
The dispatch identifier of the property.
A pointer to the CLSID identifying the property page associated with the property specified by dispID. If this method fails, *pClsid is set to CLSID_NULL.
This method can return the standard return values E_INVALIDARG and E_UNEXPECTED, as well as the following values.
||The method completed succesfully.|
||The object does not support property pages at all or does not support mapping properties to the page CLSID. In other words, this feature of specific property browsing is not supported.|
||The address in pClsid is not valid. For example, it may be NULL.|
The CLSID returned from this method can be passed to OleCreatePropertyFrameIndirect to specify the initial page to display in the property sheet.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|