PropSheetPageProc 代理人

定義

指定回呼函式 (Callback Function),屬性工作表 (Property Sheet) 會在頁面建立時以及即將被終結時呼叫該函式。

此 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

nativeint

已保留,必須為 Null (Visual Basic 中的 Nothing)。

uMsg
Int32

動作旗標,指定正在建立頁面或頁面的動作方塊,或頁面正在被終結。

lParam
IntPtr

nativeint

結構的指標,該結構定義正在建立或被終結的頁面。

傳回值

uMsg 的值。

備註

如需使用 PropSheetPageProc 委派和 Microsoft Management Console (MMC) 進行程式設計的詳細資訊,請參閱 MMC 程式設計人員指南

適用於