IExtendPropertySheet::QueryPagesFor

[This is preliminary documentation and subject to change.]

Determines whether the object requires pages.

HRESULT QueryPagesFor(
  LPDATAOBJECT lpDataObject  // Pointer to the data object
);
 

Parameters

lpDataObject
[in] Pointer to the IDataObject interface on the object that contains context information about the node.

Return Value

S_OK
Properties exist for this cookie.
E_UNEXPECTED
An unexpected error occurred.
E_INVALID
The parameter is invalid.

Remarks

The console calls this method to determine whether the Properties menu item should be added to the context menu.

See Also

IDataObject, IExtendPropertySheet, IPropertySheetCallback