📄 winerror.inc
字号:
;*************************************************************************
; *
; winerror.h -- error code definitions for the Win32 API functions *
; *
; Copyright (c) Microsoft Corp. All rights reserved. *
; *
;*************************************************************************
;
; Values are 32 bit values layed out as follows:
;
; 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
; 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
; +---+-+-+-----------------------+-------------------------------+
; |Sev|C|R| Facility | Code |
; +---+-+-+-----------------------+-------------------------------+
;
; where
;
; Sev - is the severity code
;
; 00 - Success
; 01 - Informational
; 10 - Warning
; 11 - Error
;
; C - is the Customer code flag
;
; R - is a reserved bit
;
; Facility - is the facility code
;
; Code - is the facility's status code
;
;
; Define the facility codes
;
FACILITY_WINDOWSUPDATE equ 36
FACILITY_WINDOWS_CE equ 24
FACILITY_WINDOWS equ 8
FACILITY_URT equ 19
FACILITY_UMI equ 22
FACILITY_SXS equ 23
FACILITY_STORAGE equ 3
FACILITY_STATE_MANAGEMENT equ 34
FACILITY_SSPI equ 9
FACILITY_SCARD equ 16
FACILITY_SETUPAPI equ 15
FACILITY_SECURITY equ 9
FACILITY_RPC equ 1
FACILITY_WIN32 equ 7
FACILITY_CONTROL equ 10
FACILITY_NULL equ 0
FACILITY_METADIRECTORY equ 35
FACILITY_MSMQ equ 14
FACILITY_MEDIASERVER equ 13
FACILITY_INTERNET equ 12
FACILITY_ITF equ 4
FACILITY_HTTP equ 25
FACILITY_DPLAY equ 21
FACILITY_DISPATCH equ 2
FACILITY_DIRECTORYSERVICE equ 37
FACILITY_CONFIGURATION equ 33
FACILITY_COMPLUS equ 17
FACILITY_CERT equ 11
FACILITY_BACKGROUNDCOPY equ 32
FACILITY_ACS equ 20
FACILITY_AAF equ 18
;
; Define the severity codes
;
;
; MessageId: ERROR_SUCCESS
;
; MessageText:
;
; The operation completed successfully.
;
ERROR_SUCCESS equ 0
NO_ERROR equ 0 ; dderror
SEC_E_OK equ ((HRESULT)00000000h)
;
; MessageId: ERROR_INVALID_FUNCTION
;
; MessageText:
;
; Incorrect function.
;
ERROR_INVALID_FUNCTION equ 1 ; dderror
;
; MessageId: ERROR_FILE_NOT_FOUND
;
; MessageText:
;
; The system cannot find the file specified.
;
ERROR_FILE_NOT_FOUND equ 2
;
; MessageId: ERROR_PATH_NOT_FOUND
;
; MessageText:
;
; The system cannot find the path specified.
;
ERROR_PATH_NOT_FOUND equ 3
;
; MessageId: ERROR_TOO_MANY_OPEN_FILES
;
; MessageText:
;
; The system cannot open the file.
;
ERROR_TOO_MANY_OPEN_FILES equ 4
;
; MessageId: ERROR_ACCESS_DENIED
;
; MessageText:
;
; Access is denied.
;
ERROR_ACCESS_DENIED equ 5
;
; MessageId: ERROR_INVALID_HANDLE
;
; MessageText:
;
; The handle is invalid.
;
ERROR_INVALID_HANDLE equ 6
;
; MessageId: ERROR_ARENA_TRASHED
;
; MessageText:
;
; The storage control blocks were destroyed.
;
ERROR_ARENA_TRASHED equ 7
;
; MessageId: ERROR_NOT_ENOUGH_MEMORY
;
; MessageText:
;
; Not enough storage is available to process this command.
;
ERROR_NOT_ENOUGH_MEMORY equ 8 ; dderror
;
; MessageId: ERROR_INVALID_BLOCK
;
; MessageText:
;
; The storage control block address is invalid.
;
ERROR_INVALID_BLOCK equ 9
;
; MessageId: ERROR_BAD_ENVIRONMENT
;
; MessageText:
;
; The environment is incorrect.
;
ERROR_BAD_ENVIRONMENT equ 10
;
; MessageId: ERROR_BAD_FORMAT
;
; MessageText:
;
; An attempt was made to load a program with an incorrect format.
;
ERROR_BAD_FORMAT equ 11
;
; MessageId: ERROR_INVALID_ACCESS
;
; MessageText:
;
; The access code is invalid.
;
ERROR_INVALID_ACCESS equ 12
;
; MessageId: ERROR_INVALID_DATA
;
; MessageText:
;
; The data is invalid.
;
ERROR_INVALID_DATA equ 13
;
; MessageId: ERROR_OUTOFMEMORY
;
; MessageText:
;
; Not enough storage is available to complete this operation.
;
ERROR_OUTOFMEMORY equ 14
;
; MessageId: ERROR_INVALID_DRIVE
;
; MessageText:
;
; The system cannot find the drive specified.
;
ERROR_INVALID_DRIVE equ 15
;
; MessageId: ERROR_CURRENT_DIRECTORY
;
; MessageText:
;
; The directory cannot be removed.
;
ERROR_CURRENT_DIRECTORY equ 16
;
; MessageId: ERROR_NOT_SAME_DEVICE
;
; MessageText:
;
; The system cannot move the file to a different disk drive.
;
ERROR_NOT_SAME_DEVICE equ 17
;
; MessageId: ERROR_NO_MORE_FILES
;
; MessageText:
;
; There are no more files.
;
ERROR_NO_MORE_FILES equ 18
;
; MessageId: ERROR_WRITE_PROTECT
;
; MessageText:
;
; The media is write protected.
;
ERROR_WRITE_PROTECT equ 19
;
; MessageId: ERROR_BAD_UNIT
;
; MessageText:
;
; The system cannot find the device specified.
;
ERROR_BAD_UNIT equ 20
;
; MessageId: ERROR_NOT_READY
;
; MessageText:
;
; The device is not ready.
;
ERROR_NOT_READY equ 21
;
; MessageId: ERROR_BAD_COMMAND
;
; MessageText:
;
; The device does not recognize the command.
;
ERROR_BAD_COMMAND equ 22
;
; MessageId: ERROR_CRC
;
; MessageText:
;
; Data error (cyclic redundancy check).
;
ERROR_CRC equ 23
;
; MessageId: ERROR_BAD_LENGTH
;
; MessageText:
;
; The program issued a command but the command length is incorrect.
;
ERROR_BAD_LENGTH equ 24
;
; MessageId: ERROR_SEEK
;
; MessageText:
;
; The drive cannot locate a specific area or track on the disk.
;
ERROR_SEEK equ 25
;
; MessageId: ERROR_NOT_DOS_DISK
;
; MessageText:
;
; The specified disk or diskette cannot be accessed.
;
ERROR_NOT_DOS_DISK equ 26
;
; MessageId: ERROR_SECTOR_NOT_FOUND
;
; MessageText:
;
; The drive cannot find the sector requested.
;
ERROR_SECTOR_NOT_FOUND equ 27
;
; MessageId: ERROR_OUT_OF_PAPER
;
; MessageText:
;
; The printer is out of paper.
;
ERROR_OUT_OF_PAPER equ 28
;
; MessageId: ERROR_WRITE_FAULT
;
; MessageText:
;
; The system cannot write to the specified device.
;
ERROR_WRITE_FAULT equ 29
;
; MessageId: ERROR_READ_FAULT
;
; MessageText:
;
; The system cannot read from the specified device.
;
ERROR_READ_FAULT equ 30
;
; MessageId: ERROR_GEN_FAILURE
;
; MessageText:
;
; A device attached to the system is not functioning.
;
ERROR_GEN_FAILURE equ 31
;
; MessageId: ERROR_SHARING_VIOLATION
;
; MessageText:
;
; The process cannot access the file because it is being used by another process.
;
ERROR_SHARING_VIOLATION equ 32
;
; MessageId: ERROR_LOCK_VIOLATION
;
; MessageText:
;
; The process cannot access the file because another process has locked a portion of the file.
;
ERROR_LOCK_VIOLATION equ 33
;
; MessageId: ERROR_WRONG_DISK
;
; MessageText:
;
; The wrong diskette is in the drive.
; Insert %2 (Volume Serial Number: %3) into drive %1.
;
ERROR_WRONG_DISK equ 34
;
; MessageId: ERROR_SHARING_BUFFER_EXCEEDED
;
; MessageText:
;
; Too many files opened for sharing.
;
ERROR_SHARING_BUFFER_EXCEEDED equ 36
;
; MessageId: ERROR_HANDLE_EOF
;
; MessageText:
;
; Reached the end of the file.
;
ERROR_HANDLE_EOF equ 38
;
; MessageId: ERROR_HANDLE_DISK_FULL
;
; MessageText:
;
; The disk is full.
;
ERROR_HANDLE_DISK_FULL equ 39
;
; MessageId: ERROR_NOT_SUPPORTED
;
; MessageText:
;
; The request is not supported.
;
ERROR_NOT_SUPPORTED equ 50
;
; MessageId: ERROR_REM_NOT_LIST
;
; MessageText:
;
; Windows cannot find the network path. Verify that the network path is correct and the destination computer is not busy or turned off. If Windows still cannot find the network path, contact your network administrator.
;
ERROR_REM_NOT_LIST equ 51
;
; MessageId: ERROR_DUP_NAME
;
; MessageText:
;
; You were not connected because a duplicate name exists on the network. Go to System in Control Panel to change the computer name and try again.
;
ERROR_DUP_NAME equ 52
;
; MessageId: ERROR_BAD_NETPATH
;
; MessageText:
;
; The network path was not found.
;
ERROR_BAD_NETPATH equ 53
;
; MessageId: ERROR_NETWORK_BUSY
;
; MessageText:
;
; The network is busy.
;
ERROR_NETWORK_BUSY equ 54
;
; MessageId: ERROR_DEV_NOT_EXIST
;
; MessageText:
;
; The specified network resource or device is no longer available.
;
ERROR_DEV_NOT_EXIST equ 55 ; dderror
;
; MessageId: ERROR_TOO_MANY_CMDS
;
; MessageText:
;
; The network BIOS command limit has been reached.
;
ERROR_TOO_MANY_CMDS equ 56
;
; MessageId: ERROR_ADAP_HDW_ERR
;
; MessageText:
;
; A network adapter hardware error occurred.
;
ERROR_ADAP_HDW_ERR equ 57
;
; MessageId: ERROR_BAD_NET_RESP
;
; MessageText:
;
; The specified server cannot perform the requested operation.
;
ERROR_BAD_NET_RESP equ 58
;
; MessageId: ERROR_UNEXP_NET_ERR
;
; MessageText:
;
; An unexpected network error occurred.
;
ERROR_UNEXP_NET_ERR equ 59
;
; MessageId: ERROR_BAD_REM_ADAP
;
; MessageText:
;
; The remote adapter is not compatible.
;
ERROR_BAD_REM_ADAP equ 60
;
; MessageId: ERROR_PRINTQ_FULL
;
; MessageText:
;
; The printer queue is full.
;
ERROR_PRINTQ_FULL equ 61
;
; MessageId: ERROR_NO_SPOOL_SPACE
;
; MessageText:
;
; Space to store the file waiting to be printed is not available on the server.
;
ERROR_NO_SPOOL_SPACE equ 62
;
; MessageId: ERROR_PRINT_CANCELLED
;
; MessageText:
;
; Your file waiting to be printed was deleted.
;
ERROR_PRINT_CANCELLED equ 63
;
; MessageId: ERROR_NETNAME_DELETED
;
; MessageText:
;
; The specified network name is no longer available.
;
ERROR_NETNAME_DELETED equ 64
;
; MessageId: ERROR_NETWORK_ACCESS_DENIED
;
; MessageText:
;
; Network access is denied.
;
ERROR_NETWORK_ACCESS_DENIED equ 65
;
; MessageId: ERROR_BAD_DEV_TYPE
;
; MessageText:
;
; The network resource type is not correct.
;
ERROR_BAD_DEV_TYPE equ 66
;
; MessageId: ERROR_BAD_NET_NAME
;
; MessageText:
;
; The network name cannot be found.
;
ERROR_BAD_NET_NAME equ 67
;
; MessageId: ERROR_TOO_MANY_NAMES
;
; MessageText:
;
; The name limit for the local computer network adapter card was exceeded.
;
ERROR_TOO_MANY_NAMES equ 68
;
; MessageId: ERROR_TOO_MANY_SESS
;
; MessageText:
;
; The network BIOS session limit was exceeded.
;
ERROR_TOO_MANY_SESS equ 69
;
; MessageId: ERROR_SHARING_PAUSED
;
; MessageText:
;
; The remote server has been paused or is in the process of being started.
;
ERROR_SHARING_PAUSED equ 70
;
; MessageId: ERROR_REQ_NOT_ACCEP
;
; MessageText:
;
; No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.
;
ERROR_REQ_NOT_ACCEP equ 71
;
; MessageId: ERROR_REDIR_PAUSED
;
; MessageText:
;
; The specified printer or disk device has been paused.
;
ERROR_REDIR_PAUSED equ 72
;
; MessageId: ERROR_FILE_EXISTS
;
; MessageText:
;
; The file exists.
;
ERROR_FILE_EXISTS equ 80
;
; MessageId: ERROR_CANNOT_MAKE
;
; MessageText:
;
; The directory or file cannot be created.
;
ERROR_CANNOT_MAKE equ 82
;
; MessageId: ERROR_FAIL_I24
;
; MessageText:
;
; Fail on INT 24.
;
ERROR_FAIL_I24 equ 83
;
; MessageId: ERROR_OUT_OF_STRUCTURES
;
; MessageText:
;
; Storage to process this request is not available.
;
ERROR_OUT_OF_STRUCTURES equ 84
;
; MessageId: ERROR_ALREADY_ASSIGNED
;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -