[pywin32-checkins] pywin32/win32/Lib winioctlcon.py,1.1,1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Roger U. <ru...@us...> - 2005-10-21 04:44:49
|
Update of /cvsroot/pywin32/pywin32/win32/Lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25807/win32/Lib Modified Files: winioctlcon.py Log Message: Use longs for hex values that trigger warning in 2.3 Index: winioctlcon.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/win32/Lib/winioctlcon.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** winioctlcon.py 18 Oct 2005 23:35:56 -0000 1.1 --- winioctlcon.py 21 Oct 2005 04:44:39 -0000 1.2 *************** *** 7,11 **** def DEVICE_TYPE_FROM_CTL_CODE(ctrlCode): ! return (ctrlCode & 0xffff0000) >> 16 FILE_DEVICE_BEEP = 0x00000001 --- 7,11 ---- def DEVICE_TYPE_FROM_CTL_CODE(ctrlCode): ! return (ctrlCode & 0xffff0000L) >> 16 FILE_DEVICE_BEEP = 0x00000001 *************** *** 94,98 **** MEDIA_READ_WRITE = 0x00000008 MEDIA_WRITE_PROTECTED = 0x00000100 ! MEDIA_CURRENTLY_MOUNTED = 0x80000000 IOCTL_DISK_BASE = FILE_DEVICE_DISK PARTITION_ENTRY_UNUSED = 0x00 --- 94,98 ---- MEDIA_READ_WRITE = 0x00000008 MEDIA_WRITE_PROTECTED = 0x00000100 ! MEDIA_CURRENTLY_MOUNTED = 0x80000000L IOCTL_DISK_BASE = FILE_DEVICE_DISK PARTITION_ENTRY_UNUSED = 0x00 *************** *** 203,218 **** CHANGER_DRIVE_EMPTY_ON_DOOR_ACCESS = 0x20000000 ! CHANGER_RESERVED_BIT = 0x80000000 ! CHANGER_PREDISMOUNT_ALIGN_TO_SLOT = 0x80000001 ! CHANGER_PREDISMOUNT_ALIGN_TO_DRIVE = 0x80000002 ! CHANGER_CLEANER_AUTODISMOUNT = 0x80000004 ! CHANGER_TRUE_EXCHANGE_CAPABLE = 0x80000008 ! CHANGER_SLOTS_USE_TRAYS = 0x80000010 ! CHANGER_RTN_MEDIA_TO_ORIGINAL_ADDR = 0x80000020 ! CHANGER_CLEANER_OPS_NOT_SUPPORTED = 0x80000040 ! CHANGER_IEPORT_USER_CONTROL_OPEN = 0x80000080 ! CHANGER_IEPORT_USER_CONTROL_CLOSE = 0x80000100 ! CHANGER_MOVE_EXTENDS_IEPORT = 0x80000200 ! CHANGER_MOVE_RETRACTS_IEPORT = 0x80000400 --- 203,218 ---- CHANGER_DRIVE_EMPTY_ON_DOOR_ACCESS = 0x20000000 ! CHANGER_RESERVED_BIT = 0x80000000L ! CHANGER_PREDISMOUNT_ALIGN_TO_SLOT = 0x80000001L ! CHANGER_PREDISMOUNT_ALIGN_TO_DRIVE = 0x80000002L ! CHANGER_CLEANER_AUTODISMOUNT = 0x80000004L ! CHANGER_TRUE_EXCHANGE_CAPABLE = 0x80000008L ! CHANGER_SLOTS_USE_TRAYS = 0x80000010L ! CHANGER_RTN_MEDIA_TO_ORIGINAL_ADDR = 0x80000020L ! CHANGER_CLEANER_OPS_NOT_SUPPORTED = 0x80000040L ! CHANGER_IEPORT_USER_CONTROL_OPEN = 0x80000080L ! CHANGER_IEPORT_USER_CONTROL_CLOSE = 0x80000100L ! CHANGER_MOVE_EXTENDS_IEPORT = 0x80000200L ! CHANGER_MOVE_RETRACTS_IEPORT = 0x80000400L *************** *** 248,252 **** ERROR_TRAY_MALFUNCTION = 0x00000010 ERROR_INIT_STATUS_NEEDED = 0x00000011 ! ERROR_UNHANDLED_ERROR = 0xFFFFFFFF SEARCH_ALL = 0x0 SEARCH_PRIMARY = 0x1 --- 248,252 ---- ERROR_TRAY_MALFUNCTION = 0x00000010 ERROR_INIT_STATUS_NEEDED = 0x00000011 ! ERROR_UNHANDLED_ERROR = 0xFFFFFFFFL SEARCH_ALL = 0x0 SEARCH_PRIMARY = 0x1 *************** *** 282,286 **** USN_REASON_REPARSE_POINT_CHANGE = 0x00100000 USN_REASON_STREAM_CHANGE = 0x00200000 ! USN_REASON_CLOSE = 0x80000000 USN_DELETE_FLAG_DELETE = 0x00000001 USN_DELETE_FLAG_NOTIFY = 0x00000002 --- 282,286 ---- USN_REASON_REPARSE_POINT_CHANGE = 0x00100000 USN_REASON_STREAM_CHANGE = 0x00200000 ! USN_REASON_CLOSE = 0x80000000L USN_DELETE_FLAG_DELETE = 0x00000001 USN_DELETE_FLAG_NOTIFY = 0x00000002 |