SHChangeNotifyRegister (Compact 2013)
Enlists a window for receiving change notifications.
BOOL WINAPI SHChangeNotifyRegister( HWND hwnd, SHCHANGENOTIFYENTRY * pshcne );
[in] Handle to the window that will receive the WM_FILECHANGEINFO message.
[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.
This function returns FALSE when it fails.
SHChangeNotifyRegister does not recognize recursive notifications.