Edit

Share via


IExtendPropertySheet.CreatePropertyPages Method

Definition

Adds pages to a property sheet.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 int CreatePropertyPages(Microsoft::Aspnet::Snapin::IPropertySheetCallback ^ lpProvider, IntPtr handle, Microsoft::Aspnet::Snapin::IDataObject ^ lpIDataObject);
public int CreatePropertyPages (Microsoft.Aspnet.Snapin.IPropertySheetCallback lpProvider, IntPtr handle, Microsoft.Aspnet.Snapin.IDataObject lpIDataObject);
abstract member CreatePropertyPages : Microsoft.Aspnet.Snapin.IPropertySheetCallback * nativeint * Microsoft.Aspnet.Snapin.IDataObject -> int
Public Function CreatePropertyPages (lpProvider As IPropertySheetCallback, handle As IntPtr, lpIDataObject As IDataObject) As Integer

Parameters

lpProvider
IPropertySheetCallback

A pointer to the IPropertySheetCallback.

handle
IntPtr

nativeint

The handle to use to route the notification message to the appropriate IComponent or IComponentData.

lpIDataObject
IDataObject

A pointer to the IDataObject on the object containing context information about the scope or result item.

Returns

Return Value Description
S_OK The CreatePropertyPages successfully added the property sheet pages.
S_FALSE The CreatePropertyPages added no property sheet pages.
E_UNEXPECTED An unexpected error occurred.
E_INVALIDARG One or more parameters are not valid.

Remarks

For more information about programming with the IExtendPropertySheet interface and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.

Applies to