PropSheetPageProc 委托
定义
指定当创建页时以及将销毁页时属性表调用的回调函数。Specifies a callback function that a property sheet calls when a page is created and when the page is about to be destroyed.
此 API 支持产品基础结构,不能在代码中直接使用。
public delegate int PropSheetPageProc(IntPtr hwnd, int uMsg, IntPtr lParam);
public delegate int PropSheetPageProc(IntPtr hwnd, int uMsg, IntPtr lParam);
type PropSheetPageProc = delegate of nativeint * int * nativeint -> int
Public Delegate Function PropSheetPageProc(hwnd As IntPtr, uMsg As Integer, lParam As IntPtr) As Integer
参数
- hwnd
- IntPtr
保留;必须为 NULL(在 Visual Basic 中为 Nothing)。Reserved; must be null (Nothing in Visual Basic).
- uMsg
- Int32
一个操作标志,它指定一个说明正在创建页或者正在销毁页的页或对话框。An action flag specifying that a page or a dialog box for a page is being created or a page is being destroyed.
- lParam
- IntPtr
一个指针,它指向一个定义正在创建或销毁的页的结构。A pointer to a structure defining the page being created or destroyed.
返回值
uMsg 的值。The value of uMsg.
注解
有关通过 PropSheetPageProc 委托和 Microsoft 管理控制台 (MMC) 进行编程的详细信息,请参阅 Mmc 程序员指南。For more information about programming with the PropSheetPageProc delegate and the Microsoft Management Console (MMC), see the MMC Programmer's Guide.