Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This notification message is sent by SendNotifyMessagefrom the shell to the window that was registered with SHChangeNotifyRegister.

A window receives this message through its WindowProcfunction.

The following prototype code is an example of a callback function WindowProcto 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 SHChangeNotifyRegisterfunction and will receive the WM_FILECHANGEINFO message.

msg

Window message that is sent by SendNotifyMessagefrom the shell.

wParam

This parameter is reserved for future use; the value of this parameter must be set to 0.

lParam

Pointer to a FILECHANGENOTIFYstructure 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

See Also