📄 winapi.txt
字号:
public const int SUBLANG_ENGLISH_AUS = H3
public const int SUBLANG_ENGLISH_CAN = H4
public const int SUBLANG_ENGLISH_NZ = H5
public const int SUBLANG_ENGLISH_EIRE = H6
public const int SUBLANG_FRENCH = H1
public const int SUBLANG_FRENCH_BELGIAN = H2
public const int SUBLANG_FRENCH_CANADIAN = H3
public const int SUBLANG_FRENCH_SWISS = H4
public const int SUBLANG_GERMAN = H1
public const int SUBLANG_GERMAN_SWISS = H2
public const int SUBLANG_GERMAN_AUSTRIAN = H3
public const int SUBLANG_ITALIAN = H1
public const int SUBLANG_ITALIAN_SWISS = H2
public const int SUBLANG_NORWEGIAN_BOKMAL = H1
public const int SUBLANG_NORWEGIAN_NYNORSK = H2
public const int SUBLANG_PORTUGUESE = H2
public const int SUBLANG_PORTUGUESE_BRAZILIAN = H1
public const int SUBLANG_SPANISH = H1
public const int SUBLANG_SPANISH_MEXICAN = H2
public const int SUBLANG_SPANISH_MODERN = H3
public const int SORT_DEFAULT = H0
public const int SORT_JAPANESE_XJIS = H0
public const int SORT_JAPANESE_UNICODE = H1
public const int SORT_CHINESE_BIG5 = H0
public const int SORT_CHINESE_UNICODE = H1
public const int SORT_KOREAN_KSC = H0
public const int SORT_KOREAN_UNICODE = H1
public const int FILE_READ_DATA = ( H1)
public const int FILE_LIST_DIRECTORY = ( H1)
public const int FILE_WRITE_DATA = ( H2)
public const int FILE_ADD_FILE = ( H2)
public const int FILE_APPEND_DATA = ( H4)
public const int FILE_ADD_SUBDIRECTORY = ( H4)
public const int FILE_CREATE_PIPE_INSTANCE = ( H4)
public const int FILE_READ_EA = ( H8)
public const int FILE_READ_PROPERTIES = FILE_READ_EA
public const int FILE_WRITE_EA = ( H10)
public const int FILE_WRITE_PROPERTIES = FILE_WRITE_EA
public const int FILE_EXECUTE = ( H20)
public const int FILE_TRAVERSE = ( H20)
public const int FILE_DELETE_CHILD = ( H40)
public const int FILE_READ_ATTRIBUTES = ( H80)
public const int FILE_WRITE_ATTRIBUTES = ( H100)
public const int FILE_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or H1FF)
public const int FILE_GENERIC_READ = (STANDARD_RIGHTS_READ Or FILE_READ_DATA Or FILE_READ_ATTRIBUTES Or FILE_READ_EA Or SYNCHRONIZE)
public const int FILE_GENERIC_WRITE = (STANDARD_RIGHTS_WRITE Or FILE_WRITE_DATA Or FILE_WRITE_ATTRIBUTES Or FILE_WRITE_EA Or FILE_APPEND_DATA Or SYNCHRONIZE)
public const int FILE_GENERIC_EXECUTE = (STANDARD_RIGHTS_EXECUTE Or FILE_READ_ATTRIBUTES Or FILE_EXECUTE Or SYNCHRONIZE)
public const int FILE_SHARE_READ = H1
public const int FILE_SHARE_WRITE = H2
public const int FILE_ATTRIBUTE_READONLY = H1
public const int FILE_ATTRIBUTE_HIDDEN = H2
public const int FILE_ATTRIBUTE_SYSTEM = H4
public const int FILE_ATTRIBUTE_DIRECTORY = H10
public const int FILE_ATTRIBUTE_ARCHIVE = H20
public const int FILE_ATTRIBUTE_NORMAL = H80
public const int FILE_ATTRIBUTE_TEMPORARY = H100
public const int FILE_ATTRIBUTE_COMPRESSED = H800
public const int FILE_NOTIFY_CHANGE_FILE_NAME = H1
public const int FILE_NOTIFY_CHANGE_DIR_NAME = H2
public const int FILE_NOTIFY_CHANGE_ATTRIBUTES = H4
public const int FILE_NOTIFY_CHANGE_SIZE = H8
public const int FILE_NOTIFY_CHANGE_LAST_WRITE = H10
public const int FILE_NOTIFY_CHANGE_SECURITY = H100
public const int MAILSLOT_NO_MESSAGE = (-1)
public const int MAILSLOT_WAIT_FOREVER = (-1)
public const int FILE_CASE_SENSITIVE_SEARCH = H1
public const int FILE_CASE_PRESERVED_NAMES = H2
public const int FILE_UNICODE_ON_DISK = H4
public const int FILE_PERSISTENT_ACLS = H8
public const int FILE_FILE_COMPRESSION = H10
public const int FILE_VOLUME_IS_COMPRESSED = H8000
public const int IO_COMPLETION_MODIFY_STATE = H2
public const int IO_COMPLETION_ALL_ACCESS = (STANDARD_RIGHTS_REQUIRED Or SYNCHRONIZE Or H3)
public const int DUPLICATE_CLOSE_SOURCE = H1
public const int DUPLICATE_SAME_ACCESS = H2
public const int ACCESS_SYSTEM_SECURITY = H1000000
public const int MAXIMUM_ALLOWED = H2000000
public const int GENERIC_READ = H80000000
public const int GENERIC_WRITE = H40000000
public const int GENERIC_EXECUTE = H20000000
public const int GENERIC_ALL = H10000000
public const int ACL_REVISION = (2)
public const int ACL_REVISION1 = (1)
public const int ACL_REVISION2 = (2)
public const int ACCESS_ALLOWED_ACE_TYPE = H0
public const int ACCESS_DENIED_ACE_TYPE = H1
public const int SYSTEM_AUDIT_ACE_TYPE = H2
public const int SYSTEM_ALARM_ACE_TYPE = H3
public const int OBJECT_INHERIT_ACE = H1
public const int CONTAINER_INHERIT_ACE = H2
public const int NO_PROPAGATE_INHERIT_ACE = H4
public const int INHERIT_ONLY_ACE = H8
public const int VALID_INHERIT_FLAGS = HF
public const int SUCCESSFUL_ACCESS_ACE_FLAG = H40
public const int FAILED_ACCESS_ACE_FLAG = H80
public const int SECURITY_DESCRIPTOR_REVISION = (1)
public const int SECURITY_DESCRIPTOR_REVISION1 = (1)
public const int SECURITY_DESCRIPTOR_MIN_LENGTH = (20)
public const int SE_OWNER_DEFAULTED = H1
public const int SE_GROUP_DEFAULTED = H2
public const int SE_DACL_PRESENT = H4
public const int SE_DACL_DEFAULTED = H8
public const int SE_SACL_PRESENT = H10
public const int SE_SACL_DEFAULTED = H20
public const int SE_SELF_RELATIVE = H8000
public const int SE_PRIVILEGE_ENABLED_BY_DEFAULT = H1
public const int SE_PRIVILEGE_ENABLED = H2
public const int SE_PRIVILEGE_USED_FOR_ACCESS = H80000000
public const int PRIVILEGE_SET_ALL_NECESSARY = (1)
public const int SE_CREATE_TOKEN_NAME = "SeCreateTokenPrivilege"
public const int SE_ASSIGNPRIMARYTOKEN_NAME = "SeAssignPrimaryTokenPrivilege"
public const int SE_LOCK_MEMORY_NAME = "SeLockMemoryPrivilege"
public const int SE_INCREASE_QUOTA_NAME = "SeIncreaseQuotaPrivilege"
public const int SE_UNSOLICITED_INPUT_NAME = "SeUnsolicitedInputPrivilege"
public const int SE_MACHINE_ACCOUNT_NAME = "SeMachineAccountPrivilege"
public const int SE_TCB_NAME = "SeTcbPrivilege"
public const int SE_SECURITY_NAME = "SeSecurityPrivilege"
public const int SE_TAKE_OWNERSHIP_NAME = "SeTakeOwnershipPrivilege"
public const int SE_LOAD_DRIVER_NAME = "SeLoadDriverPrivilege"
public const int SE_SYSTEM_PROFILE_NAME = "SeSystemProfilePrivilege"
public const int SE_SYSTEMTIME_NAME = "SeSystemtimePrivilege"
public const int SE_PROF_SINGLE_PROCESS_NAME = "SeProfileSingleProcessPrivilege"
public const int SE_INC_BASE_PRIORITY_NAME = "SeIncreaseBasePriorityPrivilege"
public const int SE_CREATE_PAGEFILE_NAME = "SeCreatePagefilePrivilege"
public const int SE_CREATE_PERMANENT_NAME = "SeCreatePermanentPrivilege"
public const int SE_BACKUP_NAME = "SeBackupPrivilege"
public const int SE_RESTORE_NAME = "SeRestorePrivilege"
public const int SE_SHUTDOWN_NAME = "SeShutdownPrivilege"
public const int SE_DEBUG_NAME = "SeDebugPrivilege"
public const int SE_AUDIT_NAME = "SeAuditPrivilege"
public const int SE_SYSTEM_ENVIRONMENT_NAME = "SeSystemEnvironmentPrivilege"
public const int SE_CHANGE_NOTIFY_NAME = "SeChangeNotifyPrivilege"
public const int SE_REMOTE_SHUTDOWN_NAME = "SeRemoteShutdownPrivilege"
public const int SecurityAnonymous = 1
public const int SecurityIdentification = 2
public const int REG_NONE = 0 // No value type
public const int REG_SZ = 1 // Unicode nul terminated string
public const int REG_EXPAND_SZ = 2 // Unicode nul terminated string
public const int REG_BINARY = 3 // Free form binary
public const int REG_DWORD = 4 // 32-bit number
public const int REG_DWORD_LITTLE_ENDIAN = 4 // 32-bit number (same as REG_DWORD)
public const int REG_DWORD_BIG_ENDIAN = 5 // 32-bit number
public const int REG_LINK = 6 // Symbolic Link (unicode)
public const int REG_MULTI_SZ = 7 // Multiple Unicode strings
public const int REG_RESOURCE_LIST = 8 // Resource list in the resource map
public const int REG_FULL_RESOURCE_DESCRIPTOR = 9 // Resource list in the hardware description
public const int REG_RESOURCE_REQUIREMENTS_LIST = 10
public const int REG_CREATED_NEW_KEY = H1 // New Registry Key created
public const int REG_OPENED_EXISTING_KEY = H2 // Existing Key opened
public const int REG_WHOLE_HIVE_VOLATILE = H1 // Restore whole hive volatile
public const int REG_REFRESH_HIVE = H2 // Unwind changes to last flush
public const int REG_NOTIFY_CHANGE_NAME = H1 // Create or delete (child)
public const int REG_NOTIFY_CHANGE_ATTRIBUTES = H2
public const int REG_NOTIFY_CHANGE_LAST_SET = H4 // Time stamp
public const int REG_NOTIFY_CHANGE_SECURITY = H8
public const int REG_LEGAL_CHANGE_FILTER = (REG_NOTIFY_CHANGE_NAME Or REG_NOTIFY_CHANGE_ATTRIBUTES Or REG_NOTIFY_CHANGE_LAST_SET Or REG_NOTIFY_CHANGE_SECURITY)
public const int REG_LEGAL_OPTION = (REG_OPTION_RESERVED Or REG_OPTION_NON_VOLATILE Or REG_OPTION_VOLATILE Or REG_OPTION_CREATE_LINK Or REG_OPTION_BACKUP_RESTORE)
public const int REG_OPTION_RESERVED = 0 // Parameter is reserved
public const int REG_OPTION_NON_VOLATILE = 0 // Key is preserved when system is rebooted
public const int REG_OPTION_VOLATILE = 1 // Key is not preserved when system is rebooted
public const int REG_OPTION_CREATE_LINK = 2 // Created key is a symbolic link
public const int REG_OPTION_BACKUP_RESTORE = 4 // open for backup or restore
public const int KEY_QUERY_VALUE = H1
public const int KEY_SET_VALUE = H2
public const int KEY_CREATE_SUB_KEY = H4
public const int KEY_ENUMERATE_SUB_KEYS = H8
public const int KEY_NOTIFY = H10
public const int KEY_CREATE_LINK = H20
public const int KEY_READ = ((STANDARD_RIGHTS_READ Or KEY_QUERY_VALUE Or KEY_ENUMERATE_SUB_KEYS Or KEY_NOTIFY) And (Not SYNCHRONIZE))
public const int KEY_WRITE = ((STANDARD_RIGHTS_WRITE Or KEY_SET_VALUE Or KEY_CREATE_SUB_KEY) And (Not SYNCHRONIZE))
public const int KEY_ALL_ACCESS = ((STANDARD_RIGHTS_ALL Or KEY_QUERY_VALUE Or KEY_SET_VALUE Or KEY_CREATE_SUB_KEY Or KEY_ENUMERATE_SUB_KEYS Or KEY_NOTIFY Or KEY_CREATE_LINK) And (Not SYNCHRONIZE))
public const int KEY_EXECUTE = ((KEY_READ) And (Not SYNCHRONIZE))
public const int EXCEPTION_DEBUG_EVENT = 1
public const int CREATE_THREAD_DEBUG_EVENT = 2
public const int CREATE_PROCESS_DEBUG_EVENT = 3
public const int EXIT_THREAD_DEBUG_EVENT = 4
public const int EXIT_PROCESS_DEBUG_EVENT = 5
public const int LOAD_DLL_DEBUG_EVENT = 6
public const int UNLOAD_DLL_DEBUG_EVENT = 7
public const int OUTPUT_DEBUG_STRING_EVENT = 8
public const int RIP_EVENT = 9
public const int EXCEPTION_MAXIMUM_PARAMETERS = 15
public const int DRIVE_REMOVABLE = 2
public const int DRIVE_FIXED = 3
public const int DRIVE_REMOTE = 4
public const int DRIVE_CDROM = 5
public const int DRIVE_RAMDISK = 6
public const int FILE_TYPE_UNKNOWN = H0
public const int FILE_TYPE_DISK = H1
public const int FILE_TYPE_CHAR = H2
public const int FILE_TYPE_PIPE = H3
public const int FILE_TYPE_REMOTE = H8000
public const int STD_INPUT_HANDLE = -10
public const int STD_OUTPUT_HANDLE = -11
public const int STD_ERROR_HANDLE = -12
public const int NOPARITY = 0
public const int ODDPARITY = 1
public const int EVENPARITY = 2
public const int MARKPARITY = 3
public const int SPACEPARITY = 4
public const int ONESTOPBIT = 0
public const int ONE5STOPBITS = 1
public const int TWOSTOPBITS = 2
public const int IGNORE = 0
public const int INFINITE = HFFFF
public const int CBR_110 = 110
public const int CBR_300 = 300
public const int CBR_600 = 600
public const int CBR_1200 = 1200
public const int CBR_2400 = 2400
public const int CBR_4800 = 4800
public const int CBR_9600 = 9600
public const int CBR_14400 = 14400
public const int CBR_19200 = 19200
public const int CBR_38400 = 38400
public const int CBR_56000 = 56000
public const int CBR_57600 = 57600
public const int CBR_115200 = 115200
public const int CBR_128000 = 128000
public const int CBR_256000 = 256000
public const int CE_RXOVER = H1 // Receive Queue overflow
public const int CE_OVERRUN = H2 // Receive Overrun Error
public const int CE_RXPARITY = H4 // Receive Parity Error
public const int CE_FRAME = H8 // Receive Framing error
public const int CE_BREAK = H10 // Break Detected
public const int CE_TXFULL = H100 // TX Queue is full
public const int CE_PTO = H200 // LPTx Timeout
public const int CE_IOE = H400 // LPTx I/O Error
public const int CE_DNS = H800 // LPTx Device not selected
public const int CE_OOP = H1000 // LPTx Out-Of-Paper
public const int CE_MODE = H8000 // Requested mode unsupported
public const int IE_BADID = (-1) // Invalid or unsupported id
public const int IE_OPEN = (-2) // Device Already Open
public const int IE_NOPEN = (-3) // Device Not Open
public const int IE_MEMORY = (-4) // Unable to allocate queues
public const int IE_DEFAULT = (-5) // Error in default parameters
public const int IE_HARDWARE = (-10) // Hardware Not Present
public const int IE_BYTESIZE = (-11) // Illegal Byte Size
public const int IE_BAUDRATE = (-12) // Unsupported BaudRate
public const int EV_RXCHAR = H1 // Any Character received
public const int EV_RXFLAG = H2 // Received certain character
public const int EV_TXEMPTY = H4 // Transmitt Queue Empty
public const int EV_CTS = H8 // CTS changed state
public const int EV_DSR = H10 // DSR changed state
public const int EV_RLSD = H20 // RLSD changed state
public const int EV_BREAK = H40 // BREAK received
public const int EV_ERR = H80 // Line status error occurred
public const int EV_RING = H100 // Ring signal detected
public const int EV_PERR = H200 // Printer error occured
public const int EV_RX80FULL = H400 // Receive buffer is 80 percent full
public const int EV_EVENT1 = H800 // Provider specific event 1
public const int EV_EVENT2 = H1000 // Provider specific event 2
public const int SETXOFF = 1 // Simulate XOFF received
public const int SETXON = 2 // Simulate XON received
public const int SETRTS = 3 // Set RTS high
public const int CLRRTS = 4 // Set RTS low
public const int SETDTR = 5 // Set DTR high
public const int CLRDTR = 6 // Set DTR low
public const int RESETDEV = 7 // Reset device if possible
public const int SETBREAK = 8 //Set the device break line
public const int CLRBREAK = 9 // Clear the device break line
public const int PURGE_TXABORT = H1 // Kill the pending/current writes to the comm port.
public const int PURGE_RXABORT = H2 // Kill the pending/current reads to the comm port.
public const int PURGE_TXCLEAR = H4 // Kill the transmit queue if there.
public const int PURGE_RXCLEAR = H8 // Kill the typeahead buffer if there.
public const int LPTx = H80 // Set if ID is for LPT device
public const int MS_CTS_ON = H10
public const int MS_DSR_ON = H20
public const int MS_RING_ON = H40
public const int MS_RLSD_ON = H80
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -