語言

PropSheetPageProc 代理人

定義

指定一個回調函式,當頁面建立及頁面即將被銷毀時,屬性表會呼叫它。

此 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

保留;必須是空(Visual Basic 中沒有)。

uMsg
Int32

一個動作旗標,表示正在建立或刪除該頁面的對話框。

lParam
IntPtr

nativeint

指向定義頁面建立或銷毀的結構的指標。

傳回值

uMsg的價值。

備註

欲了解更多關於與 PropSheetPageProc 代表及 Microsoft Management Console(MMC)進行程式設計的資訊,請參閱 MMC 程式設計師指南。

適用於