Add support for mc files and remove hardcoded WMC instructions from Makefile . Thanks...
authorMarc Piulachs <marc.piulachs@live.com>
Sat, 22 Dec 2007 23:41:57 +0000 (23:41 +0000)
committerMarc Piulachs <marc.piulachs@live.com>
Sat, 22 Dec 2007 23:41:57 +0000 (23:41 +0000)
svn path=/trunk/; revision=31408

reactos/Makefile
reactos/dll/win32/kernel32/errcodes.mc [moved from reactos/dll/win32/kernel32/kernel32.mc with 100% similarity]
reactos/dll/win32/kernel32/kernel32.rbuild
reactos/ntoskrnl/bugcodes.mc [moved from reactos/ntoskrnl/ntoskrnl.mc with 94% similarity]
reactos/ntoskrnl/ntkrnlmp.rbuild
reactos/ntoskrnl/ntoskrnl.rbuild
reactos/tools/rbuild/backend/mingw/modulehandler.cpp
reactos/tools/rbuild/backend/mingw/modulehandler.h
reactos/tools/rbuild/compilationunit.cpp

index c898596..18d9bc4 100644 (file)
@@ -372,15 +372,8 @@ $(OUTPUT):
        ${mkdir} $@
 endif
 
-
-NTOSKRNL_MC = ntoskrnl$(SEP)ntoskrnl.mc
-KERNEL32_MC = dll$(SEP)win32$(SEP)kernel32$(SEP)kernel32.mc
 NTDLL_MC = dll$(SEP)ntdll$(SEP)def$(SEP)ntstatus.mc
 BUILDNO_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)buildno.h
-BUGCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)bugcodes.h
-BUGCODES_RC = $(INTERMEDIATE_)ntoskrnl$(SEP)bugcodes.rc
-ERRCODES_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)errcodes.h
-ERRCODES_RC = $(INTERMEDIATE_)dll$(SEP)win32$(SEP)kernel32$(SEP)errcodes.rc
 NTSTATUS_H = $(INTERMEDIATE_)include$(SEP)reactos$(SEP)ntstatus.h
 NTSTATUS_RC = $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)def$(SEP)ntstatus.rc
 
@@ -394,10 +387,6 @@ PREAUTO := \
        $(BIN2C_TARGET) \
        $(BIN2RES_TARGET) \
        $(BUILDNO_H) \
-       $(BUGCODES_H) \
-       $(BUGCODES_RC) \
-       $(ERRCODES_H) \
-       $(ERRCODES_RC) \
        $(NTSTATUS_H) \
        $(NTSTATUS_RC) \
        $(GENDIB_DIB_FILES) \
@@ -471,24 +460,11 @@ msvc: $(RBUILD_TARGET)
        $(ECHO_RBUILD)
        $(Q)$(RBUILD_TARGET) $(RBUILD_FLAGS) $(ROS_RBUILDFLAGS) msvc
 
-$(BUGCODES_H) $(BUGCODES_RC): $(WMC_TARGET) $(NTOSKRNL_MC)
-       ${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
-       ${mkdir} $(INTERMEDIATE_)ntoskrnl 2>$(NUL)
-       $(ECHO_WMC)
-       $(Q)$(WMC_TARGET) -i -H $(BUGCODES_H) -o $(BUGCODES_RC) $(NTOSKRNL_MC)
-
-$(ERRCODES_H) $(ERRCODES_RC): $(WMC_TARGET) $(KERNEL32_MC)
-       ${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
-       ${mkdir} $(INTERMEDIATE_)dll$(SEP)win32$(SEP)kernel32 2>$(NUL)
-       $(ECHO_WMC)
-       $(Q)$(WMC_TARGET) -i -U -H $(ERRCODES_H) -o $(ERRCODES_RC) $(KERNEL32_MC)
-
 $(NTSTATUS_H) $(NTSTATUS_RC): $(WMC_TARGET) $(NTDLL_MC)
        ${mkdir} $(INTERMEDIATE_)include$(SEP)reactos 2>$(NUL)
        ${mkdir} $(INTERMEDIATE_)dll$(SEP)ntdll$(SEP)def 2>$(NUL)
        $(ECHO_WMC)
        $(Q)$(WMC_TARGET) -i -U -H $(NTSTATUS_H) -o $(NTSTATUS_RC) $(NTDLL_MC)
-
 .PHONY: msvc6
 msvc6: $(RBUILD_TARGET)
        $(ECHO_RBUILD)
index c5d75ac..934ef27 100644 (file)
                        </directory>
                </if>
        </directory>
+       <file>errcodes.mc</file>
 </module>
 <module name="kernel32" type="win32dll" baseaddress="${BASEADDRESS_KERNEL32}" installbase="system32" installname="kernel32.dll">
        <importlibrary definition="kernel32.def" />
similarity index 94%
rename from reactos/ntoskrnl/ntoskrnl.mc
rename to reactos/ntoskrnl/bugcodes.mc
index 041a631..c74b6f4 100644 (file)
-;
-; ntoskrnl.exe bug codes 
-;
-
-MessageIdTypedef=ULONG
-
-SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
-               Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
-               Warning=0x2:STATUS_SEVERITY_WARNING
-               Error=0x3:STATUS_SEVERITY_ERROR
-              )
-
-FacilityNames=(System=0x0:FACILITY_SYSTEM
-               Runtime=0x2:FACILITY_RUNTIME
-               Stubs=0x3:FACILITY_STUBS
-               Io=0x4:FACILITY_IO_ERROR_CODE
-              )
-
-LanguageNames=(English=0x409:MSG00409)
-
-;
-; message definitions
-;
-MessageId=0x7F
-Severity=Warning
-Facility=System
-SymbolicName=BUGCHECK_MESSAGE_INTRO
-Language=English
-A problem has been detected and ReactOS has been shut down to prevent damage
-to your computer.
-.
-
-MessageId=0x80
-Severity=Warning
-Facility=System
-SymbolicName=BUGCODE_ID_DRIVER
-Language=English
-The problem seems to be caused by the following file:
-
-.
-
-MessageId=0x81
-Severity=Warning
-Facility=System
-SymbolicName=PSS_MESSAGE_INTRO
-Language=English
-If this is the first time you've seen this Stop error screen,
-restart your computer. If this screen appears again, follow
-these steps:
-
-.
-
-MessageId=0x82
-Severity=Warning
-Facility=System
-SymbolicName=BUGCODE_PSS_MESSAGE
-Language=English
-Check to make sure any new hardware or software is properly installed.
-If this is a new installation, ask your hardware or software manufacturer
-for any ReactOS updates you might need.
-
-If problems continue, disable or remove any newly installed hardware
-or software. Disable BIOS memory options such as caching or shadowing.
-If you need to use Safe Mode to remove or disable components, restart
-your computer, press F8 to select Advanced Startup Options, and then
-select Safe Mode.
-.
-
-MessageId=0x83
-Severity=Warning
-Facility=System
-SymbolicName=BUGCHECK_TECH_INFO
-Language=English
-Technical information:
-.
-
-MessageId=0x0
-Severity=Success
-Facility=System
-SymbolicName=UNDEFINED_BUG_CODE
-Language=English
-The bug code is undefined. Please use an existing code instead.
-.
-
-MessageId=0x01
-Severity=Success
-Facility=System
-SymbolicName=APC_INDEX_MISMATCH
-Language=English
-APC_INDEX_MISMATCH
-.
-
-MessageId=0x02
-Severity=Success
-Facility=System
-SymbolicName=DEVICE_QUEUE_NOT_BUSY
-Language=English
-DEVICE_QUEUE_NOT_BUSY
-.
-
-MessageId=0x3
-Severity=Success
-Facility=System
-SymbolicName=INVALID_AFFINITY_SET
-Language=English
-INVALID_AFFINITY_SET
-.
-
-MessageId=0x04
-Severity=Success
-Facility=System
-SymbolicName=INVALID_DATA_ACCESS_TRAP
-Language=English
-INVALID_DATA_ACCESS_TRAP
-.
-
-MessageId=0x05
-Severity=Success
-Facility=System
-SymbolicName=INVALID_PROCESS_ATTACH_ATTEMPT
-Language=English
-INVALID_PROCESS_ATTACH_ATTEMPT
-.
-
-MessageId=0x06
-Severity=Success
-Facility=System
-SymbolicName=INVALID_PROCESS_DETACH_ATTEMPT
-Language=English
-INVALID_PROCESS_DETACH_ATTEMPT
-.
-
-MessageId=0x7
-Severity=Success
-Facility=System
-SymbolicName=INVALID_SOFTWARE_INTERRUPT
-Language=English
-INVALID_SOFTWARE_INTERRUPT
-.
-
-MessageId=0x08
-Severity=Success
-Facility=System
-SymbolicName=IRQL_NOT_DISPATCH_LEVEL
-Language=English
-IRQL_NOT_DISPATCH_LEVEL
-.
-
-MessageId=0x09
-Severity=Success
-Facility=System
-SymbolicName=IRQL_NOT_GREATER_OR_EQUAL
-Language=English
-IRQL_NOT_GREATER_OR_EQUAL
-.
-
-MessageId=0x0A
-Severity=Success
-Facility=System
-SymbolicName=IRQL_NOT_LESS_OR_EQUAL
-Language=English
-IRQL_NOT_LESS_OR_EQUAL
-.
-
-MessageId=0x0B
-Severity=Success
-Facility=System
-SymbolicName=NO_EXCEPTION_HANDLING_SUPPORT
-Language=English
-NO_EXCEPTION_HANDLING_SUPPORT
-.
-
-MessageId=0x0C
-Severity=Success
-Facility=System
-SymbolicName=MAXIMUM_WAIT_OBJECTS_EXCEEDED
-Language=English
-MAXIMUM_WAIT_OBJECTS_EXCEEDED
-.
-
-MessageId=0x0D
-Severity=Success
-Facility=System
-SymbolicName=MUTEX_LEVEL_NUMBER_VIOLATION
-Language=English
-MUTEX_LEVEL_NUMBER_VIOLATION
-.
-
-MessageId=0x0E
-Severity=Success
-Facility=System
-SymbolicName=NO_USER_MODE_CONTEXT
-Language=English
-NO_USER_MODE_CONTEXT
-.
-
-MessageId=0x0F
-Severity=Success
-Facility=System
-SymbolicName=SPIN_LOCK_ALREADY_OWNED
-Language=English
-SPIN_LOCK_ALREADY_OWNED
-.
-
-MessageId=0x10
-Severity=Success
-Facility=System
-SymbolicName=SPIN_LOCK_NOT_OWNED
-Language=English
-SPIN_LOCK_NOT_OWNED
-.
-
-MessageId=0x11
-Severity=Success
-Facility=System
-SymbolicName=THREAD_NOT_MUTEX_OWNER
-Language=English
-THREAD_NOT_MUTEX_OWNER
-.
-
-MessageId=0x12
-Severity=Success
-Facility=System
-SymbolicName=TRAP_CAUSE_UNKNOWN
-Language=English
-TRAP_CAUSE_UNKNOWN
-.
-
-MessageId=0x13
-Severity=Success
-Facility=System
-SymbolicName=EMPTY_THREAD_REAPER_LIST
-Language=English
-EMPTY_THREAD_REAPER_LIST
-.
-
-MessageId=0x14
-Severity=Success
-Facility=System
-SymbolicName=CREATE_DELETE_LOCK_NOT_LOCKED
-Language=English
-The thread reaper was handed a thread to reap, but the thread's process'
-.
-
-MessageId=0x15
-Severity=Success
-Facility=System
-SymbolicName=LAST_CHANCE_CALLED_FROM_KMODE
-Language=English
-LAST_CHANCE_CALLED_FROM_KMODE
-.
-
-MessageId=0x16
-Severity=Success
-Facility=System
-SymbolicName=CID_HANDLE_CREATION
-Language=English
-CID_HANDLE_CREATION
-.
-
-MessageId=0x17
-Severity=Success
-Facility=System
-SymbolicName=CID_HANDLE_DELETION
-Language=English
-CID_HANDLE_DELETION
-.
-
-MessageId=0x18
-Severity=Success
-Facility=System
-SymbolicName=REFERENCE_BY_POINTER
-Language=English
-REFERENCE_BY_POINTER
-.
-
-MessageId=0x19
-Severity=Success
-Facility=System
-SymbolicName=BAD_POOL_HEADER
-Language=English
-BAD_POOL_HEADER
-.
-
-MessageId=0x1A
-Severity=Success
-Facility=System
-SymbolicName=MEMORY_MANAGEMENT
-Language=English
-MEMORY_MANAGEMENT
-.
-
-MessageId=0x1B
-Severity=Success
-Facility=System
-SymbolicName=PFN_SHARE_COUNT
-Language=English
-PFN_SHARE_COUNT
-.
-
-MessageId=0x1C
-Severity=Success
-Facility=System
-SymbolicName=PFN_REFERENCE_COUNT
-Language=English
-PFN_REFERENCE_COUNT
-.
-
-MessageId=0x1D
-Severity=Success
-Facility=System
-SymbolicName=NO_SPINLOCK_AVAILABLE
-Language=English
-NO_SPINLOCK_AVAILABLE
-.
-
-MessageId=0x1E
-Severity=Success
-Facility=System
-SymbolicName=KMODE_EXCEPTION_NOT_HANDLED
-Language=English
-Check to be sure you have adequate disk space. If a driver is
-identified in the Stop message, disable the driver or check
-with the manufacturer for driver updates. Try changing video
-adapters.
-
-Check with your hardware vendor for any BIOS updates. Disable
-BIOS memory options such as caching or shadowing. If you need
-to use Safe Mode to remove or disable components, restart your
-computer, press F8 to select Advanced Startup Options, and then
-select Safe Mode.
-.
-
-MessageId=0x1F
-Severity=Success
-Facility=System
-SymbolicName=SHARED_RESOURCE_CONV_ERROR
-Language=English
-SHARED_RESOURCE_CONV_ERROR
-.
-
-MessageId=0x20
-Severity=Success
-Facility=System
-SymbolicName=KERNEL_APC_PENDING_DURING_EXIT
-Language=English
-KERNEL_APC_PENDING_DURING_EXIT
-.
-
-MessageId=0x21
-Severity=Success
-Facility=System
-SymbolicName=QUOTA_UNDERFLOW
-Language=English
-QUOTA_UNDERFLOW
-.
-
-MessageId=0x22
-Severity=Success
-Facility=System
-SymbolicName=FILE_SYSTEM
-Language=English
-FILE_SYSTEM
-.
-
-MessageId=0x23
-Severity=Success
-Facility=System
-SymbolicName=FAT_FILE_SYSTEM
-Language=English
-Disable or uninstall any anti-virus, disk defragmentation
-or backup utilities. Check your hard drive configuration,
-and check for any updated drivers. Run CHKDSK /F to check
-for hard drive corruption, and then restart your computer.
-.
-
-MessageId=0x24
-Severity=Success
-Facility=System
-SymbolicName=NTFS_FILE_SYSTEM
-Language=English
-NTFS_FILE_SYSTEM
-.
-
-MessageId=0x25
-Severity=Success
-Facility=System
-SymbolicName=NPFS_FILE_SYSTEM
-Language=English
-NPFS_FILE_SYSTEM
-.
-
-MessageId=0x26
-Severity=Success
-Facility=System
-SymbolicName=CDFS_FILE_SYSTEM
-Language=English
-CDFS_FILE_SYSTEM
-.
-
-MessageId=0x27
-Severity=Success
-Facility=System
-SymbolicName=RDR_FILE_SYSTEM
-Language=English
-RDR_FILE_SYSTEM
-.
-
-MessageId=0x28
-Severity=Success
-Facility=System
-SymbolicName=CORRUPT_ACCESS_TOKEN
-Language=English
-CORRUPT_ACCESS_TOKEN
-.
-
-MessageId=0x29
-Severity=Success
-Facility=System
-SymbolicName=SECURITY_SYSTEM
-Language=English
-SECURITY_SYSTEM
-.
-
-MessageId=0x2A
-Severity=Success
-Facility=System
-SymbolicName=INCONSISTENT_IRP
-Language=English
-INCONSISTENT_IRP
-.
-
-MessageId=0x2B
-Severity=Success
-Facility=System
-SymbolicName=PANIC_STACK_SWITCH
-Language=English
-PANIC_STACK_SWITCH
-.
-
-MessageId=0x2C
-Severity=Success
-Facility=System
-SymbolicName=PORT_DRIVER_INTERNAL
-Language=English
-PORT_DRIVER_INTERNAL
-.
-
-MessageId=0x2D
-Severity=Success
-Facility=System
-SymbolicName=SCSI_DISK_DRIVER_INTERNAL
-Language=English
-SCSI_DISK_DRIVER_INTERNAL
-.
-
-MessageId=0x2E
-Severity=Success
-Facility=System
-SymbolicName=DATA_BUS_ERROR
-Language=English
-Run system diagnostics supplied by your hardware manufacturer.
-In particular, run a memory check, and check for faulty or
-mismatched memory. Try changing video adapters.
-
-Check with your hardware vendor for any BIOS updates. Disable
-BIOS memory options such as caching or shadowing. If you need
-to use Safe Mode to remove or disable components, restart your
-computer, press F8 to select Advanced Startup Options, and then
-select Safe Mode.
-.
-
-MessageId=0x2F
-Severity=Success
-Facility=System
-SymbolicName=INSTRUCTION_BUS_ERROR
-Language=English
-INSTRUCTION_BUS_ERROR
-.
-
-MessageId=0x30
-Severity=Success
-Facility=System
-SymbolicName=SET_OF_INVALID_CONTEXT
-Language=English
-SET_OF_INVALID_CONTEXT
-.
-
-MessageId=0x31
-Severity=Success
-Facility=System
-SymbolicName=PHASE0_INITIALIZATION_FAILED
-Language=English
-PHASE0_INITIALIZATION_FAILED
-.
-
-MessageId=0x32
-Severity=Success
-Facility=System
-SymbolicName=PHASE1_INITIALIZATION_FAILED
-Language=English
-PHASE1_INITIALIZATION_FAILED
-.
-
-MessageId=0x33
-Severity=Success
-Facility=System
-SymbolicName=UNEXPECTED_INITIALIZATION_CALL
-Language=English
-UNEXPECTED_INITIALIZATION_CALL
-.
-
-MessageId=0x34
-Severity=Success
-Facility=System
-SymbolicName=CACHE_MANAGER
-Language=English
-CACHE_MANAGER
-.
-
-MessageId=0x35
-Severity=Success
-Facility=System
-SymbolicName=NO_MORE_IRP_STACK_LOCATIONS
-Language=English
-NO_MORE_IRP_STACK_LOCATIONS
-.
-
-MessageId=0x36
-Severity=Success
-Facility=System
-SymbolicName=DEVICE_REFERENCE_COUNT_NOT_ZERO
-Language=English
-DEVICE_REFERENCE_COUNT_NOT_ZERO
-.
-
-MessageId=0x37
-Severity=Success
-Facility=System
-SymbolicName=FLOPPY_INTERNAL_ERROR
-Language=English
-FLOPPY_INTERNAL_ERROR
-.
-
-MessageId=0x38
-Severity=Success
-Facility=System
-SymbolicName=SERIAL_DRIVER_INTERNAL
-Language=English
-SERIAL_DRIVER_INTERNAL
-.
-
-MessageId=0x39
-Severity=Success
-Facility=System
-SymbolicName=SYSTEM_EXIT_OWNED_MUTEX
-Language=English
-SYSTEM_EXIT_OWNED_MUTEX
-.
-
-
-
-
-MessageId=0x3E
-Severity=Success
-Facility=System
-SymbolicName=MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED
-Language=English
-MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED
-.
-
-MessageId=0x3F
-Severity=Success
-Facility=System
-SymbolicName=NO_MORE_SYSTEM_PTES
-Language=English
-Remove any recently installed software including backup
-utilities or disk-intensive applications.
-
-If you need to use Safe Mode to remove or disable components,
-restart your computer, press F8 to select Advanced Startup
-Options, and then select Safe Mode.
-.
-
-MessageId=0x40
-Severity=Success
-Facility=System
-SymbolicName=TARGET_MDL_TOO_SMALL
-Language=English
-TARGET_MDL_TOO_SMALL
-.
-
-MessageId=0x41
-Severity=Success
-Facility=System
-SymbolicName=MUST_SUCCEED_POOL_EMPTY
-Language=English
-MUST_SUCCEED_POOL_EMPTY
-.
-
-MessageId=0x42
-Severity=Success
-Facility=System
-SymbolicName=ATDISK_DRIVER_INTERNAL
-Language=English
-ATDISK_DRIVER_INTERNAL
-.
-
-
-
-MessageId=0x44
-Severity=Success
-Facility=System
-SymbolicName=MULTIPLE_IRP_COMPLETE_REQUESTS
-Language=English
-MULTIPLE_IRP_COMPLETE_REQUESTS
-.
-
-MessageId=0x45
-Severity=Success
-Facility=System
-SymbolicName=INSUFFICIENT_SYSTEM_MAP_REGS
-Language=English
-INSUFFICIENT_SYSTEM_MAP_REGS
-.
-
-
-
-MessageId=0x48
-Severity=Success
-Facility=System
-SymbolicName=CANCEL_STATE_IN_COMPLETED_IRP
-Language=English
-CANCEL_STATE_IN_COMPLETED_IRP
-.
-
-MessageId=0x49
-Severity=Success
-Facility=System
-SymbolicName=PAGE_FAULT_WITH_INTERRUPTS_OFF
-Language=English
-PAGE_FAULT_WITH_INTERRUPTS_OFF
-.
-
-MessageId=0x4A
-Severity=Success
-Facility=System
-SymbolicName=IRQL_GT_ZERO_AT_SYSTEM_SERVICE
-Language=English
-IRQL_GT_ZERO_AT_SYSTEM_SERVICE
-.
-
-MessageId=0x4B
-Severity=Success
-Facility=System
-SymbolicName=STREAMS_INTERNAL_ERROR
-Language=English
-STREAMS_INTERNAL_ERROR
-.
-
-MessageId=0x4C
-Severity=Success
-Facility=System
-SymbolicName=FATAL_UNHANDLED_HARD_ERROR
-Language=English
-FATAL_UNHANDLED_HARD_ERROR
-.
-
-MessageId=0x4D
-Severity=Success
-Facility=System
-SymbolicName=NO_PAGES_AVAILABLE
-Language=English
-NO_PAGES_AVAILABLE
-.
-
-MessageId=0x4E
-Severity=Success
-Facility=System
-SymbolicName=PFN_LIST_CORRUPT
-Language=English
-PFN_LIST_CORRUPT
-.
-
-MessageId=0x4F
-Severity=Success
-Facility=System
-SymbolicName=NDIS_INTERNAL_ERROR
-Language=English
-NDIS_INTERNAL_ERROR
-.
-
-MessageId=0x50
-Severity=Success
-Facility=System
-SymbolicName=PAGE_FAULT_IN_NONPAGED_AREA
-Language=English
-PAGE_FAULT_IN_NONPAGED_AREA
-.
-
-MessageId=0x51
-Severity=Success
-Facility=System
-SymbolicName=REGISTRY_ERROR
-Language=English
-REGISTRY_ERROR
-.
-
-MessageId=0x52
-Severity=Success
-Facility=System
-SymbolicName=MAILSLOT_FILE_SYSTEM
-Language=English
-MAILSLOT_FILE_SYSTEM
-.
-
-MessageId=0x53
-Severity=Success
-Facility=System
-SymbolicName=NO_BOOT_DEVICE
-Language=English
-NO_BOOT_DEVICE
-.
-
-MessageId=0x54
-Severity=Success
-Facility=System
-SymbolicName=LM_SERVER_INTERNAL_ERROR
-Language=English
-LM_SERVER_INTERNAL_ERROR
-.
-
-MessageId=0x55
-Severity=Success
-Facility=System
-SymbolicName=DATA_COHERENCY_EXCEPTION
-Language=English
-DATA_COHERENCY_EXCEPTION
-.
-
-MessageId=0x56
-Severity=Success
-Facility=System
-SymbolicName=INSTRUCTION_COHERENCY_EXCEPTION
-Language=English
-INSTRUCTION_COHERENCY_EXCEPTION
-.
-
-MessageId=0x57
-Severity=Success
-Facility=System
-SymbolicName=XNS_INTERNAL_ERROR
-Language=English
-XNS_INTERNAL_ERROR
-.
-
-MessageId=0x58
-Severity=Success
-Facility=System
-SymbolicName=FTDISK_INTERNAL_ERROR
-Language=English
-FTDISK_INTERNAL_ERROR
-.
-
-MessageId=0x59
-Severity=Success
-Facility=System
-SymbolicName=PINBALL_FILE_SYSTEM
-Language=English
-PINBALL_FILE_SYSTEM
-.
-
-
-
-MessageId=0x5C
-Severity=Success
-Facility=System
-SymbolicName=HAL_INITIALIZATION_FAILED
-Language=English
-HAL_INITIALIZATION_FAILED
-.
-
-MessageId=0x5D
-Severity=Success
-Facility=System
-SymbolicName=HEAP_INITIALIZATION_FAILED
-Language=English
-HEAP_INITIALIZATION_FAILED
-.
-
-MessageId=0x5E
-Severity=Success
-Facility=System
-SymbolicName=OBJECT_INITIALIZATION_FAILED
-Language=English
-OBJECT_INITIALIZATION_FAILED
-.
-
-MessageId=0x5F
-Severity=Success
-Facility=System
-SymbolicName=SECURITY_INITIALIZATION_FAILED
-Language=English
-SECURITY_INITIALIZATION_FAILED
-.
-
-MessageId=0x60
-Severity=Success
-Facility=System
-SymbolicName=PROCESS_INITIALIZATION_FAILED
-Language=English
-PROCESS_INITIALIZATION_FAILED
-.
-
-MessageId=0x61
-Severity=Success
-Facility=System
-SymbolicName=HAL1_INITIALIZATION_FAILED
-Language=English
-HAL1_INITIALIZATION_FAILED
-.
-
-MessageId=0x62
-Severity=Success
-Facility=System
-SymbolicName=OBJECT1_INITIALIZATION_FAILED
-Language=English
-OBJECT1_INITIALIZATION_FAILED
-.
-
-MessageId=0x63
-Severity=Success
-Facility=System
-SymbolicName=SECURITY1_INITIALIZATION_FAILED
-Language=English
-SECURITY1_INITIALIZATION_FAILED
-.
-
-MessageId=0x64
-Severity=Success
-Facility=System
-SymbolicName=SYMBOLIC_INITIALIZATION_FAILED
-Language=English
-SYMBOLIC_INITIALIZATION_FAILED
-.
-
-MessageId=0x65
-Severity=Success
-Facility=System
-SymbolicName=MEMORY1_INITIALIZATION_FAILED
-Language=English
-MEMORY1_INITIALIZATION_FAILED
-.
-
-MessageId=0x66
-Severity=Success
-Facility=System
-SymbolicName=CACHE_INITIALIZATION_FAILED
-Language=English
-CACHE_INITIALIZATION_FAILED
-.
-
-MessageId=0x67
-Severity=Success
-Facility=System
-SymbolicName=CONFIG_INITIALIZATION_FAILED
-Language=English
-CONFIG_INITIALIZATION_FAILED
-.
-
-MessageId=0x68
-Severity=Success
-Facility=System
-SymbolicName=FILE_INITIALIZATION_FAILED
-Language=English
-FILE_INITIALIZATION_FAILED
-.
-
-MessageId=0x69
-Severity=Success
-Facility=System
-SymbolicName=IO1_INITIALIZATION_FAILED
-Language=English
-IO1_INITIALIZATION_FAILED
-.
-
-MessageId=0x6A
-Severity=Success
-Facility=System
-SymbolicName=LPC_INITIALIZATION_FAILED
-Language=English
-LPC_INITIALIZATION_FAILED
-.
-
-MessageId=0x6B
-Severity=Success
-Facility=System
-SymbolicName=PROCESS1_INITIALIZATION_FAILED
-Language=English
-PROCESS1_INITIALIZATION_FAILED
-.
-
-MessageId=0x6C
-Severity=Success
-Facility=System
-SymbolicName=REFMON_INITIALIZATION_FAILED
-Language=English
-REFMON_INITIALIZATION_FAILED
-.
-
-MessageId=0x6D
-Severity=Success
-Facility=System
-SymbolicName=SESSION1_INITIALIZATION_FAILED
-Language=English
-SESSION1_INITIALIZATION_FAILED
-.
-
-MessageId=0x6E
-Severity=Success
-Facility=System
-SymbolicName=SESSION2_INITIALIZATION_FAILED
-Language=English
-SESSION2_INITIALIZATION_FAILED
-.
-
-MessageId=0x6F
-Severity=Success
-Facility=System
-SymbolicName=SESSION3_INITIALIZATION_FAILED
-Language=English
-SESSION3_INITIALIZATION_FAILED
-.
-
-MessageId=0x70
-Severity=Success
-Facility=System
-SymbolicName=SESSION4_INITIALIZATION_FAILED
-Language=English
-SESSION4_INITIALIZATION_FAILED
-.
-
-MessageId=0x71
-Severity=Success
-Facility=System
-SymbolicName=SESSION5_INITIALIZATION_FAILED
-Language=English
-SESSION5_INITIALIZATION_FAILED
-.
-
-MessageId=0x72
-Severity=Success
-Facility=System
-SymbolicName=ASSIGN_DRIVE_LETTERS_FAILED
-Language=English
-ASSIGN_DRIVE_LETTERS_FAILED
-.
-
-MessageId=0x73
-Severity=Success
-Facility=System
-SymbolicName=CONFIG_LIST_FAILED
-Language=English
-CONFIG_LIST_FAILED
-.
-
-MessageId=0x74
-Severity=Success
-Facility=System
-SymbolicName=BAD_SYSTEM_CONFIG_INFO
-Language=English
-BAD_SYSTEM_CONFIG_INFO
-.
-
-MessageId=0x75
-Severity=Success
-Facility=System
-SymbolicName=CANNOT_WRITE_CONFIGURATION
-Language=English
-CANNOT_WRITE_CONFIGURATION
-.
-
-MessageId=0x76
-Severity=Success
-Facility=System
-SymbolicName=PROCESS_HAS_LOCKED_PAGES
-Language=English
-PROCESS_HAS_LOCKED_PAGES
-.
-
-MessageId=0x77
-Severity=Success
-Facility=System
-SymbolicName=KERNEL_STACK_INPAGE_ERROR
-Language=English
-KERNEL_STACK_INPAGE_ERROR
-.
-
-MessageId=0x78
-Severity=Success
-Facility=System
-SymbolicName=PHASE0_EXCEPTION
-Language=English
-PHASE0_EXCEPTION
-.
-
-MessageId=0x79
-Severity=Success
-Facility=System
-SymbolicName=MISMATCHED_HAL
-Language=English
-Mismatched Kernel and HAL image
-.
-
-MessageId=0x7A
-Severity=Success
-Facility=System
-SymbolicName=KERNEL_DATA_INPAGE_ERROR
-Language=English
-KERNEL_DATA_INPAGE_ERROR
-.
-
-MessageId=0x7B
-Severity=Success
-Facility=System
-SymbolicName=INACCESSIBLE_BOOT_DEVICE
-Language=English
-Check for viruses on your computer. Remove any newly installed
-hard drives or hard drive controllers. Check your hard drive
-to make sure it is properly configured and terminated.
-Run CHKDSK /F to check for hard drive corruption, and then
-restart your computer.
-.
-
-
-
-MessageId=0x7D
-Severity=Success
-Facility=System
-SymbolicName=INSTALL_MORE_MEMORY
-Language=English
-INSTALL_MORE_MEMORY
-.
-
-MessageId=0x7E
-Severity=Success
-Facility=System
-SymbolicName=UNEXPECTED_KERNEL_MODE_TRAP
-Language=English
-Run a system diagnostic utility supplied by your hardware manufacturer.
-In particular, run a memory check, and check for faulty or mismatched
-memory. Try changing video adapters.
-Disable or remove any newly installed hardware and drivers. Disable or
-remove any newly installed software. If you need to use Safe Mode to
-remove or disable components, restart your computer, press F8 to select
-Advanced Startup Options, and then select Safe Mode.
-.
-
-MessageId=0x7F
-Severity=Success
-Facility=System
-SymbolicName=NMI_HARDWARE_FAILURE
-Language=English
-Hardware malfunction
-.
-
-MessageId=0x80
-Severity=Success
-Facility=System
-SymbolicName=KERNEL_MODE_EXCEPTION_NOT_HANDLED
-Language=English
-KERNEL_MODE_EXCEPTION_NOT_HANDLED
-.
-
-MessageId=0x8E
-Severity=Success
-Facility=System
-SymbolicName=SPIN_LOCK_INIT_FAILURE
-Language=English
-SPIN_LOCK_INIT_FAILURE
-.
-
-MessageId=0x8F
-Severity=Success
-Facility=System
-SymbolicName=PP0_INITIALIZATION_FAILED
-Language=English
-PP0_INITIALIZATION_FAILED
-.
-
-MessageId=0x90
-Severity=Success
-Facility=System
-SymbolicName=PP1_INITIALIZATION_FAILED
-Language=English
-PP1_INITIALIZATION_FAILED
-.
-
-MessageId=0x94
-Severity=Success
-Facility=System
-SymbolicName=KERNEL_STACK_LOCKED_AT_EXIT
-Language=English
-KERNEL_STACK_LOCKED_AT_EXIT
-.
-
-MessageId=0x96
-Severity=Success
-Facility=System
-SymbolicName=INVALID_WORK_QUEUE_ITEM
-Language=English
-INVALID_WORK_QUEUE_ITEM
-.
-
-MessageId=0xA0
-Severity=Success
-Facility=System
-SymbolicName=INTERNAL_POWER_ERROR
-Language=English
-INTERNAL_POWER_ERROR
-.
-
-MessageId=0xA5
-Severity=Success
-Facility=System
-SymbolicName=ACPI_BIOS_ERROR
-Language=English
-The BIOS in this system is not fully ACPI compliant.  Please contact your
-system vendor for an updated BIOS.
-.
-
-MessageId=0xA8
-Severity=Informational
-Facility=System
-SymbolicName=BOOTING_IN_SAFEMODE_MINIMAL
-Language=English
-The system is booting in safemode - Minimal Services
-.
-
-MessageId=0xA9
-Severity=Informational
-Facility=System
-SymbolicName=BOOTING_IN_SAFEMODE_NETWORK
-Language=English
-The system is booting in safemode - Minimal Services with Network
-.
-
-MessageId=0xAA
-Severity=Informational
-Facility=System
-SymbolicName=BOOTING_IN_SAFEMODE_DSREPAIR
-Language=English
-The system is booting in safemode - Directory Services Repair
-.
-
-MessageId=0xB4
-Severity=Success
-Facility=System
-SymbolicName=VIDEO_DRIVER_INIT_FAILURE
-Language=English
-VIDEO_DRIVER_INIT_FAILURE
-.
-
-MessageId=0xB7
-Severity=Informational
-Facility=System
-SymbolicName=BOOTLOG_ENABLED
-Language=English
-Boot Logging Enabled
-.
-
-MessageId=0xBE
-Severity=Success
-Facility=System
-SymbolicName=ATTEMPTED_WRITE_TO_READONLY_MEMORY
-Language=English
-ATTEMPTED_WRITE_TO_READONLY_MEMORY
-.
-
-MessageId=0xC2
-Severity=Success
-Facility=System
-SymbolicName=BAD_POOL_CALLER
-Language=English
-BAD_POOL_CALLER
-.
-
-MessageId=0xC3
-Severity=Success
-Facility=System
-SymbolicName=BUGCODE_PSS_MESSAGE_SIGNATURE
-Language=English
-A system file that is owned by ReactOS was replaced by an application
-running on your system.  The operating system detected this and tried to
-verify the validity of the file's signature.  The operating system found that
-the file signature is not valid and put the original, correct file back
-so that your operating system will continue to function properly.
-.
-
-MessageId=0xC5
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_CORRUPTED_EXPOOL
-Language=English
-A device driver has pool.
-Check to make sure any new hardware or software is properly installed.
-If this is a new installation, ask your hardware or software manufacturer
-for any ReactOS updates you might need.
-
-Run the driver verifier against any new (or suspect) drivers.
-If that doesn't reveal the corrupting driver, try enabling special pool.
-Both of these features are intended to catch the corruption at an earlier
-point where the offending driver can be identified.
-
-If you need to use Safe Mode to remove or disable components,
-restart your computer, press F8 to select Advanced Startup Options,
-and then select Safe Mode.
-.
-
-MessageId=0xC8
-Severity=Success
-Facility=System
-SymbolicName=IRQL_UNEXPECTED_VALUE
-Language=English
-The processor's IRQL is not valid for the currently executing context.
-This is a software error condition and is usually caused by a device
-driver changing IRQL and not restoring it to its previous value when
-it has finished its task.
-.
-
-MessageId=0xCB
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS
-Language=English
-DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS
-.
-
-MessageId=0xCE
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS
-Language=English
-DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS
-.
-
-MessageId=0xD0
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_CORRUPTED_MMPOOL
-Language=English
-DRIVER_CORRUPTED_MMPOOL
-.
-
-MessageId=0xD1
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_IRQL_NOT_LESS_OR_EQUAL
-Language=English
-DRIVER_IRQL_NOT_LESS_OR_EQUAL
-.
-
-MessageId=0xD3
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_PORTION_MUST_BE_NONPAGED
-Language=English
-DRIVER_PORTION_MUST_BE_NONPAGED
-.
-
-MessageId=0xD8
-Severity=Success
-Facility=System
-SymbolicName=DRIVER_USED_EXCESSIVE_PTES
-Language=English
-DRIVER_USED_EXCESSIVE_PTES
-.
-
-MessageId=0xD4
-Severity=Success
-Facility=System
-SymbolicName=SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD
-Language=English
-SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD
-.
-
-MessageId=0xE0
-Severity=Success
-Facility=System
-SymbolicName=ACPI_BIOS_FATAL_ERROR
-Language=English
-
-Your computer (BIOS) has reported that a component in your system is faulty and
-has prevented ReactOS from operating.  You can determine which component is
-faulty by running the diagnostic disk or tool that came with your computer.
-
-If you do not have this tool, you must contact your system vendor and report
-this error message to them.  They will be able to assist you in correcting this
-hardware problem thereby allowing ReactOS to operate.
-.
-
-MessageId=0xE1
-Severity=Success
-Facility=System
-SymbolicName=WORKER_THREAD_RETURNED_AT_BAD_IRQL
-Language=English
-WORKER_THREAD_RETURNED_AT_BAD_IRQL
-.
-
-MessageId=0xE2
-Severity=Success
-Facility=System
-SymbolicName=MANUALLY_INITIATED_CRASH
-Language=English
-MANUALLY_INITIATED_CRASH
-.
-
-MessageId=0xE3
-Severity=Success
-Facility=System
-SymbolicName=RESOURCE_NOT_OWNED
-Language=English
-RESOURCE_NOT_OWNED
-.
-
-MessageId=0xE4
-Severity=Success
-Facility=System
-SymbolicName=WORKER_INVALID
-Language=English
-WORKER_INVALID
-.
-
-MessageId=0xE5
-Severity=Success
-Facility=System
-SymbolicName=POWER_FAILURE_SIMULATE
-Language=English
-POWER_FAILURE_SIMULATE
-.
-
-MessageId=0xFA
-Severity=Success
-Facility=System
-SymbolicName=IMPERSONATING_WORKER_THREAD
-Language=English
-IMPERSONATING_WORKER_THREAD
-.
-
-MessageId=0x7E
-Severity=Informational
-Facility=System
-SymbolicName=WINDOWS_NT_BANNER
-Language=English
-ReactOS (R) Kernel Version %hs (Build %u%hs)
-.
-
-MessageId=0x87
-Severity=Informational
-Facility=System
-SymbolicName=WINDOWS_NT_CSD_STRING
-Language=English
-Service Pack
-.
-
-MessageId=0x88
-Severity=Informational
-Facility=System
-SymbolicName=WINDOWS_NT_INFO_STRING
-Language=English
-%u System Processor [%u MB Memory] %Z
-.
-
-MessageId=0x89
-Severity=Informational
-Facility=System
-SymbolicName=WINDOWS_NT_MP_STRING
-Language=English
-MultiProcessor Kernel
-.
-
-MessageId=0x9D
-Severity=Informational
-Facility=System
-SymbolicName=WINDOWS_NT_INFO_STRING_PLURAL
-Language=English
-%u System Processors [%u MB Memory] %Z
-.
-
-MessageId=0x9F
-Severity=Informational
-Facility=System
-SymbolicName=REACTOS_COPYRIGHT_NOTICE
-Language=English
-\n\nReactOS is free software, covered by the GNU General Public License,
- and you\n are welcome to change it and/or distribute copies of it under
- certain\n conditions. There is absolutely no warranty for ReactOS.\n
-.
-
-MessageId=0xE9
-Severity=Success
-Facility=System
-SymbolicName=ACTIVE_EX_WORKER_THREAD_TERMINATION
-Language=English
-ACTIVE_EX_WORKER_THREAD_TERMINATION
-.
-
-MessageId=0xEA
-Severity=Success
-Facility=System
-SymbolicName=THREAD_STUCK_IN_DEVICE_DRIVER
-Language=English
-
-The device driver got stuck in an infinite loop. This usually indicates
-problem with the device itself or with the device driver programming the
-hardware incorrectly.
-
-Please check with your hardware device vendor for any driver updates.
-.
-
-MessageId=0xEF
-Severity=Success
-Facility=System
-SymbolicName=CRITICAL_PROCESS_DIED
-Language=English
-CRITICAL_PROCESS_DIED
-.
-
-MessageId=0xF4
-Severity=Success
-Facility=System
-SymbolicName=CRITICAL_OBJECT_TERMINATION
-Language=English
-CRITICAL_OBJECT_TERMINATION
-.
-
-MessageId=0xFC
-Severity=Success
-Facility=System
-SymbolicName=ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY
-Language=English
-ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY
-.
-
-; EOF
+;\r
+; ntoskrnl.exe bug codes \r
+;\r
+\r
+MessageIdTypedef=ULONG\r
+\r
+SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS\r
+               Informational=0x1:STATUS_SEVERITY_INFORMATIONAL\r
+               Warning=0x2:STATUS_SEVERITY_WARNING\r
+               Error=0x3:STATUS_SEVERITY_ERROR\r
+              )\r
+\r
+FacilityNames=(System=0x0:FACILITY_SYSTEM\r
+               Runtime=0x2:FACILITY_RUNTIME\r
+               Stubs=0x3:FACILITY_STUBS\r
+               Io=0x4:FACILITY_IO_ERROR_CODE\r
+              )\r
+\r
+LanguageNames=(English=0x409:MSG00409)\r
+\r
+;\r
+; message definitions\r
+;\r
+MessageId=0x7F\r
+Severity=Warning\r
+Facility=System\r
+SymbolicName=BUGCHECK_MESSAGE_INTRO\r
+Language=English\r
+A problem has been detected and ReactOS has been shut down to prevent damage\r
+to your computer.\r
+.\r
+\r
+MessageId=0x80\r
+Severity=Warning\r
+Facility=System\r
+SymbolicName=BUGCODE_ID_DRIVER\r
+Language=English\r
+The problem seems to be caused by the following file:\r
+\r
+.\r
+\r
+MessageId=0x81\r
+Severity=Warning\r
+Facility=System\r
+SymbolicName=PSS_MESSAGE_INTRO\r
+Language=English\r
+If this is the first time you've seen this Stop error screen,\r
+restart your computer. If this screen appears again, follow\r
+these steps:\r
+\r
+.\r
+\r
+MessageId=0x82\r
+Severity=Warning\r
+Facility=System\r
+SymbolicName=BUGCODE_PSS_MESSAGE\r
+Language=English\r
+Check to make sure any new hardware or software is properly installed.\r
+If this is a new installation, ask your hardware or software manufacturer\r
+for any ReactOS updates you might need.\r
+\r
+If problems continue, disable or remove any newly installed hardware\r
+or software. Disable BIOS memory options such as caching or shadowing.\r
+If you need to use Safe Mode to remove or disable components, restart\r
+your computer, press F8 to select Advanced Startup Options, and then\r
+select Safe Mode.\r
+.\r
+\r
+MessageId=0x83\r
+Severity=Warning\r
+Facility=System\r
+SymbolicName=BUGCHECK_TECH_INFO\r
+Language=English\r
+Technical information:\r
+.\r
+\r
+MessageId=0x0\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=UNDEFINED_BUG_CODE\r
+Language=English\r
+The bug code is undefined. Please use an existing code instead.\r
+.\r
+\r
+MessageId=0x01\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=APC_INDEX_MISMATCH\r
+Language=English\r
+APC_INDEX_MISMATCH\r
+.\r
+\r
+MessageId=0x02\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DEVICE_QUEUE_NOT_BUSY\r
+Language=English\r
+DEVICE_QUEUE_NOT_BUSY\r
+.\r
+\r
+MessageId=0x3\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INVALID_AFFINITY_SET\r
+Language=English\r
+INVALID_AFFINITY_SET\r
+.\r
+\r
+MessageId=0x04\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INVALID_DATA_ACCESS_TRAP\r
+Language=English\r
+INVALID_DATA_ACCESS_TRAP\r
+.\r
+\r
+MessageId=0x05\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INVALID_PROCESS_ATTACH_ATTEMPT\r
+Language=English\r
+INVALID_PROCESS_ATTACH_ATTEMPT\r
+.\r
+\r
+MessageId=0x06\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INVALID_PROCESS_DETACH_ATTEMPT\r
+Language=English\r
+INVALID_PROCESS_DETACH_ATTEMPT\r
+.\r
+\r
+MessageId=0x7\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INVALID_SOFTWARE_INTERRUPT\r
+Language=English\r
+INVALID_SOFTWARE_INTERRUPT\r
+.\r
+\r
+MessageId=0x08\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IRQL_NOT_DISPATCH_LEVEL\r
+Language=English\r
+IRQL_NOT_DISPATCH_LEVEL\r
+.\r
+\r
+MessageId=0x09\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IRQL_NOT_GREATER_OR_EQUAL\r
+Language=English\r
+IRQL_NOT_GREATER_OR_EQUAL\r
+.\r
+\r
+MessageId=0x0A\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IRQL_NOT_LESS_OR_EQUAL\r
+Language=English\r
+IRQL_NOT_LESS_OR_EQUAL\r
+.\r
+\r
+MessageId=0x0B\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_EXCEPTION_HANDLING_SUPPORT\r
+Language=English\r
+NO_EXCEPTION_HANDLING_SUPPORT\r
+.\r
+\r
+MessageId=0x0C\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MAXIMUM_WAIT_OBJECTS_EXCEEDED\r
+Language=English\r
+MAXIMUM_WAIT_OBJECTS_EXCEEDED\r
+.\r
+\r
+MessageId=0x0D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MUTEX_LEVEL_NUMBER_VIOLATION\r
+Language=English\r
+MUTEX_LEVEL_NUMBER_VIOLATION\r
+.\r
+\r
+MessageId=0x0E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_USER_MODE_CONTEXT\r
+Language=English\r
+NO_USER_MODE_CONTEXT\r
+.\r
+\r
+MessageId=0x0F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SPIN_LOCK_ALREADY_OWNED\r
+Language=English\r
+SPIN_LOCK_ALREADY_OWNED\r
+.\r
+\r
+MessageId=0x10\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SPIN_LOCK_NOT_OWNED\r
+Language=English\r
+SPIN_LOCK_NOT_OWNED\r
+.\r
+\r
+MessageId=0x11\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=THREAD_NOT_MUTEX_OWNER\r
+Language=English\r
+THREAD_NOT_MUTEX_OWNER\r
+.\r
+\r
+MessageId=0x12\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=TRAP_CAUSE_UNKNOWN\r
+Language=English\r
+TRAP_CAUSE_UNKNOWN\r
+.\r
+\r
+MessageId=0x13\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=EMPTY_THREAD_REAPER_LIST\r
+Language=English\r
+EMPTY_THREAD_REAPER_LIST\r
+.\r
+\r
+MessageId=0x14\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CREATE_DELETE_LOCK_NOT_LOCKED\r
+Language=English\r
+The thread reaper was handed a thread to reap, but the thread's process'\r
+.\r
+\r
+MessageId=0x15\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=LAST_CHANCE_CALLED_FROM_KMODE\r
+Language=English\r
+LAST_CHANCE_CALLED_FROM_KMODE\r
+.\r
+\r
+MessageId=0x16\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CID_HANDLE_CREATION\r
+Language=English\r
+CID_HANDLE_CREATION\r
+.\r
+\r
+MessageId=0x17\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CID_HANDLE_DELETION\r
+Language=English\r
+CID_HANDLE_DELETION\r
+.\r
+\r
+MessageId=0x18\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=REFERENCE_BY_POINTER\r
+Language=English\r
+REFERENCE_BY_POINTER\r
+.\r
+\r
+MessageId=0x19\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=BAD_POOL_HEADER\r
+Language=English\r
+BAD_POOL_HEADER\r
+.\r
+\r
+MessageId=0x1A\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MEMORY_MANAGEMENT\r
+Language=English\r
+MEMORY_MANAGEMENT\r
+.\r
+\r
+MessageId=0x1B\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PFN_SHARE_COUNT\r
+Language=English\r
+PFN_SHARE_COUNT\r
+.\r
+\r
+MessageId=0x1C\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PFN_REFERENCE_COUNT\r
+Language=English\r
+PFN_REFERENCE_COUNT\r
+.\r
+\r
+MessageId=0x1D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_SPINLOCK_AVAILABLE\r
+Language=English\r
+NO_SPINLOCK_AVAILABLE\r
+.\r
+\r
+MessageId=0x1E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=KMODE_EXCEPTION_NOT_HANDLED\r
+Language=English\r
+Check to be sure you have adequate disk space. If a driver is\r
+identified in the Stop message, disable the driver or check\r
+with the manufacturer for driver updates. Try changing video\r
+adapters.\r
+\r
+Check with your hardware vendor for any BIOS updates. Disable\r
+BIOS memory options such as caching or shadowing. If you need\r
+to use Safe Mode to remove or disable components, restart your\r
+computer, press F8 to select Advanced Startup Options, and then\r
+select Safe Mode.\r
+.\r
+\r
+MessageId=0x1F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SHARED_RESOURCE_CONV_ERROR\r
+Language=English\r
+SHARED_RESOURCE_CONV_ERROR\r
+.\r
+\r
+MessageId=0x20\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=KERNEL_APC_PENDING_DURING_EXIT\r
+Language=English\r
+KERNEL_APC_PENDING_DURING_EXIT\r
+.\r
+\r
+MessageId=0x21\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=QUOTA_UNDERFLOW\r
+Language=English\r
+QUOTA_UNDERFLOW\r
+.\r
+\r
+MessageId=0x22\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=FILE_SYSTEM\r
+Language=English\r
+FILE_SYSTEM\r
+.\r
+\r
+MessageId=0x23\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=FAT_FILE_SYSTEM\r
+Language=English\r
+Disable or uninstall any anti-virus, disk defragmentation\r
+or backup utilities. Check your hard drive configuration,\r
+and check for any updated drivers. Run CHKDSK /F to check\r
+for hard drive corruption, and then restart your computer.\r
+.\r
+\r
+MessageId=0x24\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NTFS_FILE_SYSTEM\r
+Language=English\r
+NTFS_FILE_SYSTEM\r
+.\r
+\r
+MessageId=0x25\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NPFS_FILE_SYSTEM\r
+Language=English\r
+NPFS_FILE_SYSTEM\r
+.\r
+\r
+MessageId=0x26\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CDFS_FILE_SYSTEM\r
+Language=English\r
+CDFS_FILE_SYSTEM\r
+.\r
+\r
+MessageId=0x27\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=RDR_FILE_SYSTEM\r
+Language=English\r
+RDR_FILE_SYSTEM\r
+.\r
+\r
+MessageId=0x28\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CORRUPT_ACCESS_TOKEN\r
+Language=English\r
+CORRUPT_ACCESS_TOKEN\r
+.\r
+\r
+MessageId=0x29\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SECURITY_SYSTEM\r
+Language=English\r
+SECURITY_SYSTEM\r
+.\r
+\r
+MessageId=0x2A\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INCONSISTENT_IRP\r
+Language=English\r
+INCONSISTENT_IRP\r
+.\r
+\r
+MessageId=0x2B\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PANIC_STACK_SWITCH\r
+Language=English\r
+PANIC_STACK_SWITCH\r
+.\r
+\r
+MessageId=0x2C\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PORT_DRIVER_INTERNAL\r
+Language=English\r
+PORT_DRIVER_INTERNAL\r
+.\r
+\r
+MessageId=0x2D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SCSI_DISK_DRIVER_INTERNAL\r
+Language=English\r
+SCSI_DISK_DRIVER_INTERNAL\r
+.\r
+\r
+MessageId=0x2E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DATA_BUS_ERROR\r
+Language=English\r
+Run system diagnostics supplied by your hardware manufacturer.\r
+In particular, run a memory check, and check for faulty or\r
+mismatched memory. Try changing video adapters.\r
+\r
+Check with your hardware vendor for any BIOS updates. Disable\r
+BIOS memory options such as caching or shadowing. If you need\r
+to use Safe Mode to remove or disable components, restart your\r
+computer, press F8 to select Advanced Startup Options, and then\r
+select Safe Mode.\r
+.\r
+\r
+MessageId=0x2F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INSTRUCTION_BUS_ERROR\r
+Language=English\r
+INSTRUCTION_BUS_ERROR\r
+.\r
+\r
+MessageId=0x30\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SET_OF_INVALID_CONTEXT\r
+Language=English\r
+SET_OF_INVALID_CONTEXT\r
+.\r
+\r
+MessageId=0x31\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PHASE0_INITIALIZATION_FAILED\r
+Language=English\r
+PHASE0_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x32\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PHASE1_INITIALIZATION_FAILED\r
+Language=English\r
+PHASE1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x33\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=UNEXPECTED_INITIALIZATION_CALL\r
+Language=English\r
+UNEXPECTED_INITIALIZATION_CALL\r
+.\r
+\r
+MessageId=0x34\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CACHE_MANAGER\r
+Language=English\r
+CACHE_MANAGER\r
+.\r
+\r
+MessageId=0x35\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_MORE_IRP_STACK_LOCATIONS\r
+Language=English\r
+NO_MORE_IRP_STACK_LOCATIONS\r
+.\r
+\r
+MessageId=0x36\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DEVICE_REFERENCE_COUNT_NOT_ZERO\r
+Language=English\r
+DEVICE_REFERENCE_COUNT_NOT_ZERO\r
+.\r
+\r
+MessageId=0x37\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=FLOPPY_INTERNAL_ERROR\r
+Language=English\r
+FLOPPY_INTERNAL_ERROR\r
+.\r
+\r
+MessageId=0x38\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SERIAL_DRIVER_INTERNAL\r
+Language=English\r
+SERIAL_DRIVER_INTERNAL\r
+.\r
+\r
+MessageId=0x39\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SYSTEM_EXIT_OWNED_MUTEX\r
+Language=English\r
+SYSTEM_EXIT_OWNED_MUTEX\r
+.\r
+\r
+\r
+\r
+\r
+MessageId=0x3E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED\r
+Language=English\r
+MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED\r
+.\r
+\r
+MessageId=0x3F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_MORE_SYSTEM_PTES\r
+Language=English\r
+Remove any recently installed software including backup\r
+utilities or disk-intensive applications.\r
+\r
+If you need to use Safe Mode to remove or disable components,\r
+restart your computer, press F8 to select Advanced Startup\r
+Options, and then select Safe Mode.\r
+.\r
+\r
+MessageId=0x40\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=TARGET_MDL_TOO_SMALL\r
+Language=English\r
+TARGET_MDL_TOO_SMALL\r
+.\r
+\r
+MessageId=0x41\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MUST_SUCCEED_POOL_EMPTY\r
+Language=English\r
+MUST_SUCCEED_POOL_EMPTY\r
+.\r
+\r
+MessageId=0x42\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ATDISK_DRIVER_INTERNAL\r
+Language=English\r
+ATDISK_DRIVER_INTERNAL\r
+.\r
+\r
+\r
+\r
+MessageId=0x44\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MULTIPLE_IRP_COMPLETE_REQUESTS\r
+Language=English\r
+MULTIPLE_IRP_COMPLETE_REQUESTS\r
+.\r
+\r
+MessageId=0x45\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INSUFFICIENT_SYSTEM_MAP_REGS\r
+Language=English\r
+INSUFFICIENT_SYSTEM_MAP_REGS\r
+.\r
+\r
+\r
+\r
+MessageId=0x48\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CANCEL_STATE_IN_COMPLETED_IRP\r
+Language=English\r
+CANCEL_STATE_IN_COMPLETED_IRP\r
+.\r
+\r
+MessageId=0x49\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PAGE_FAULT_WITH_INTERRUPTS_OFF\r
+Language=English\r
+PAGE_FAULT_WITH_INTERRUPTS_OFF\r
+.\r
+\r
+MessageId=0x4A\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IRQL_GT_ZERO_AT_SYSTEM_SERVICE\r
+Language=English\r
+IRQL_GT_ZERO_AT_SYSTEM_SERVICE\r
+.\r
+\r
+MessageId=0x4B\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=STREAMS_INTERNAL_ERROR\r
+Language=English\r
+STREAMS_INTERNAL_ERROR\r
+.\r
+\r
+MessageId=0x4C\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=FATAL_UNHANDLED_HARD_ERROR\r
+Language=English\r
+FATAL_UNHANDLED_HARD_ERROR\r
+.\r
+\r
+MessageId=0x4D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_PAGES_AVAILABLE\r
+Language=English\r
+NO_PAGES_AVAILABLE\r
+.\r
+\r
+MessageId=0x4E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PFN_LIST_CORRUPT\r
+Language=English\r
+PFN_LIST_CORRUPT\r
+.\r
+\r
+MessageId=0x4F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NDIS_INTERNAL_ERROR\r
+Language=English\r
+NDIS_INTERNAL_ERROR\r
+.\r
+\r
+MessageId=0x50\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PAGE_FAULT_IN_NONPAGED_AREA\r
+Language=English\r
+PAGE_FAULT_IN_NONPAGED_AREA\r
+.\r
+\r
+MessageId=0x51\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=REGISTRY_ERROR\r
+Language=English\r
+REGISTRY_ERROR\r
+.\r
+\r
+MessageId=0x52\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MAILSLOT_FILE_SYSTEM\r
+Language=English\r
+MAILSLOT_FILE_SYSTEM\r
+.\r
+\r
+MessageId=0x53\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NO_BOOT_DEVICE\r
+Language=English\r
+NO_BOOT_DEVICE\r
+.\r
+\r
+MessageId=0x54\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=LM_SERVER_INTERNAL_ERROR\r
+Language=English\r
+LM_SERVER_INTERNAL_ERROR\r
+.\r
+\r
+MessageId=0x55\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DATA_COHERENCY_EXCEPTION\r
+Language=English\r
+DATA_COHERENCY_EXCEPTION\r
+.\r
+\r
+MessageId=0x56\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INSTRUCTION_COHERENCY_EXCEPTION\r
+Language=English\r
+INSTRUCTION_COHERENCY_EXCEPTION\r
+.\r
+\r
+MessageId=0x57\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=XNS_INTERNAL_ERROR\r
+Language=English\r
+XNS_INTERNAL_ERROR\r
+.\r
+\r
+MessageId=0x58\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=FTDISK_INTERNAL_ERROR\r
+Language=English\r
+FTDISK_INTERNAL_ERROR\r
+.\r
+\r
+MessageId=0x59\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PINBALL_FILE_SYSTEM\r
+Language=English\r
+PINBALL_FILE_SYSTEM\r
+.\r
+\r
+\r
+\r
+MessageId=0x5C\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=HAL_INITIALIZATION_FAILED\r
+Language=English\r
+HAL_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x5D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=HEAP_INITIALIZATION_FAILED\r
+Language=English\r
+HEAP_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x5E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=OBJECT_INITIALIZATION_FAILED\r
+Language=English\r
+OBJECT_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x5F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SECURITY_INITIALIZATION_FAILED\r
+Language=English\r
+SECURITY_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x60\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PROCESS_INITIALIZATION_FAILED\r
+Language=English\r
+PROCESS_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x61\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=HAL1_INITIALIZATION_FAILED\r
+Language=English\r
+HAL1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x62\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=OBJECT1_INITIALIZATION_FAILED\r
+Language=English\r
+OBJECT1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x63\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SECURITY1_INITIALIZATION_FAILED\r
+Language=English\r
+SECURITY1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x64\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SYMBOLIC_INITIALIZATION_FAILED\r
+Language=English\r
+SYMBOLIC_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x65\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MEMORY1_INITIALIZATION_FAILED\r
+Language=English\r
+MEMORY1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x66\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CACHE_INITIALIZATION_FAILED\r
+Language=English\r
+CACHE_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x67\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CONFIG_INITIALIZATION_FAILED\r
+Language=English\r
+CONFIG_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x68\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=FILE_INITIALIZATION_FAILED\r
+Language=English\r
+FILE_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x69\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IO1_INITIALIZATION_FAILED\r
+Language=English\r
+IO1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x6A\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=LPC_INITIALIZATION_FAILED\r
+Language=English\r
+LPC_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x6B\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PROCESS1_INITIALIZATION_FAILED\r
+Language=English\r
+PROCESS1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x6C\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=REFMON_INITIALIZATION_FAILED\r
+Language=English\r
+REFMON_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x6D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SESSION1_INITIALIZATION_FAILED\r
+Language=English\r
+SESSION1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x6E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SESSION2_INITIALIZATION_FAILED\r
+Language=English\r
+SESSION2_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x6F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SESSION3_INITIALIZATION_FAILED\r
+Language=English\r
+SESSION3_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x70\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SESSION4_INITIALIZATION_FAILED\r
+Language=English\r
+SESSION4_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x71\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SESSION5_INITIALIZATION_FAILED\r
+Language=English\r
+SESSION5_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x72\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ASSIGN_DRIVE_LETTERS_FAILED\r
+Language=English\r
+ASSIGN_DRIVE_LETTERS_FAILED\r
+.\r
+\r
+MessageId=0x73\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CONFIG_LIST_FAILED\r
+Language=English\r
+CONFIG_LIST_FAILED\r
+.\r
+\r
+MessageId=0x74\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=BAD_SYSTEM_CONFIG_INFO\r
+Language=English\r
+BAD_SYSTEM_CONFIG_INFO\r
+.\r
+\r
+MessageId=0x75\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CANNOT_WRITE_CONFIGURATION\r
+Language=English\r
+CANNOT_WRITE_CONFIGURATION\r
+.\r
+\r
+MessageId=0x76\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PROCESS_HAS_LOCKED_PAGES\r
+Language=English\r
+PROCESS_HAS_LOCKED_PAGES\r
+.\r
+\r
+MessageId=0x77\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=KERNEL_STACK_INPAGE_ERROR\r
+Language=English\r
+KERNEL_STACK_INPAGE_ERROR\r
+.\r
+\r
+MessageId=0x78\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PHASE0_EXCEPTION\r
+Language=English\r
+PHASE0_EXCEPTION\r
+.\r
+\r
+MessageId=0x79\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MISMATCHED_HAL\r
+Language=English\r
+Mismatched Kernel and HAL image\r
+.\r
+\r
+MessageId=0x7A\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=KERNEL_DATA_INPAGE_ERROR\r
+Language=English\r
+KERNEL_DATA_INPAGE_ERROR\r
+.\r
+\r
+MessageId=0x7B\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INACCESSIBLE_BOOT_DEVICE\r
+Language=English\r
+Check for viruses on your computer. Remove any newly installed\r
+hard drives or hard drive controllers. Check your hard drive\r
+to make sure it is properly configured and terminated.\r
+Run CHKDSK /F to check for hard drive corruption, and then\r
+restart your computer.\r
+.\r
+\r
+\r
+\r
+MessageId=0x7D\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INSTALL_MORE_MEMORY\r
+Language=English\r
+INSTALL_MORE_MEMORY\r
+.\r
+\r
+MessageId=0x7E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=UNEXPECTED_KERNEL_MODE_TRAP\r
+Language=English\r
+Run a system diagnostic utility supplied by your hardware manufacturer.\r
+In particular, run a memory check, and check for faulty or mismatched\r
+memory. Try changing video adapters.\r
\r
+Disable or remove any newly installed hardware and drivers. Disable or\r
+remove any newly installed software. If you need to use Safe Mode to\r
+remove or disable components, restart your computer, press F8 to select\r
+Advanced Startup Options, and then select Safe Mode.\r
+.\r
+\r
+MessageId=0x7F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=NMI_HARDWARE_FAILURE\r
+Language=English\r
+Hardware malfunction\r
+.\r
+\r
+MessageId=0x80\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=KERNEL_MODE_EXCEPTION_NOT_HANDLED\r
+Language=English\r
+KERNEL_MODE_EXCEPTION_NOT_HANDLED\r
+.\r
+\r
+MessageId=0x8E\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SPIN_LOCK_INIT_FAILURE\r
+Language=English\r
+SPIN_LOCK_INIT_FAILURE\r
+.\r
+\r
+MessageId=0x8F\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PP0_INITIALIZATION_FAILED\r
+Language=English\r
+PP0_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x90\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=PP1_INITIALIZATION_FAILED\r
+Language=English\r
+PP1_INITIALIZATION_FAILED\r
+.\r
+\r
+MessageId=0x94\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=KERNEL_STACK_LOCKED_AT_EXIT\r
+Language=English\r
+KERNEL_STACK_LOCKED_AT_EXIT\r
+.\r
+\r
+MessageId=0x96\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INVALID_WORK_QUEUE_ITEM\r
+Language=English\r
+INVALID_WORK_QUEUE_ITEM\r
+.\r
+\r
+MessageId=0xA0\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=INTERNAL_POWER_ERROR\r
+Language=English\r
+INTERNAL_POWER_ERROR\r
+.\r
+\r
+MessageId=0xA5\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ACPI_BIOS_ERROR\r
+Language=English\r
+The BIOS in this system is not fully ACPI compliant.  Please contact your\r
+system vendor for an updated BIOS.\r
+.\r
+\r
+MessageId=0xA8\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=BOOTING_IN_SAFEMODE_MINIMAL\r
+Language=English\r
+The system is booting in safemode - Minimal Services\r
+.\r
+\r
+MessageId=0xA9\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=BOOTING_IN_SAFEMODE_NETWORK\r
+Language=English\r
+The system is booting in safemode - Minimal Services with Network\r
+.\r
+\r
+MessageId=0xAA\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=BOOTING_IN_SAFEMODE_DSREPAIR\r
+Language=English\r
+The system is booting in safemode - Directory Services Repair\r
+.\r
+\r
+MessageId=0xB4\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=VIDEO_DRIVER_INIT_FAILURE\r
+Language=English\r
+VIDEO_DRIVER_INIT_FAILURE\r
+.\r
+\r
+MessageId=0xB7\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=BOOTLOG_ENABLED\r
+Language=English\r
+Boot Logging Enabled\r
+.\r
+\r
+MessageId=0xBE\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ATTEMPTED_WRITE_TO_READONLY_MEMORY\r
+Language=English\r
+ATTEMPTED_WRITE_TO_READONLY_MEMORY\r
+.\r
+\r
+MessageId=0xC2\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=BAD_POOL_CALLER\r
+Language=English\r
+BAD_POOL_CALLER\r
+.\r
+\r
+MessageId=0xC3\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=BUGCODE_PSS_MESSAGE_SIGNATURE\r
+Language=English\r
+A system file that is owned by ReactOS was replaced by an application\r
+running on your system.  The operating system detected this and tried to\r
+verify the validity of the file's signature.  The operating system found that\r
+the file signature is not valid and put the original, correct file back\r
+so that your operating system will continue to function properly.\r
+.\r
+\r
+MessageId=0xC5\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_CORRUPTED_EXPOOL\r
+Language=English\r
+A device driver has pool.\r
\r
+Check to make sure any new hardware or software is properly installed.\r
+If this is a new installation, ask your hardware or software manufacturer\r
+for any ReactOS updates you might need.\r
+\r
+Run the driver verifier against any new (or suspect) drivers.\r
+If that doesn't reveal the corrupting driver, try enabling special pool.\r
+Both of these features are intended to catch the corruption at an earlier\r
+point where the offending driver can be identified.\r
+\r
+If you need to use Safe Mode to remove or disable components,\r
+restart your computer, press F8 to select Advanced Startup Options,\r
+and then select Safe Mode.\r
+.\r
+\r
+MessageId=0xC8\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IRQL_UNEXPECTED_VALUE\r
+Language=English\r
+The processor's IRQL is not valid for the currently executing context.\r
+This is a software error condition and is usually caused by a device\r
+driver changing IRQL and not restoring it to its previous value when\r
+it has finished its task.\r
+.\r
+\r
+MessageId=0xCB\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS\r
+Language=English\r
+DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS\r
+.\r
+\r
+MessageId=0xCE\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS\r
+Language=English\r
+DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS\r
+.\r
+\r
+MessageId=0xD0\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_CORRUPTED_MMPOOL\r
+Language=English\r
+DRIVER_CORRUPTED_MMPOOL\r
+.\r
+\r
+MessageId=0xD1\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_IRQL_NOT_LESS_OR_EQUAL\r
+Language=English\r
+DRIVER_IRQL_NOT_LESS_OR_EQUAL\r
+.\r
+\r
+MessageId=0xD3\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_PORTION_MUST_BE_NONPAGED\r
+Language=English\r
+DRIVER_PORTION_MUST_BE_NONPAGED\r
+.\r
+\r
+MessageId=0xD8\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=DRIVER_USED_EXCESSIVE_PTES\r
+Language=English\r
+DRIVER_USED_EXCESSIVE_PTES\r
+.\r
+\r
+MessageId=0xD4\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD\r
+Language=English\r
+SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD\r
+.\r
+\r
+MessageId=0xE0\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ACPI_BIOS_FATAL_ERROR\r
+Language=English\r
+\r
+Your computer (BIOS) has reported that a component in your system is faulty and\r
+has prevented ReactOS from operating.  You can determine which component is\r
+faulty by running the diagnostic disk or tool that came with your computer.\r
+\r
+If you do not have this tool, you must contact your system vendor and report\r
+this error message to them.  They will be able to assist you in correcting this\r
+hardware problem thereby allowing ReactOS to operate.\r
+.\r
+\r
+MessageId=0xE1\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=WORKER_THREAD_RETURNED_AT_BAD_IRQL\r
+Language=English\r
+WORKER_THREAD_RETURNED_AT_BAD_IRQL\r
+.\r
+\r
+MessageId=0xE2\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=MANUALLY_INITIATED_CRASH\r
+Language=English\r
+MANUALLY_INITIATED_CRASH\r
+.\r
+\r
+MessageId=0xE3\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=RESOURCE_NOT_OWNED\r
+Language=English\r
+RESOURCE_NOT_OWNED\r
+.\r
+\r
+MessageId=0xE4\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=WORKER_INVALID\r
+Language=English\r
+WORKER_INVALID\r
+.\r
+\r
+MessageId=0xE5\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=POWER_FAILURE_SIMULATE\r
+Language=English\r
+POWER_FAILURE_SIMULATE\r
+.\r
+\r
+MessageId=0xFA\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=IMPERSONATING_WORKER_THREAD\r
+Language=English\r
+IMPERSONATING_WORKER_THREAD\r
+.\r
+\r
+MessageId=0x7E\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=WINDOWS_NT_BANNER\r
+Language=English\r
+ReactOS (R) Kernel Version %hs (Build %u%hs)\r
+.\r
+\r
+MessageId=0x87\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=WINDOWS_NT_CSD_STRING\r
+Language=English\r
+Service Pack\r
+.\r
+\r
+MessageId=0x88\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=WINDOWS_NT_INFO_STRING\r
+Language=English\r
+%u System Processor [%u MB Memory] %Z\r
+.\r
+\r
+MessageId=0x89\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=WINDOWS_NT_MP_STRING\r
+Language=English\r
+MultiProcessor Kernel\r
+.\r
+\r
+MessageId=0x9D\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=WINDOWS_NT_INFO_STRING_PLURAL\r
+Language=English\r
+%u System Processors [%u MB Memory] %Z\r
+.\r
+\r
+MessageId=0x9F\r
+Severity=Informational\r
+Facility=System\r
+SymbolicName=REACTOS_COPYRIGHT_NOTICE\r
+Language=English\r
+\n\nReactOS is free software, covered by the GNU General Public License,\r
+ and you\n are welcome to change it and/or distribute copies of it under\r
+ certain\n conditions. There is absolutely no warranty for ReactOS.\n\r
+.\r
+\r
+MessageId=0xE9\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ACTIVE_EX_WORKER_THREAD_TERMINATION\r
+Language=English\r
+ACTIVE_EX_WORKER_THREAD_TERMINATION\r
+.\r
+\r
+MessageId=0xEA\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=THREAD_STUCK_IN_DEVICE_DRIVER\r
+Language=English\r
+\r
+The device driver got stuck in an infinite loop. This usually indicates\r
+problem with the device itself or with the device driver programming the\r
+hardware incorrectly.\r
+\r
+Please check with your hardware device vendor for any driver updates.\r
+.\r
+\r
+MessageId=0xEF\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CRITICAL_PROCESS_DIED\r
+Language=English\r
+CRITICAL_PROCESS_DIED\r
+.\r
+\r
+MessageId=0xF4\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=CRITICAL_OBJECT_TERMINATION\r
+Language=English\r
+CRITICAL_OBJECT_TERMINATION\r
+.\r
+\r
+MessageId=0xFC\r
+Severity=Success\r
+Facility=System\r
+SymbolicName=ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY\r
+Language=English\r
+ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY\r
+.\r
+\r
+; EOF\r
index 8659a95..0cd8e7b 100644 (file)
        <directory name="wmi">
                <file>wmi.c</file>
        </directory>
+       <file>bugcodes.mc</file>
        <file>ntoskrnl.rc</file>
        <linkerflag>-nostartfiles</linkerflag>
        <linkerflag>-nostdlib</linkerflag>
index b358ed5..3ab9a08 100644 (file)
        <directory name="wmi">
                <file>wmi.c</file>
        </directory>
+       <file>bugcodes.mc</file>
        <file>ntoskrnl.rc</file>
        <linkerflag>-nostartfiles</linkerflag>
        <linkerflag>-nostdlib</linkerflag>
index a55ad2c..8087d01 100644 (file)
@@ -289,6 +289,16 @@ MingwModuleHandler::GetActualSourceFilename (
                delete objectFile;
                return sourceFile;
        }
+       else if ( extension == ".mc" || extension == ".MC" )
+       {
+               const FileLocation *objectFile = GetObjectFilename ( file, module, NULL );
+               FileLocation *sourceFile = new FileLocation (
+                       objectFile->directory,
+                       objectFile->relative_path,
+                       ReplaceExtension ( objectFile->name, ".rc" ) );
+               delete objectFile;
+               return sourceFile;
+       }
        else
                return new FileLocation ( *file );
 }
@@ -392,6 +402,11 @@ MingwModuleHandler::GetImportLibraryDependency (
                                dep += ssprintf ( " $(%s_HEADERS)", importedModule.name.c_str () );
                                break;
                        }
+                   if ( GetExtension ( *objectFilename ) == ".rc" )
+                   {
+                           dep += ssprintf ( " $(%s_MCHEADERS)", importedModule.name.c_str () );
+                           break;
+                   }
                }
        }
        else
@@ -433,6 +448,7 @@ MingwModuleHandler::GetModuleDependencies (
        }
        vector<FileLocation> v;
        GetDefinitionDependencies ( v );
+
        for ( size_t i = 0; i < v.size (); i++ )
        {
                const FileLocation& file = v[i];
@@ -502,6 +518,8 @@ MingwModuleHandler::GetObjectFilename (
                return new FileLocation ( *module.output );
        else if ( extension == ".rc" || extension == ".RC" )
                newExtension = "_" + module.name + ".coff";
+       else if ( extension == ".mc" || extension == ".MC" )
+               newExtension = ".rc";
        else if ( extension == ".spec" || extension == ".SPEC" )
                newExtension = ".stubs.o";
        else if ( extension == ".idl" || extension == ".IDL" )
@@ -1033,6 +1051,8 @@ MingwModuleHandler::GenerateObjectMacros (
 
        const vector<CompilationUnit*>& compilationUnits = data.compilationUnits;
        vector<const FileLocation *> headers;
+    vector<const FileLocation *> mcheaders;
+       vector<const FileLocation *> mcresources;
        if ( compilationUnits.size () > 0 )
        {
                for ( i = 0; i < compilationUnits.size (); i++ )
@@ -1060,6 +1080,12 @@ MingwModuleHandler::GenerateObjectMacros (
                                const FileLocation *objectFilename = GetObjectFilename ( compilationUnit.GetFilename (), module, NULL );
                                if ( GetExtension ( *objectFilename ) == ".h" )
                                        headers.push_back ( objectFilename );
+                else if ( GetExtension ( *objectFilename ) == ".rc"  )
+                {
+                    const FileLocation *headerFilename = GetMcHeaderFilename ( compilationUnit.GetFilename () );
+                    mcheaders.push_back ( headerFilename );
+                                       mcresources.push_back ( objectFilename );
+                }
                                else
                                        fprintf (
                                                fMakefile,
@@ -1086,6 +1112,38 @@ MingwModuleHandler::GenerateObjectMacros (
                fprintf ( fMakefile, "\n" );
        }
 
+    if ( mcheaders.size () > 0 )
+       {
+               fprintf (
+                       fMakefile,
+                       "%s_MCHEADERS %s",
+                       module.name.c_str (),
+                       assignmentOperation );
+               for ( i = 0; i < mcheaders.size (); i++ )
+                       fprintf (
+                               fMakefile,
+                               "%s%s",
+                               ( i%10 == 9 ? " \\\n\t" : " " ),
+                               backend->GetFullName ( *mcheaders[i] ).c_str () );
+               fprintf ( fMakefile, "\n" );
+       }
+
+    if ( mcresources.size () > 0 )
+       {
+               fprintf (
+                       fMakefile,
+                       "%s_RESOURCES %s",
+                       module.name.c_str (),
+                       assignmentOperation );
+               for ( i = 0; i < mcresources.size (); i++ )
+                       fprintf (
+                               fMakefile,
+                               "%s%s",
+                               ( i%10 == 9 ? " \\\n\t" : " " ),
+                               backend->GetFullName ( *mcresources[i] ).c_str () );
+               fprintf ( fMakefile, "\n" );
+       }
+
        const vector<If*>& ifs = data.ifs;
        for ( i = 0; i < ifs.size(); i++ )
        {
@@ -1296,6 +1354,37 @@ MingwModuleHandler::GenerateWinebuildCommands (
                  backend->GetFullName ( *sourceFile ).c_str () );
 }
 
+void
+MingwModuleHandler::GenerateWmcCommands (
+       const FileLocation* sourceFile )
+{
+       string dependencies = backend->GetFullName ( *sourceFile );
+       dependencies += " " + NormalizeFilename ( module.xmlbuildFile );
+
+       string basename = GetBasename ( sourceFile->name );
+       FileLocation rc_file ( IntermediateDirectory,
+                               sourceFile->relative_path,
+                               basename + ".rc" );
+       FileLocation h_file ( IntermediateDirectory,
+                               "include/reactos",
+                               basename + ".h" );
+       CLEAN_FILE ( rc_file );
+       CLEAN_FILE ( h_file );
+
+       fprintf ( fMakefile,
+                 "%s %s: $(WMC_TARGET) %s\n",
+                 backend->GetFullName ( rc_file ).c_str (),
+                         backend->GetFullName ( h_file ).c_str (),
+                 backend->GetFullName ( *sourceFile ).c_str () );
+       fprintf ( fMakefile, "\t$(ECHO_WMC)\n" );
+       fprintf ( fMakefile,
+                 "\t%s -i -H %s -o %s %s\n",
+                 "$(Q)$(WMC_TARGET)",
+                 backend->GetFullName ( h_file ).c_str (),
+                         backend->GetFullName ( rc_file ).c_str (),
+                 backend->GetFullName ( *sourceFile ).c_str () );
+}
+
 string
 MingwModuleHandler::GetWidlFlags ( const CompilationUnit& compilationUnit )
 {
@@ -1371,6 +1460,13 @@ MingwModuleHandler::GetIdlHeaderFilename ( const FileLocation *base ) const
        return new FileLocation ( IntermediateDirectory, base->relative_path, newname );
 }
 
+const FileLocation*
+MingwModuleHandler::GetMcHeaderFilename ( const FileLocation *base ) const
+{
+       string newname = GetBasename ( base->name ) + ".h";
+       return new FileLocation ( IntermediateDirectory, "include/reactos" , newname );
+}
+
 void
 MingwModuleHandler::GenerateWidlCommandsEmbeddedTypeLib (
        const CompilationUnit& compilationUnit,
@@ -1535,6 +1631,11 @@ MingwModuleHandler::GenerateCommands (
                                         windresflagsMacro );
                return;
        }
+       else if ( extension == ".mc" || extension == ".MC" )
+       {
+               GenerateWmcCommands ( sourceFile );
+               return;
+       }
        else if ( extension == ".spec" || extension == ".SPEC" )
        {
                GenerateWinebuildCommands ( sourceFile );
@@ -1830,7 +1931,12 @@ MingwModuleHandler::GenerateObjectFileTargets (
                const FileLocation *objectFilename = GetObjectFilename ( compilationUnit.GetFilename (), module, NULL );
                if ( GetExtension ( *objectFilename ) == ".h" )
                {
-                       moduleDependencies = ssprintf ( " $(%s_HEADERS)", module.name.c_str () );
+                       moduleDependencies += ssprintf ( " $(%s_HEADERS)", module.name.c_str () );
+                       break;
+               }
+               if ( GetExtension ( *objectFilename ) == ".rc" )
+               {
+                       moduleDependencies += ssprintf ( " $(%s_RESOURCES)", module.name.c_str () );
                        break;
                }
        }
@@ -2341,7 +2447,24 @@ MingwModuleHandler::GetDefaultDependencies (
        if ( module.type != BuildTool
                && module.name != "psdk" )
 
-               dependencies.push_back ( "$(PSDK_TARGET) $(psdk_HEADERS)" );
+       dependencies.push_back ( "$(PSDK_TARGET) $(psdk_HEADERS)" );
+
+    /* Check if any dependent library relays on the generated headers */
+       for ( size_t i = 0; i < module.project.modules.size (); i++ )
+       {
+               const Module& m = *module.project.modules[i];
+           for ( size_t j = 0; j < m.non_if_data.compilationUnits.size (); j++ )
+           {
+                       CompilationUnit& compilationUnit = *m.non_if_data.compilationUnits[j];
+                       const FileLocation* sourceFile = compilationUnit.GetFilename ();
+                       string extension = GetExtension ( *sourceFile );
+            if (extension == ".mc" || extension == ".MC" )
+            {
+                string dependency = ssprintf ( " $(%s_MCHEADERS)", m.name.c_str () );
+                dependencies.push_back ( dependency );
+            }
+        }
+    }
 }
 
 void
@@ -2417,7 +2540,7 @@ MingwModuleHandler::GenerateImportLibraryTargetIfNeeded ()
 
                vector<FileLocation> deps;
                GetDefinitionDependencies ( deps );
-
+        
                fprintf ( fMakefile, "# IMPORT LIBRARY RULE:\n" );
 
                fprintf ( fMakefile, "%s: %s",
@@ -2462,6 +2585,24 @@ MingwModuleHandler::GetSpecObjectDependencies (
        dependencies.push_back ( stubsDependency );
 }
 
+void
+MingwModuleHandler::GetMcObjectDependencies (
+       vector<FileLocation>& dependencies,
+       const FileLocation *file ) const
+{
+       string basename = GetBasename ( file->name );
+
+       FileLocation defDependency ( IntermediateDirectory,
+                                    "include/reactos",
+                                    basename + ".h" );
+       dependencies.push_back ( defDependency );
+
+       FileLocation stubsDependency ( IntermediateDirectory,
+                                      file->relative_path,
+                                    basename + ".rc" );
+       dependencies.push_back ( stubsDependency );
+}
+
 void
 MingwModuleHandler::GetWidlObjectDependencies (
        vector<FileLocation>& dependencies,
index e4538f5..0eeeb5f 100644 (file)
@@ -122,7 +122,6 @@ protected:
        void GenerateRules ();
        void GenerateImportLibraryTargetIfNeeded ();
        void GetDefinitionDependencies ( std::vector<FileLocation>& dependencies ) const;
-
        std::string GetLinkingDependencies () const;
        static MingwBackend* backend;
        static FILE* fMakefile;
@@ -164,6 +163,7 @@ private:
        void GenerateWindresCommand ( const FileLocation* sourceFile,
                                      const std::string& windresflagsMacro );
        void GenerateWinebuildCommands ( const FileLocation* sourceFile );
+       void GenerateWmcCommands ( const FileLocation* sourceFile);
        std::string GetWidlFlags ( const CompilationUnit& compilationUnit );
        void GenerateWidlCommandsServer (
                const CompilationUnit& compilationUnit,
@@ -202,6 +202,8 @@ private:
                                         const std::string& widlflagsMacro );
        const FileLocation* GenerateArchiveTarget ( const std::string& ar,
                                                    const std::string& objs_macro ) const;
+       void GetMcObjectDependencies   ( std::vector<FileLocation>& dependencies,
+                                        const FileLocation *file ) const;
        void GetSpecObjectDependencies ( std::vector<FileLocation>& dependencies,
                                         const FileLocation *file ) const;
        void GetWidlObjectDependencies ( std::vector<FileLocation>& dependencies,
@@ -213,10 +215,12 @@ private:
        void GenerateBuildNonSymbolStrippedCode ();
        void CleanupCompilationUnitVector ( std::vector<CompilationUnit*>& compilationUnits );
        void GetRpcHeaderDependencies ( std::vector<FileLocation>& dependencies ) const;
+    void GetMcHeaderDependencies ( std::vector<FileLocation>& dependencies ) const;
        static std::string GetPropertyValue ( const Module& module, const std::string& name );
        const FileLocation* GetRpcServerHeaderFilename ( const FileLocation *base ) const;
        const FileLocation* GetRpcClientHeaderFilename ( const FileLocation *base ) const;
        const FileLocation* GetIdlHeaderFilename ( const FileLocation *base ) const;
+    const FileLocation* GetMcHeaderFilename ( const FileLocation *base ) const;
        std::string GetModuleCleanTarget ( const Module& module ) const;
        void GetReferencedObjectLibraryModuleCleanTargets ( std::vector<std::string>& moduleNames ) const;
 public:
index de2dace..063744d 100644 (file)
@@ -68,7 +68,7 @@ CompilationUnit::IsGeneratedFile () const
                return false;
        File* file = files[0];
        string extension = GetExtension ( file->file );
-       return ( extension == ".spec" || extension == ".SPEC" );
+       return ( extension == ".spec" || extension == ".SPEC" || extension == ".mc" || extension == ".MC");
 }
 
 bool