ReactOS  0.4.15-dev-5499-g1341c38
CChangeNotifyServer.h File Reference
#include <shlwapi_undoc.h>
Include dependency graph for CChangeNotifyServer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DELITICKET
 
struct  REGENTRY
 
struct  HANDBAG
 

Macros

#define INVALID_REG_ID   0 /* invalid registration ID */
 
#define WM_DESKTOP_GET_CNOTIFY_SERVER   (WM_USER + 25) /* 0x419 */
 
#define CN_REGISTER   (WM_USER + 1) /* 0x401 */
 
#define CN_UNREGISTER   (WM_USER + 2) /* 0x402 */
 
#define CN_DELIVER_NOTIFICATION   (WM_USER + 3) /* 0x403 */
 
#define CN_SUSPEND_RESUME   (WM_USER + 6) /* 0x406 */
 
#define CN_UNREGISTER_PROCESS   (WM_USER + 7) /* 0x407 */
 
#define WM_BROKER_NOTIFICATION   (WM_USER + 1) /* 0x401 */
 
#define DWORD_ALIGNMENT(offset)   ((((offset) + sizeof(DWORD) - 1) / sizeof(DWORD)) * sizeof(DWORD))
 
#define DELITICKET_MAGIC   0xDEADFACE
 
#define REGENTRY_MAGIC   0xB0B32D1E
 
#define HANDBAG_MAGIC   0xFACEB00C
 
#define WORKER_STYLE   (WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN)
 
#define WORKER_EXSTYLE   WS_EX_TOOLWINDOW
 

Typedefs

typedef struct DELITICKET DELITICKET
 
typedef struct DELITICKETLPDELITICKET
 
typedef struct REGENTRY REGENTRY
 
typedef struct REGENTRYLPREGENTRY
 
typedef struct HANDBAG HANDBAG
 
typedef struct HANDBAGLPHANDBAG
 
typedef CWinTraits< WORKER_STYLE, WORKER_EXSTYLECWorkerTraits
 

Functions

HRESULT CChangeNotifyServer_CreateInstance (REFIID riid, void **ppv)
 
HWND SHCreateDefaultWorkerWindow (VOID)
 

Macro Definition Documentation

◆ CN_DELIVER_NOTIFICATION

#define CN_DELIVER_NOTIFICATION   (WM_USER + 3) /* 0x403 */

Definition at line 43 of file CChangeNotifyServer.h.

◆ CN_REGISTER

#define CN_REGISTER   (WM_USER + 1) /* 0x401 */

Definition at line 41 of file CChangeNotifyServer.h.

◆ CN_SUSPEND_RESUME

#define CN_SUSPEND_RESUME   (WM_USER + 6) /* 0x406 */

Definition at line 44 of file CChangeNotifyServer.h.

◆ CN_UNREGISTER

#define CN_UNREGISTER   (WM_USER + 2) /* 0x402 */

Definition at line 42 of file CChangeNotifyServer.h.

◆ CN_UNREGISTER_PROCESS

#define CN_UNREGISTER_PROCESS   (WM_USER + 7) /* 0x407 */

Definition at line 45 of file CChangeNotifyServer.h.

◆ DELITICKET_MAGIC

#define DELITICKET_MAGIC   0xDEADFACE

Definition at line 89 of file CChangeNotifyServer.h.

◆ DWORD_ALIGNMENT

#define DWORD_ALIGNMENT (   offset)    ((((offset) + sizeof(DWORD) - 1) / sizeof(DWORD)) * sizeof(DWORD))

Definition at line 50 of file CChangeNotifyServer.h.

◆ HANDBAG_MAGIC

#define HANDBAG_MAGIC   0xFACEB00C

Definition at line 91 of file CChangeNotifyServer.h.

◆ INVALID_REG_ID

#define INVALID_REG_ID   0 /* invalid registration ID */

Definition at line 32 of file CChangeNotifyServer.h.

◆ REGENTRY_MAGIC

#define REGENTRY_MAGIC   0xB0B32D1E

Definition at line 90 of file CChangeNotifyServer.h.

◆ WM_BROKER_NOTIFICATION

#define WM_BROKER_NOTIFICATION   (WM_USER + 1) /* 0x401 */

Definition at line 48 of file CChangeNotifyServer.h.

◆ WM_DESKTOP_GET_CNOTIFY_SERVER

#define WM_DESKTOP_GET_CNOTIFY_SERVER   (WM_USER + 25) /* 0x419 */

Definition at line 36 of file CChangeNotifyServer.h.

◆ WORKER_EXSTYLE

#define WORKER_EXSTYLE   WS_EX_TOOLWINDOW

Definition at line 96 of file CChangeNotifyServer.h.

◆ WORKER_STYLE

#define WORKER_STYLE   (WS_POPUP | WS_CLIPSIBLINGS | WS_CLIPCHILDREN)

Definition at line 95 of file CChangeNotifyServer.h.

Typedef Documentation

◆ CWorkerTraits

Definition at line 98 of file CChangeNotifyServer.h.

◆ DELITICKET

◆ HANDBAG

◆ LPDELITICKET

◆ LPHANDBAG

◆ LPREGENTRY

◆ REGENTRY

Function Documentation

◆ CChangeNotifyServer_CreateInstance()

HRESULT CChangeNotifyServer_CreateInstance ( REFIID  riid,
void **  ppv 
)

Definition at line 476 of file CChangeNotifyServer.cpp.

477 {
478  return ShellObjectCreatorInit<CChangeNotifyServer>(riid, ppv);
479 }
REFIID riid
Definition: precomp.h:44
REFIID LPVOID * ppv
Definition: atlbase.h:39

Referenced by CDesktopBrowser::OnGetChangeNotifyServer().

◆ SHCreateDefaultWorkerWindow()

HWND SHCreateDefaultWorkerWindow ( VOID  )
inline

Definition at line 100 of file CChangeNotifyServer.h.

101 {
103 }
#define WORKER_EXSTYLE
#define NULL
Definition: types.h:112
#define WORKER_STYLE
HWND WINAPI SHCreateWorkerWindowW(WNDPROC wndProc, HWND hWndParent, DWORD dwExStyle, DWORD dwStyle, HMENU hMenu, LONG_PTR wnd_extra)
Definition: ordinal.c:2918

Referenced by CreateNotificationBroker(), and CChangeNotifyServer::Initialize().