ReactOS  0.4.15-dev-1386-g5cb9f87
SHChangeNotify.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define TEMP_FILE   "shell-notify-temporary.txt"
 
#define WM_SHELL_NOTIFY   (WM_USER + 100)
 
#define WM_GET_NOTIFY_FLAGS   (WM_USER + 101)
 
#define WM_CLEAR_FLAGS   (WM_USER + 102)
 
#define WM_SET_PATHS   (WM_USER + 103)
 

Typedefs

typedef enum TYPE TYPE
 

Enumerations

enum  TYPE {
  TYPE_None = 0, TYPE_Str, TYPE_U32, TYPE_RENAMEITEM,
  TYPE_CREATE, TYPE_DELETE, TYPE_MKDIR, TYPE_RMDIR,
  TYPE_UPDATEDIR, TYPE_UPDATEITEM, TYPE_RENAMEFOLDER
}
 

Functions

void DoInitPaths (void)
 

Variables

static WCHAR s_dir1 [MAX_PATH]
 
static WCHAR s_dir2 [MAX_PATH]
 
static WCHAR s_dir3 [MAX_PATH]
 
static WCHAR s_file1 [MAX_PATH]
 
static WCHAR s_file2 [MAX_PATH]
 

Macro Definition Documentation

◆ TEMP_FILE

#define TEMP_FILE   "shell-notify-temporary.txt"

Definition at line 3 of file SHChangeNotify.h.

◆ WM_CLEAR_FLAGS

#define WM_CLEAR_FLAGS   (WM_USER + 102)

Definition at line 19 of file SHChangeNotify.h.

◆ WM_GET_NOTIFY_FLAGS

#define WM_GET_NOTIFY_FLAGS   (WM_USER + 101)

Definition at line 18 of file SHChangeNotify.h.

◆ WM_SET_PATHS

#define WM_SET_PATHS   (WM_USER + 103)

Definition at line 20 of file SHChangeNotify.h.

◆ WM_SHELL_NOTIFY

#define WM_SHELL_NOTIFY   (WM_USER + 100)

Definition at line 17 of file SHChangeNotify.h.

Typedef Documentation

◆ TYPE

typedef enum TYPE TYPE

Enumeration Type Documentation

◆ TYPE

Enumerator
TYPE_None 
TYPE_Str 
TYPE_U32 
TYPE_RENAMEITEM 
TYPE_CREATE 
TYPE_DELETE 
TYPE_MKDIR 
TYPE_RMDIR 
TYPE_UPDATEDIR 
TYPE_UPDATEITEM 
TYPE_RENAMEFOLDER 

Definition at line 5 of file SHChangeNotify.h.

Function Documentation

◆ DoInitPaths()

void DoInitPaths ( void  )
inline

Definition at line 28 of file SHChangeNotify.h.

29 {
30  WCHAR szTemp[MAX_PATH], szPath[MAX_PATH];
31  GetTempPathW(_countof(szTemp), szTemp);
33 
35  PathAppendW(s_dir1, L"WatchDir1");
36 
38  PathAppendW(s_dir2, L"Dir2");
39 
41  PathAppendW(s_dir3, L"Dir3");
42 
44  PathAppendW(s_file1, L"File1.txt");
45 
47  PathAppendW(s_file2, L"File2.txt");
48 }
static WCHAR s_file1[MAX_PATH]
static WCHAR s_dir3[MAX_PATH]
static WCHAR s_dir2[MAX_PATH]
static WCHAR s_dir1[MAX_PATH]
BOOL WINAPI PathAppendW(LPWSTR lpszPath, LPCWSTR lpszAppend)
Definition: path.c:121
DWORD WINAPI GetTempPathW(IN DWORD count, OUT LPWSTR path)
Definition: path.c:2079
DWORD WINAPI GetLongPathNameW(IN LPCWSTR lpszShortPath, OUT LPWSTR lpszLongPath, IN DWORD cchBuffer)
Definition: path.c:1455
__wchar_t WCHAR
Definition: xmlstorage.h:180
#define _countof(array)
Definition: sndvol32.h:68
#define MAX_PATH
Definition: compat.h:34
static const WCHAR L[]
Definition: oid.c:1250
static WCHAR s_file2[MAX_PATH]
#define lstrcpyW
Definition: compat.h:608
LPCWSTR szPath
Definition: env.c:35

Referenced by DoInit(), and OnCreate().

Variable Documentation

◆ s_dir1

WCHAR s_dir1[MAX_PATH]
static

Definition at line 22 of file SHChangeNotify.h.

Referenced by DoAction8(), DoEnd(), DoInit(), DoInitPaths(), DoTestEntry(), and OnCreate().

◆ s_dir2

WCHAR s_dir2[MAX_PATH]
static

Definition at line 23 of file SHChangeNotify.h.

Referenced by DoAction1(), DoAction2(), DoAction3(), DoEnd(), and DoInitPaths().

◆ s_dir3

WCHAR s_dir3[MAX_PATH]
static

Definition at line 24 of file SHChangeNotify.h.

Referenced by DoAction3(), DoAction7(), DoEnd(), and DoInitPaths().

◆ s_file1

WCHAR s_file1[MAX_PATH]
static

Definition at line 25 of file SHChangeNotify.h.

Referenced by DoAction4(), DoAction5(), DoAction7(), DoEnd(), and DoInitPaths().

◆ s_file2

WCHAR s_file2[MAX_PATH]
static

Definition at line 26 of file SHChangeNotify.h.

Referenced by DoAction5(), DoAction6(), DoAction7(), DoEnd(), and DoInitPaths().