Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1.06 KB

cpsui-message-handler.md

File metadata and controls

18 lines (13 loc) · 1.06 KB
title description keywords ms.date
CPSUI Message Handler
CPSUI Message Handler
page event callbacks WDK CPSUI
event callbacks WDK CPSUI
01/27/2023

CPSUI Message Handler

[!includePrint Support Apps]

A CPSUI message handler is a callback function that is defined using the _CPSUICALLBACK function type. This type of page event callback is recommended if you are using CPSUI-supplied pages and templates.

When a user interacts with a property sheet page and causes an event to occur, CPSUI intercepts the event and calls the _CPSUICALLBACK-typed function, supplying a CPSUICBPARAM structure that describes the reason the callback function is being called.

The callback function must handle the event, and then return a status value to CPSUI that indicates if the page needs to be redisplayed or reinitialized.