A version of this page is also available for
4/8/2010
This notification message is sent by SendNotifyMessage from the shell to the window that was registered with SHChangeNotifyRegister.
A window receives this message through its WindowProc function.
The following prototype code is an example of a callback function WindowProc to handle the change notification message.
Syntax
LRESULT CALLBACK WindowProc(
HWND hwnd,
UINT msg,
WPARAM wParam,
LPARAM lParam
);
Parameters
- hwnd
Handle to the window that was registered with the SHChangeNotifyRegister function and will receive the WM_FILECHANGEINFO message.
- msg
Window message that is sent by SendNotifyMessage from the shell.
- wParam
This parameter is reserved for future use; the value of this parameter must be set to 0.
- lParam
Pointer to a FILECHANGENOTIFY structure containing all of the relevant data.
Requirements
| Header | shlobj.h |
| Library | ceshell.lib |
| Windows Embedded CE | Windows CE 3.0 and later |
| Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |