Share via


SHChangeNotifyRegister

Windows Mobile SupportedWindows Embedded CE Supported

9/9/2008

Essa função inscreve uma janela para receber notificações alteração.

Syntax

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

Parameters

  • pshcne
    [no] Ponteiro para um SHCHANGENOTIFYENTRY estrutura identifica os tipos de eventos para o qual a janela deve receber notificações alteração. Definir como NULL e a janela receberá todos os sistema de arquivos, rede e notificações de mídia.

Return Value

Essa função retorna FALSE quando ele falhar.

Remarks

Para todas as plataformas

SHChangeNotifyRegister não reconhece as notificações recursivo.

Para Mobile Windows

For this structure is defined in the Shlobj.h arquivo cabeçalho e ceshell.lib DLL.

Requirements

Header aygshell.h
Library aygshell.lib
Windows Embedded CE Windows CE .NET 4.2 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

FILECHANGENOTIFY
SHCHANGENOTIFYENTRY
SHChangeNotifyDeregister
SHChangeNotifyRegister
WM_FILECHANGEINFO