Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygencfg.h
Go to the documentation of this file.
00001 /* 00002 * cfg.h 00003 * 00004 * PnP Configuration Manager shared definitions between user mode and kernel mode code 00005 * 00006 * This file is part of the w32api package. 00007 * 00008 * Contributors: 00009 * Created by Casper S. Hornstrup <chorns@users.sourceforge.net> 00010 * 00011 * THIS SOFTWARE IS NOT COPYRIGHTED 00012 * 00013 * This source code is offered for use in the public domain. You may 00014 * use, modify or distribute it freely. 00015 * 00016 * This code is distributed in the hope that it will be useful but 00017 * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY 00018 * DISCLAIMED. This includes but is not limited to warranties of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00020 * 00021 */ 00022 00023 #pragma once 00024 00025 #define _CFG_INCLUDED_ 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 #define CM_PROB_NOT_CONFIGURED 0x00000001 00032 #define CM_PROB_DEVLOADER_FAILED 0x00000002 00033 #define CM_PROB_OUT_OF_MEMORY 0x00000003 00034 #define CM_PROB_ENTRY_IS_WRONG_TYPE 0x00000004 00035 #define CM_PROB_LACKED_ARBITRATOR 0x00000005 00036 #define CM_PROB_BOOT_CONFIG_CONFLICT 0x00000006 00037 #define CM_PROB_FAILED_FILTER 0x00000007 00038 #define CM_PROB_DEVLOADER_NOT_FOUND 0x00000008 00039 #define CM_PROB_INVALID_DATA 0x00000009 00040 #define CM_PROB_FAILED_START 0x0000000A 00041 #define CM_PROB_LIAR 0x0000000B 00042 #define CM_PROB_NORMAL_CONFLICT 0x0000000C 00043 #define CM_PROB_NOT_VERIFIED 0x0000000D 00044 #define CM_PROB_NEED_RESTART 0x0000000E 00045 #define CM_PROB_REENUMERATION 0x0000000F 00046 #define CM_PROB_PARTIAL_LOG_CONF 0x00000010 00047 #define CM_PROB_UNKNOWN_RESOURCE 0x00000011 00048 #define CM_PROB_REINSTALL 0x00000012 00049 #define CM_PROB_REGISTRY 0x00000013 00050 #define CM_PROB_VXDLDR 0x00000014 00051 #define CM_PROB_WILL_BE_REMOVED 0x00000015 00052 #define CM_PROB_DISABLED 0x00000016 00053 #define CM_PROB_DEVLOADER_NOT_READY 0x00000017 00054 #define CM_PROB_DEVICE_NOT_THERE 0x00000018 00055 #define CM_PROB_MOVED 0x00000019 00056 #define CM_PROB_TOO_EARLY 0x0000001A 00057 #define CM_PROB_NO_VALID_LOG_CONF 0x0000001B 00058 #define CM_PROB_FAILED_INSTALL 0x0000001C 00059 #define CM_PROB_HARDWARE_DISABLED 0x0000001D 00060 #define CM_PROB_CANT_SHARE_IRQ 0x0000001E 00061 #define CM_PROB_FAILED_ADD 0x0000001F 00062 #define CM_PROB_DISABLED_SERVICE 0x00000020 00063 #define CM_PROB_TRANSLATION_FAILED 0x00000021 00064 #define CM_PROB_NO_SOFTCONFIG 0x00000022 00065 #define CM_PROB_BIOS_TABLE 0x00000023 00066 #define CM_PROB_IRQ_TRANSLATION_FAILED 0x00000024 00067 #define CM_PROB_FAILED_DRIVER_ENTRY 0x00000025 00068 #define CM_PROB_DRIVER_FAILED_PRIOR_UNLOAD 0x00000026 00069 #define CM_PROB_DRIVER_FAILED_LOAD 0x00000027 00070 #define CM_PROB_DRIVER_SERVICE_KEY_INVALID 0x00000028 00071 #define CM_PROB_LEGACY_SERVICE_NO_DEVICES 0x00000029 00072 #define CM_PROB_DUPLICATE_DEVICE 0x0000002A 00073 #define CM_PROB_FAILED_POST_START 0x0000002B 00074 #define CM_PROB_HALTED 0x0000002C 00075 #define CM_PROB_PHANTOM 0x0000002D 00076 #define CM_PROB_SYSTEM_SHUTDOWN 0x0000002E 00077 #define CM_PROB_HELD_FOR_EJECT 0x0000002F 00078 #define CM_PROB_DRIVER_BLOCKED 0x00000030 00079 #define CM_PROB_REGISTRY_TOO_LARGE 0x00000031 00080 #define CM_PROB_SETPROPERTIES_FAILED 0x00000032 00081 #define CM_PROB_WAITING_ON_DEPENDENCY 0x00000033 00082 #define CM_PROB_UNSIGNED_DRIVER 0x00000034 00083 00084 #define NUM_CM_PROB_V1 0x00000025 00085 #define NUM_CM_PROB_V2 0x00000032 00086 #define NUM_CM_PROB_V3 0x00000033 00087 #define NUM_CM_PROB_V4 0x00000034 00088 #define NUM_CM_PROB_V5 0x00000035 00089 00090 #if (NTDDI_VERSION >= NTDDI_WIN7) 00091 #define NUM_CM_PROB NUM_CM_PROB_V5 00092 #elif (NTDDI_VERSION >= NTDDI_WS08) 00093 #define NUM_CM_PROB NUM_CM_PROB_V4 00094 #elif (NTDDI_VERSION >= NTDDI_WS03) 00095 #define NUM_CM_PROB NUM_CM_PROB_V3 00096 #elif (NTDDI_VERSION >= NTDDI_WINXP) 00097 #define NUM_CM_PROB NUM_CM_PROB_V2 00098 #elif (NTDDI_VERSION >= WIN2K) 00099 #define NUM_CM_PROB NUM_CM_PROB_V1 00100 #endif 00101 00102 #define LCPRI_FORCECONFIG 0x00000000 00103 #define LCPRI_BOOTCONFIG 0x00000001 00104 #define LCPRI_DESIRED 0x00002000 00105 #define LCPRI_NORMAL 0x00003000 00106 #define LCPRI_LASTBESTCONFIG 0x00003FFF 00107 #define LCPRI_SUBOPTIMAL 0x00005000 00108 #define LCPRI_LASTSOFTCONFIG 0x00007FFF 00109 #define LCPRI_RESTART 0x00008000 00110 #define LCPRI_REBOOT 0x00009000 00111 #define LCPRI_POWEROFF 0x0000A000 00112 #define LCPRI_HARDRECONFIG 0x0000C000 00113 #define LCPRI_HARDWIRED 0x0000E000 00114 #define LCPRI_IMPOSSIBLE 0x0000F000 00115 #define LCPRI_DISABLED 0x0000FFFF 00116 #define MAX_LCPRI 0x0000FFFF 00117 00118 #define DN_ROOT_ENUMERATED 0x00000001 /* Was enumerated by ROOT */ 00119 #define DN_DRIVER_LOADED 0x00000002 /* Has Register_Device_Driver */ 00120 #define DN_ENUM_LOADED 0x00000004 /* Has Register_Enumerator */ 00121 #define DN_STARTED 0x00000008 /* Is currently configured */ 00122 #define DN_MANUAL 0x00000010 /* Manually installed */ 00123 #define DN_NEED_TO_ENUM 0x00000020 /* May need reenumeration */ 00124 #define DN_NOT_FIRST_TIME 0x00000040 /* Has received a config (Win9x only) */ 00125 #define DN_HARDWARE_ENUM 0x00000080 /* Enum generates hardware ID */ 00126 #define DN_LIAR 0x00000100 /* Lied about can reconfig once (Win9x only) */ 00127 #define DN_HAS_MARK 0x00000200 /* Not CM_Create_DevNode lately (Win9x only) */ 00128 #define DN_HAS_PROBLEM 0x00000400 /* Need device installer */ 00129 #define DN_FILTERED 0x00000800 /* Is filtered */ 00130 #define DN_MOVED 0x00001000 /* Has been moved (Win9x only) */ 00131 #define DN_DISABLEABLE 0x00002000 /* Can be rebalanced */ 00132 #define DN_REMOVABLE 0x00004000 /* Can be removed */ 00133 #define DN_PRIVATE_PROBLEM 0x00008000 /* Has a private problem */ 00134 #define DN_MF_PARENT 0x00010000 /* Multi function parent */ 00135 #define DN_MF_CHILD 0x00020000 /* Multi function child */ 00136 #define DN_WILL_BE_REMOVED 0x00040000 00137 #define DN_NOT_FIRST_TIMEE 0x00080000 00138 #define DN_STOP_FREE_RES 0x00100000 00139 #define DN_REBAL_CANDIDATE 0x00200000 00140 #define DN_BAD_PARTIAL 0x00400000 00141 #define DN_NT_ENUMERATOR 0x00800000 00142 #define DN_NT_DRIVER 0x01000000 00143 #define DN_NEEDS_LOCKING 0x02000000 00144 #define DN_ARM_WAKEUP 0x04000000 00145 #define DN_APM_ENUMERATOR 0x08000000 00146 #define DN_APM_DRIVER 0x10000000 00147 #define DN_SILENT_INSTALL 0x20000000 00148 #define DN_NO_SHOW_IN_DM 0x40000000 00149 #define DN_BOOT_LOG_PROB 0x80000000 00150 00151 #if (NTDDI_VERSION >= NTDDI_WINXP) 00152 00153 #define DN_NEED_RESTART DN_LIAR 00154 #define DN_DRIVER_BLOCKED DN_NOT_FIRST_TIME 00155 #define DN_LEGACY_DRIVER DN_MOVED 00156 #define DN_CHILD_WITH_INVALID_ID DN_HAS_MARK 00157 00158 #elif (NTDDI_VERSION >= NTDDI_WIN2K) 00159 00160 #define DN_NEED_RESTART 0x00000100 00161 00162 #endif 00163 00164 #define DN_CHANGEABLE_FLAGS (DN_NOT_FIRST_TIME + \ 00165 DN_HARDWARE_ENUM + \ 00166 DN_HAS_MARK + \ 00167 DN_DISABLEABLE + \ 00168 DN_REMOVABLE + \ 00169 DN_MF_CHILD + \ 00170 DN_MF_PARENT + \ 00171 DN_NOT_FIRST_TIMEE + \ 00172 DN_STOP_FREE_RES + \ 00173 DN_REBAL_CANDIDATE + \ 00174 DN_NT_ENUMERATOR + \ 00175 DN_NT_DRIVER + \ 00176 DN_SILENT_INSTALL + \ 00177 DN_NO_SHOW_IN_DM) 00178 00179 typedef enum _PNP_VETO_TYPE { 00180 PNP_VetoTypeUnknown, 00181 PNP_VetoLegacyDevice, 00182 PNP_VetoPendingClose, 00183 PNP_VetoWindowsApp, 00184 PNP_VetoWindowsService, 00185 PNP_VetoOutstandingOpen, 00186 PNP_VetoDevice, 00187 PNP_VetoDriver, 00188 PNP_VetoIllegalDeviceRequest, 00189 PNP_VetoInsufficientPower, 00190 PNP_VetoNonDisableable, 00191 PNP_VetoLegacyDriver 00192 } PNP_VETO_TYPE, *PPNP_VETO_TYPE; 00193 00194 #ifdef __cplusplus 00195 } 00196 #endif 00197 Generated on Sun May 27 2012 04:31:08 for ReactOS by
1.7.6.1
|