Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PropSheetPageProc Delegate

Note: This delegate is new in the .NET Framework version 2.0.

This delegate supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Specifies a callback function that a property sheet calls when a page is created and when the page is about to be destroyed.

Namespace: Microsoft.Aspnet.Snapin
Assembly: AspNetMMCExt (in aspnetmmcext.dll)

public delegate int PropSheetPageProc (
	IntPtr hwnd,
	int uMsg,
	IntPtr lParam
)
/** @delegate */
public delegate int PropSheetPageProc (
	IntPtr hwnd, 
	int uMsg, 
	IntPtr lParam
)
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

hwnd

Reserved; must be a null reference (Nothing in Visual Basic).

uMsg

An action flag specifying that a page or a dialog box for a page is being created or a page is being destroyed.

lParam

A pointer to a structure defining the page being created or destroyed.

Return Value

The value of uMsg.

For more information about programming with the PropSheetPageProc delegate and the Microsoft Management Console (MMC), see the "MMC Programmer's Guide" in the MSDN Library.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft