Merge 13159:13510 from trunk
[reactos.git] / reactos / include / WinError.h
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: include/WinError.h
5 * PURPOSE: Miscellaneous error codes.
6 * PROGRAMER: Art Yerkes
7 * UPDATE HISTORY:
8 * 12/15/03 -- Created
9 */
10
11 #ifndef WINERROR_H
12 #define WINERROR_H
13
14 #ifdef __USE_W32API
15
16 #include_next <winerror.h>
17
18 #else
19
20 #include <errors.h> /* Current locations of reactos errors */
21
22 /* Used generally */
23 #define DNS_ERROR_NO_MEMORY 14 /* ERROR_OUTOFMEMORY */
24
25 /* Used by DnsValidateName */
26 /* Returned by DnsValidateName to indicate that the name is too long or
27 doesn't fit some other obvious constraint. */
28 #define DNS_ERROR_INVALID_NAME 123 /* ERROR_INVALID_NAME */
29 /* Returned by DnsValidateName to indicate a name that contains a non-special
30 * and non-ascii character. */
31 #define DNS_ERROR_NON_RFC_NAME 9556
32 /* Returned by DnsValidateName to indicate that a 'special' char was used
33 * in the name. These are the punctuation " {|}~[\]^':;<=>?@!"#$%^`()+/," */
34 #define DNS_ERROR_INVALID_NAME_CHAR 9560
35 /* Returned by DnsValidateName to indicate that the name consisted entirely
36 * of digits, and so collides with the network numbers. */
37 #define DNS_ERROR_NUMERIC_NAME 9561
38
39 #endif /* __USE_W32API */
40
41 #endif//WINERROR_H