|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| No
| Win32s
| No
| Import Library
| user-defined
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| HOOKPROC
|
|
|
ForegroundIdleProc
The ForegroundIdleProc hook procedure is an application-defined callback function the system calls
whenever the 32-bit foreground thread is about to become idle.
DWORD ForegroundIdleProc(
int code,
| // hook code
| DWORD wParam,
| // not used
| LONG lParam
| // not used
| );
|
|
Parameters
code
Specifies whether the hook procedure must process the message. If code is HC_ACTION, the hook procedure must process the message. If code is less than zero, the hook procedure must pass the message to the CallNextHookEx function without further processing and should return the value returned by CallNextHookEx.
wParam
Not used.
lParam
Not used.
Remarks
An application installs this hook procedure by specifying the
WH_FOREGROUNDIDLE hook type and the pointer to the hook procedure in a call to the SetWindowsHookEx function.
ForegroundIdleProc is a placeholder for the application-defined function name.
This is a thread-specific hook.
See Also
CallNextHookEx, SetWindowsHookEx
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|