|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| scrnsave.lib
| Header File
| scrnsave.h
| Unicode
| No
| Platform Notes
| None
|
|
|
ScreenSaverProc
The ScreenSaverProc function receives messages sent to the specified screen saver window.
LONG ScreenSaverProc(
HWND hWnd,
| // handle of screen saver window
| UINT message,
| // message
| WPARAM wParam,
| // first message parameter
| LPARAM lParam
| // second message parameter
| );
|
|
Parameters
hWnd
Identifies the window.
message
Specifies the message.
wParam
Specifies additional message-specific information.
lParam
Specifies additional message-specific information.
Return Values
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.
See Also
DefScreenSaverProc, DefWindowProc
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|