Changeset 2621
- Timestamp:
- Feb 3, 2000, 10:41:11 PM (25 years ago)
- Location:
- trunk/include/win
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/include/win/crtdll.h ¶
r2341 r2621 1 /* $Id: crtdll.h,v 1. 3 2000-01-06 20:03:04sandervl Exp $ */1 /* $Id: crtdll.h,v 1.4 2000-02-03 21:41:11 sandervl Exp $ */ 2 2 3 3 #ifndef __WINE_CRTDLL_H … … 24 24 #define CRTDLL_LEADBYTE 0x8000 25 25 #define CRTDLL_ALPHA (0x0100|CRTDLL_UPPER|CRTDLL_LOWER) 26 27 /* syserr defines */28 char __syserr00[] = "No Error";29 char __syserr01[] = "Input to function out of range (EDOM)";30 char __syserr02[] = "Output of function out of range (ERANGE)";31 char __syserr03[] = "Argument list too long (E2BIG)";32 char __syserr04[] = "Permission denied (EACCES)";33 char __syserr05[] = "Resource temporarily unavailable (EAGAIN)";34 char __syserr06[] = "Bad file descriptor (EBADF)";35 char __syserr07[] = "Resource busy (EBUSY)";36 char __syserr08[] = "No child processes (ECHILD)";37 char __syserr09[] = "Resource deadlock avoided (EDEADLK)";38 char __syserr10[] = "File exists (EEXIST)";39 char __syserr11[] = "Bad address (EFAULT)";40 char __syserr12[] = "File too large (EFBIG)";41 char __syserr13[] = "Interrupted system call (EINTR)";42 char __syserr14[] = "Invalid argument (EINVAL)";43 char __syserr15[] = "Input or output error (EIO)";44 char __syserr16[] = "Is a directory (EISDIR)";45 char __syserr17[] = "Too many open files (EMFILE)";46 char __syserr18[] = "Too many links (EMLINK)";47 char __syserr19[] = "File name too long (ENAMETOOLONG)";48 char __syserr20[] = "Too many open files in system (ENFILE)";49 char __syserr21[] = "No such device (ENODEV)";50 char __syserr22[] = "No such file or directory (ENOENT)";51 char __syserr23[] = "Unable to execute file (ENOEXEC)";52 char __syserr24[] = "No locks available (ENOLCK)";53 char __syserr25[] = "Not enough memory (ENOMEM)";54 char __syserr26[] = "No space left on drive (ENOSPC)";55 char __syserr27[] = "Function not implemented (ENOSYS)";56 char __syserr28[] = "Not a directory (ENOTDIR)";57 char __syserr29[] = "Directory not empty (ENOTEMPTY)";58 char __syserr30[] = "Inappropriate I/O control operation (ENOTTY)";59 char __syserr31[] = "No such device or address (ENXIO)";60 char __syserr32[] = "Operation not permitted (EPERM)";61 char __syserr33[] = "Broken pipe (EPIPE)";62 char __syserr34[] = "Read-only file system (EROFS)";63 char __syserr35[] = "Invalid seek (ESPIPE)";64 char __syserr36[] = "No such process (ESRCH)";65 char __syserr37[] = "Improper link (EXDEV)";66 char __syserr38[] = "No more files (ENMFILE)";67 26 68 27 /* function prototypes used in crtdll.c */ -
TabularUnified trunk/include/win/winnt.h ¶
r2073 r2621 749 749 #define STATUS_TIMEOUT 0x00000102 750 750 #define STATUS_PENDING 0x00000103 751 751 752 #define STATUS_GUARD_PAGE_VIOLATION 0x80000001 752 753 #define STATUS_DATATYPE_MISALIGNMENT 0x80000002 … … 754 755 #define STATUS_SINGLE_STEP 0x80000004 755 756 #define STATUS_BUFFER_OVERFLOW 0x80000005 757 #define STATUS_NO_MORE_FILES 0x80000006 758 #define STATUS_WAKE_SYSTEM_DEBUGGER 0x80000007 759 760 #define STATUS_HANDLES_CLOSED 0x8000000A 761 #define STATUS_NO_INHERITANCE 0x8000000B 762 #define STATUS_GUID_SUBSTITUTION_MADE 0x8000000C 763 #define STATUS_PARTIAL_COPY 0x8000000D 764 #define STATUS_DEVICE_PAPER_EMPTY 0x8000000E 765 #define STATUS_DEVICE_POWERED_OFF 0x8000000F 766 #define STATUS_DEVICE_OFF_LINE 0x80000010 767 #define STATUS_DEVICE_BUSY 0x80000011 768 #define STATUS_NO_MORE_EAS 0x80000012 769 #define STATUS_INVALID_EA_NAME 0x80000013 770 #define STATUS_EA_LIST_INCONSISTENT 0x80000014 771 #define STATUS_INVALID_EA_FLAG 0x80000015 772 #define STATUS_VERIFY_REQUIRED 0x80000016 773 #define STATUS_EXTRANEOUS_INFORMATION 0x80000017 774 #define STATUS_RXACT_COMMIT_NECESSARY 0x80000018 775 #define STATUS_NO_MORE_ENTRIES 0x8000001A 776 #define STATUS_FILEMARK_DETECTED 0x8000001B 777 #define STATUS_MEDIA_CHANGED 0x8000001C 778 #define STATUS_BUS_RESET 0x8000001D 779 #define STATUS_END_OF_MEDIA 0x8000001E 780 #define STATUS_BEGINNING_OF_MEDIA 0x8000001F 781 #define STATUS_MEDIA_CHECK 0x80000020 782 #define STATUS_SETMARK_DETECTED 0x80000021 783 #define STATUS_NO_DATA_DETECTED 0x80000022 784 #define STATUS_REDIRECTOR_HAS_OPEN_HANDLES 0x80000023 785 #define STATUS_SERVER_HAS_OPEN_HANDLES 0x80000024 786 #define STATUS_ALREADY_DISCONNECTED 0x80000025 787 #define STATUS_LONGJUMP 0x80000026 788 756 789 #define STATUS_UNSUCCESSFUL 0xC0000001 790 #define STATUS_NOT_IMPLEMENTED 0xC0000002 791 #define STATUS_INVALID_INFO_CLASS 0xC0000003 792 #define STATUS_INFO_LENGTH_MISMATCH 0xC0000004 757 793 #define STATUS_ACCESS_VIOLATION 0xC0000005 758 794 #define STATUS_IN_PAGE_ERROR 0xC0000006 795 #define STATUS_PAGEFILE_QUOTA 0xC0000007 796 #define STATUS_INVALID_HANDLE 0xC0000008 797 #define STATUS_BAD_INITIAL_STACK 0xC0000009 798 #define STATUS_BAD_INITIAL_PC 0xC000000A 799 #define STATUS_INVALID_CID 0xC000000B 800 #define STATUS_TIMER_NOT_CANCELED 0xC000000C 759 801 #define STATUS_INVALID_PARAMETER 0xC000000D 802 #define STATUS_NO_SUCH_DEVICE 0xC000000E 803 #define STATUS_NO_SUCH_FILE 0xC000000F 804 #define STATUS_INVALID_DEVICE_REQUEST 0xC0000010 805 #define STATUS_END_OF_FILE 0xC0000011 806 #define STATUS_WRONG_VOLUME 0xC0000012 807 #define STATUS_NO_MEDIA_IN_DEVICE 0xC0000013 808 #define STATUS_UNRECOGNIZED_MEDIA 0xC0000014 809 #define STATUS_NONEXISTENT_SECTOR 0xC0000015 810 #define STATUS_MORE_PROCESSING_REQUIRED 0xC0000016 760 811 #define STATUS_NO_MEMORY 0xC0000017 761 812 #define STATUS_CONFLICTING_ADDRESSES 0xC0000018 813 #define STATUS_NOT_MAPPED_VIEW 0xC0000019 814 #define STATUS_UNABLE_TO_FREE_VM 0xC000001A 815 #define STATUS_UNABLE_TO_DELETE_SECTION 0xC000001B 816 #define STATUS_INVALID_SYSTEM_SERVICE 0xC000001C 762 817 #define STATUS_ILLEGAL_INSTRUCTION 0xC000001D 818 #define STATUS_INVALID_LOCK_SEQUENCE 0xC000001E 819 #define STATUS_INVALID_VIEW_SIZE 0xC000001F 820 #define STATUS_INVALID_FILE_FOR_SECTION 0xC0000020 821 #define STATUS_ALREADY_COMMITTED 0xC0000021 822 #define STATUS_ACCESS_DENIED 0xC0000022 763 823 #define STATUS_BUFFER_TOO_SMALL 0xC0000023 824 #define STATUS_OBJECT_TYPE_MISMATCH 0xC0000024 764 825 #define STATUS_NONCONTINUABLE_EXCEPTION 0xC0000025 765 826 #define STATUS_INVALID_DISPOSITION 0xC0000026 … … 767 828 #define STATUS_BAD_STACK 0xC0000028 768 829 #define STATUS_INVALID_UNWIND_TARGET 0xC0000029 830 #define STATUS_NOT_LOCKED 0xC000002A 831 #define STATUS_PARITY_ERROR 0xC000002B 832 #define STATUS_UNABLE_TO_DECOMMIT_VM 0xC000002C 833 #define STATUS_NOT_COMMITTED 0xC000002D 834 #define STATUS_INVALID_PORT_ATTRIBUTES 0xC000002E 835 #define STATUS_PORT_MESSAGE_TOO_LONG 0xC000002F 836 #define STATUS_INVALID_PARAMETER_MIX 0xC0000030 837 #define STATUS_INVALID_QUOTA_LOWER 0xC0000031 838 #define STATUS_DISK_CORRUPT_ERROR 0xC0000032 839 #define STATUS_OBJECT_NAME_INVALID 0xC0000033 840 #define STATUS_OBJECT_NAME_NOT_FOUND 0xC0000034 841 #define STATUS_OBJECT_NAME_COLLISION 0xC0000035 842 #define STATUS_PORT_DISCONNECTED 0xC0000037 843 #define STATUS_DEVICE_ALREADY_ATTACHED 0xC0000038 844 #define STATUS_OBJECT_PATH_INVALID 0xC0000039 845 #define STATUS_OBJECT_PATH_NOT_FOUND 0xC000003A 846 #define STATUS_PATH_SYNTAX_BAD 0xC000003B 847 #define STATUS_DATA_OVERRUN 0xC000003C 848 #define STATUS_DATA_LATE_ERROR 0xC000003D 849 #define STATUS_DATA_ERROR 0xC000003E 850 #define STATUS_CRC_ERROR 0xC000003F 851 #define STATUS_SECTION_TOO_BIG 0xC0000040 852 #define STATUS_PORT_CONNECTION_REFUSED 0xC0000041 853 #define STATUS_INVALID_PORT_HANDLE 0xC0000042 854 #define STATUS_SHARING_VIOLATION 0xC0000043 855 #define STATUS_QUOTA_EXCEEDED 0xC0000044 856 #define STATUS_INVALID_PAGE_PROTECTION 0xC0000045 857 #define STATUS_MUTANT_NOT_OWNED 0xC0000046 858 #define STATUS_SEMAPHORE_LIMIT_EXCEEDED 0xC0000047 859 #define STATUS_PORT_ALREADY_SET 0xC0000048 860 #define STATUS_SUSPEND_COUNT_EXCEEDED 0xC000004A 861 #define STATUS_LOCK_NOT_GRANTED 0xC0000054 /* FIXME: not sure */ 862 #define STATUS_FILE_LOCK_CONFLICT 0xC0000055 /* FIXME: not sure */ 769 863 #define STATUS_UNKNOWN_REVISION 0xC0000058 770 864 #define STATUS_INVALID_SECURITY_DESCR 0xC0000079 865 #define STATUS_DISK_FULL 0xC000007F 866 #define STATUS_SECTION_NOT_EXTENDED 0xC0000087 771 867 #define STATUS_ARRAY_BOUNDS_EXCEEDED 0xC000008C 772 868 #define STATUS_FLOAT_DENORMAL_OPERAND 0xC000008D … … 780 876 #define STATUS_INTEGER_OVERFLOW 0xC0000095 781 877 #define STATUS_PRIVILEGED_INSTRUCTION 0xC0000096 878 #define STATUS_MEDIA_WRITE_PROTECTED 0XC00000A2 782 879 #define STATUS_INVALID_PARAMETER_2 0xC00000F0 783 880 #define STATUS_STACK_OVERFLOW 0xC00000FD 881 #define STATUS_DIRECTORY_NOT_EMPTY 0xC0000101 882 #define STATUS_TOO_MANY_OPENED_FILES 0xC000011F 784 883 #define STATUS_CONTROL_C_EXIT 0xC000013A 884 #define STATUS_PIPE_BROKEN 0xC000014B 885 #define STATUS_NOT_REGISTRY_FILE 0xC000015C 886 #define STATUS_PARTITION_FAILURE 0xC0000172 887 #define STATUS_INVALID_BLOCK_LENGTH 0xC0000173 888 #define STATUS_DEVICE_NOT_PARTITIONED 0xC0000174 889 #define STATUS_UNABLE_TO_LOCK_MEDIA 0xC0000175 890 #define STATUS_UNABLE_TO_UNLOAD_MEDIA 0xC0000176 891 #define STATUS_EOM_OVERFLOW 0xC0000177 892 #define STATUS_NO_MEDIA 0xC0000178 893 #define STATUS_NO_SUCH_MEMBER 0xC000017A 894 #define STATUS_INVALID_MEMBER 0xC000017B 895 #define STATUS_KEY_DELETED 0xC000017C 896 #define STATUS_NO_LOG_SPACE 0xC000017D 897 #define STATUS_TOO_MANY_SIDS 0xC000017E 898 #define STATUS_LM_CROSS_ENCRYPTION_REQUIRED 0xC000017F 899 #define STATUS_KEY_HAS_CHILDREN 0xC0000180 900 #define STATUS_CHILD_MUST_BE_VOLATILE 0xC0000181 901 #define STATUS_DEVICE_CONFIGURATION_ERROR0xC0000182 902 #define STATUS_DRIVER_INTERNAL_ERROR 0xC0000183 903 #define STATUS_INVALID_DEVICE_STATE 0xC0000184 904 #define STATUS_IO_DEVICE_ERROR 0xC0000185 905 #define STATUS_DEVICE_PROTOCOL_ERROR 0xC0000186 906 #define STATUS_BACKUP_CONTROLLER 0xC0000187 907 #define STATUS_LOG_FILE_FULL 0xC0000188 908 #define STATUS_TOO_LATE 0xC0000189 909 #define STATUS_NO_TRUST_LSA_SECRET 0xC000018A 910 #define STATUS_NO_TRUST_SAM_ACCOUNT 0xC000018B 911 #define STATUS_TRUSTED_DOMAIN_FAILURE 0xC000018C 912 #define STATUS_TRUSTED_RELATIONSHIP_FAILURE 0xC000018D 913 #define STATUS_EVENTLOG_FILE_CORRUPT 0xC000018E 914 #define STATUS_EVENTLOG_CANT_START 0xC000018F 915 #define STATUS_TRUST_FAILURE 0xC0000190 916 #define STATUS_MUTANT_LIMIT_EXCEEDED 0xC0000191 917 #define STATUS_NETLOGON_NOT_STARTED 0xC0000192 918 #define STATUS_ACCOUNT_EXPIRED 0xC0000193 919 #define STATUS_POSSIBLE_DEADLOCK 0xC0000194 920 #define STATUS_NETWORK_CREDENTIAL_CONFLICT 0xC0000195 921 #define STATUS_REMOTE_SESSION_LIMIT 0xC0000196 922 #define STATUS_EVENTLOG_FILE_CHANGED 0xC0000197 923 #define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT 0xC0000198 924 #define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT 0xC0000199 925 #define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT 0xC000019A 926 #define STATUS_DOMAIN_TRUST_INCONSISTENT 0xC000019B 927 #define STATUS_FS_DRIVER_REQUIRED 0xC000019C 928 929 #define STATUS_RESOURCE_LANG_NOT_FOUND 0xC0000204 785 930 786 931 #define MAXIMUM_WAIT_OBJECTS 64 … … 1013 1158 */ 1014 1159 1160 #define ACL_REVISION1 1 1161 #define ACL_REVISION2 2 1162 #define ACL_REVISION3 3 1163 #define ACL_REVISION4 4 1164 1165 #define MIN_ACL_REVISION ACL_REVISION2 1166 #define MAX_ACL_REVISION ACL_REVISION4 1167 1015 1168 typedef struct _ACL { 1016 1169 BYTE AclRevision; … … 1021 1174 } ACL, *PACL; 1022 1175 1176 1023 1177 /* SECURITY_DESCRIPTOR */ 1024 1178 #define SECURITY_DESCRIPTOR_REVISION 1 … … 1035 1189 1036 1190 typedef DWORD SECURITY_INFORMATION, *PSECURITY_INFORMATION; 1037 typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL , *LPSECURITY_DESCRIPTOR;1191 typedef WORD SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL; 1038 1192 1039 1193 /* The security descriptor structure */ 1194 typedef struct { 1195 BYTE Revision; 1196 BYTE Sbz1; 1197 SECURITY_DESCRIPTOR_CONTROL Control; 1198 DWORD Owner; 1199 DWORD Group; 1200 DWORD Sacl; 1201 DWORD Dacl; 1202 } SECURITY_DESCRIPTOR_RELATIVE, *PISECURITY_DESCRIPTOR_RELATIVE; 1203 1040 1204 typedef struct { 1041 1205 BYTE Revision; … … 1064 1228 DWORD Attributes; 1065 1229 } SID_AND_ATTRIBUTES ; 1230 1231 /* security entities */ 1232 #define SECURITY_NULL_RID (0x00000000L) 1233 #define SECURITY_WORLD_RID (0x00000000L) 1234 #define SECURITY_LOCAL_RID (0X00000000L) 1235 1236 #define SECURITY_NULL_SID_AUTHORITY {0,0,0,0,0,0} 1237 1238 /* S-1-1 */ 1239 #define SECURITY_WORLD_SID_AUTHORITY {0,0,0,0,0,1} 1240 1241 /* S-1-2 */ 1242 #define SECURITY_LOCAL_SID_AUTHORITY {0,0,0,0,0,2} 1243 1244 /* S-1-3 */ 1245 #define SECURITY_CREATOR_SID_AUTHORITY {0,0,0,0,0,3} 1246 #define SECURITY_CREATOR_OWNER_RID (0x00000000L) 1247 #define SECURITY_CREATOR_GROUP_RID (0x00000001L) 1248 #define SECURITY_CREATOR_OWNER_SERVER_RID (0x00000002L) 1249 #define SECURITY_CREATOR_GROUP_SERVER_RID (0x00000003L) 1250 1251 /* S-1-4 */ 1252 #define SECURITY_NON_UNIQUE_AUTHORITY {0,0,0,0,0,4} 1253 1254 /* S-1-5 */ 1255 #define SECURITY_NT_AUTHORITY {0,0,0,0,0,5} 1256 #define SECURITY_DIALUP_RID 0x00000001L 1257 #define SECURITY_NETWORK_RID 0x00000002L 1258 #define SECURITY_BATCH_RID 0x00000003L 1259 #define SECURITY_INTERACTIVE_RID 0x00000004L 1260 #define SECURITY_LOGON_IDS_RID 0x00000005L 1261 #define SECURITY_SERVICE_RID 0x00000006L 1262 #define SECURITY_ANONYMOUS_LOGON_RID 0x00000007L 1263 #define SECURITY_PROXY_RID 0x00000008L 1264 #define SECURITY_ENTERPRISE_CONTROLLERS_RID 0x00000009L 1265 #define SECURITY_PRINCIPAL_SELF_RID 0x0000000AL 1266 #define SECURITY_AUTHENTICATED_USER_RID 0x0000000BL 1267 #define SECURITY_RESTRICTED_CODE_RID 0x0000000CL 1268 #define SECURITY_TERMINAL_SERVER_RID 0x0000000DL 1269 #define SECURITY_LOCAL_SYSTEM_RID 0x00000012L 1270 #define SECURITY_NT_NON_UNIQUE 0x00000015L 1271 #define SECURITY_BUILTIN_DOMAIN_RID 0x00000020L 1272 1273 #define DOMAIN_GROUP_RID_ADMINS 0x00000200L 1274 #define DOMAIN_GROUP_RID_USERS 0x00000201L 1275 #define DOMAIN_GROUP_RID_GUESTS 0x00000202L 1276 1277 #define DOMAIN_ALIAS_RID_ADMINS 0x00000220L 1278 #define DOMAIN_ALIAS_RID_USERS 0x00000221L 1279 #define DOMAIN_ALIAS_RID_GUESTS 0x00000222L 1280 1281 #define SECURITY_SERVER_LOGON_RID SECURITY_ENTERPRISE_CONTROLLERS_RID 1282 1283 #define SECURITY_LOGON_IDS_RID_COUNT (3L) 1066 1284 1067 1285 /*
Note:
See TracChangeset
for help on using the changeset viewer.