IExtendPropertySheet::QueryPagesFor method (mmc.h)

Determines whether the object requires pages.

Syntax

HRESULT QueryPagesFor(
  [in] LPDATAOBJECT lpDataObject
);

Parameters

[in] lpDataObject

A pointer to the IDataObject interface on the object that contains context information about the scope or result item.

Return value

This method can return one of these values.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header mmc.h

See also

Adding Property Pages and Wizard Pages

IDataObject

IExtendPropertySheet

IPropertySheetCallback