Compartir a través de


PropSheetPageProc (Windows Embedded CE 6.0)

1/6/2010

This function is an application-defined callback function that a property sheet calls when a page is created and when it is about to be destroyed. An application can use PropSheetPageProc to perform initialization and cleanup operations for the page.

Syntax

UINT CALLBACK PropSheetPageProc(
  HWND hwnd, 
  UINT uMsg, 
  LPPROPSHEETPAGE ppsp 
);

Parameters

  • hwnd
    [in] Reserved; set to NULL.
  • uMsg
    [in] Action flag. It is one of the following values.

    Value Description

    PSPCB_CREATE

    A page is being created. Return nonzero to allow the page to be created, or zero to prevent it.

    PSPCB_RELEASE

    A page is being destroyed. The return value is ignored.

  • ppsp
    [in] Pointer to a PROPSHEETPAGE structure that defines the page being created or destroyed.

Return Value

The return value depends on the value of uMsg.

Remarks

An application must specify the address of this callback function in the pfnCallback member of a PROPSHEETPAGE structure before specifying the address of the structure in a call to the CreatePropertySheetPage function.

Requirements

Header prsht.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Property Sheets Functions
CreatePropertySheetPage
PROPSHEETPAGE