Share via


SHChangeNotifyRegister (Windows CE 5.0)

Send Feedback

This function enlists a window for receiving change notifications.

Syntax

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

Parameters

  • hwnd
    [in] Handle to the window that will receive the WM_FILECHANGEINFO message.
  • 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 Values

This function returns FALSE when it fails.

Remarks

SHChangeNotifyRegister does not recognize recursive notifications.

Requirements

Requirements

OS Versions: Windows CE .NET 4.2 and later
Header: aygshell.h.
Link Library: aygshell.lib.

Windows Mobile Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: shlobj.h
Library: ceshell.lib

See Also

FILECHANGENOTIFY | SHCHANGENOTIFYENTRY | SHChangeNotifyDeregister | SHChangeNotifyRegister | WM_FILECHANGEINFO

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.