SHChangeNotifyRegister (Compact 2013)

3/28/2014

Enlists a window for receiving change notifications.

Syntax

BOOL WINAPI SHChangeNotifyRegister(
  HWND hwnd,
  SHCHANGENOTIFYENTRY * pshcne
);

Parameters

  • pshcne
    [in] Pointer to a SHCHANGENOTIFYENTRY structure identifying the types of events for which the window should receive change notifications. Set to NULL and the window will receive all file system, network, and media notifications.

Return Value

This function returns FALSE when it fails.

Remarks

SHChangeNotifyRegister does not recognize recursive notifications.

Requirements

Header

aygshell.h

Library

aygshell.lib

See Also

Reference

Shell Functions
FILECHANGENOTIFY
SHCHANGENOTIFYENTRY
SHChangeNotifyDeregister
WM_FILECHANGEINFO