次の方法で共有


WM_FILECHANGEINFO (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

AYGShell Messages
SendNotifyMessage
FILECHANGENOTIFY
SHChangeNotifyRegister