open-insight/SYSPROG/STPROCINS/MSWIN_FILENOTIFY_EQUATES.txt
2024-03-25 15:17:34 -07:00

49 lines
2.1 KiB
Plaintext

compile insert msWin_FileNotify_Equates
/*
** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved **
Author Mr C
Date Aug 2013
Purpose Equates for use with the Windows ReadDirectoryChangesW functions
Comments
========
The FILE_NOTIFY_ constants below can be used with the DIRWATCHER WATCHDIR
method.
Amended Date Reason
======= ==== ======
*/
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
#ifndef _MSWIN_FILENOTIFY_EQUATES_
#define _MSWIN_FILENOTIFY_EQUATES_
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
equ FILE_NOTIFY_CHANGE_FILE_NAME$ to 0x00000001
equ FILE_NOTIFY_CHANGE_DIR_NAME$ to 0x00000002
equ FILE_NOTIFY_CHANGE_ATTRIBUTES$ to 0x00000004
equ FILE_NOTIFY_CHANGE_SIZE$ to 0x00000008
equ FILE_NOTIFY_CHANGE_LAST_WRITE$ to 0x00000010
equ FILE_NOTIFY_CHANGE_LAST_ACCESS$ to 0x00000020
equ FILE_NOTIFY_CHANGE_CREATION$ to 0x00000040
equ FILE_NOTIFY_CHANGE_SECURITY$ to 0x00000100
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
equ FILE_ACTION_ADDED$ to 0x00000001
equ FILE_ACTION_REMOVED$ to 0x00000002
equ FILE_ACTION_MODIFIED$ to 0x00000003
equ FILE_ACTION_RENAMED_OLD_NAME$ to 0x00000004
equ FILE_ACTION_RENAMED_NEW_NAME$ to 0x00000005
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
#endif
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////