WM_FILECHANGEINFO (Compact 2013)

3/28/2014

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

See Also

Reference

Shell Messages
SendNotifyMessage
FILECHANGENOTIFY
SHChangeNotifyRegister