Contents Index Topic Contents | ||
Previous Topic: ScreenSaverConfigureDialog Next Topic: SetMenuContextHelpId |
ScreenSaverProc
Receives messages sent to the specified screen saver window.
Syntax
LONG ScreenSaverProc( HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam );Parameters
- hWnd
- Identifier of the window.
- message
- Message sent to the screen saver window.
- wParam
- Additional message-specific information.
- lParam
- Additional message-specific information.
Return Value
The return value is the result of the message processing and depends on the message sent.
Remarks
A screen saver's ScreenSaverProc window procedure should use the DefScreenSaverProc function instead of the DefWindowProc function to provide default message processing. The DefScreenSaverProc function passes any messages that do not affect screen saver operations to DefWindowProc.
The ScreenSaverProc function must be exported by including it in the EXPORTS statement in the application's module-definition (.def) file.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.