IPropertySheetProvider

[This is preliminary documentation and subject to change.]

The IPropertySheetProvider interface implements Win32 property sheets as COM objects. A property sheet object has the code necessary to handle modeless operation and to determine which other snap-ins are extending this node type. The size of the property sheet is determined by the primary snap-in and extensions are forced to accept that size.

When to Implement

You do not implement this interface. It is implemented by the node manager in Microsoft Management Console.

When to Use

You use IPropertySheetProvider whenever you are building a snap-in that has its own result view; that is, a result view other than the default (list view) result pane. IPropertySheetProvider is also be used when a snap-in adds a feature that has a property sheet as the user interface but identifies it as something else.

If the user implements his or her own OCX, IPropertySheetProvider can be used to put the property sheet and automatically get all the features it provides, such as the ability to add extension pages.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IPropertySheetProvider Methods Description
CreatePropertySheet Creates a property sheet frame.
FindPropertySheet Determines whether a property sheet exists.
AddPrimaryPages Collects property pages from the primary snap-in.
AddExtensionPages Collects pages from one or more extension snap-ins.
Show Displays a specific property sheet frame.