This is a good reference for writing custom error messages in your apps.
Complete List is here:
https://docs.google.com/leaf?id=0B_zNfBEu90AINjFlZmIwNTgtOTg3Ni00YzJmLWIyMjUtMTdhMjk5YTdlMDdm&hl=it
ERROR_SUCCESS
0 (0x0) The operation completed successfully.
ERROR_INVALID_FUNCTION
1 (0x1) Incorrect function.
ERROR_FILE_NOT_FOUND
2 (0x2) The system cannot find the file specified.
ERROR_PATH_NOT_FOUND
3 (0x3) The system cannot find the path specified.
ERROR_TOO_MANY_OPEN_FILES
4 (0x4) The system cannot open the file.
ERROR_ACCESS_DENIED
5 (0x5) Access is denied.
ERROR_INVALID_HANDLE
6 (0x6) The handle is invalid.
ERROR_ARENA_TRASHED
7 (0x7) The storage control blocks were destroyed.
ERROR_NOT_ENOUGH_MEMORY
8 (0x8) Not enough storage is available to process this command.
ERROR_INVALID_BLOCK
9 (0x9) The storage control block address is invalid.
ERROR_BAD_ENVIRONMENT
10 (0xA) The environment is incorrect.
ERROR_BAD_FORMAT
11 (0xB) An attempt was made to load a program with an incorrect format.
ERROR_INVALID_ACCESS
12 (0xC) The access code is invalid.
ERROR_INVALID_DATA
13 (0xD) The data is invalid.
ERROR_OUTOFMEMORY
14 (0xE) Not enough storage is available to complete this operation.
....
....
ERROR_AMBIGUOUS_SYSTEM_DEVICE
15250 (0x3B92) The requested system device cannot be identified due to multiple indistinguishable devices potentially matching the identification criteria.
ERROR_SYSTEM_DEVICE_NOT_FOUND
15299 (0x3BC3) The requested system device cannot be found.
ERROR_HASH_NOT_SUPPORTED
15300 (0x3BC4) Hash generation for the specified version and hash type is not enabled on server.
ERROR_HASH_NOT_PRESENT
15301 (0x3BC5) The hash requests is not present or not up to date with the current file contents.
No comments:
Post a Comment