Changeset 7986 for trunk/include/win/winnt.h
- Timestamp:
- Feb 22, 2002, 12:00:15 AM (24 years ago)
- File:
-
- 1 edited
-
trunk/include/win/winnt.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/win/winnt.h
r7844 r7986 1680 1680 #define SACL_SECURITY_INFORMATION 0x00000008 1681 1681 1682 1683 #define EVENTLOG_SUCCESS 0x0000 1684 #define EVENTLOG_ERROR_TYPE 0x0001 1685 #define EVENTLOG_WARNING_TYPE 0x0002 1686 #define EVENTLOG_INFORMATION_TYPE 0x0004 1687 #define EVENTLOG_AUDIT_SUCCESS 0x0008 1688 #define EVENTLOG_AUDIT_FAILURE 0x0010 1689 1690 #define SERVICE_BOOT_START 0x00000000 1691 #define SERVICE_SYSTEM_START 0x00000001 1692 #define SERVICE_AUTO_START 0x00000002 1693 #define SERVICE_DEMAND_START 0x00000003 1694 #define SERVICE_DISABLED 0x00000004 1695 1696 #define SERVICE_ERROR_IGNORE 0x00000000 1697 #define SERVICE_ERROR_NORMAL 0x00000001 1698 #define SERVICE_ERROR_SEVERE 0x00000002 1699 #define SERVICE_ERROR_CRITICAL 0x00000003 1700 1701 /* Service types */ 1702 #define SERVICE_KERNEL_DRIVER 0x00000001 1703 #define SERVICE_FILE_SYSTEM_DRIVER 0x00000002 1704 #define SERVICE_ADAPTER 0x00000004 1705 #define SERVICE_RECOGNIZER_DRIVER 0x00000008 1706 1707 #define SERVICE_DRIVER ( SERVICE_KERNEL_DRIVER | SERVICE_FILE_SYSTEM_DRIVER | \ 1708 SERVICE_RECOGNIZER_DRIVER ) 1709 1710 #define SERVICE_WIN32_OWN_PROCESS 0x00000010 1711 #define SERVICE_WIN32_SHARE_PROCESS 0x00000020 1712 #define SERVICE_WIN32 (SERVICE_WIN32_OWN_PROCESS | SERVICE_WIN32_SHARE_PROCESS) 1713 1714 #define SERVICE_INTERACTIVE_PROCESS 0x00000100 1715 1716 #define SERVICE_TYPE_ALL ( SERVICE_WIN32 | SERVICE_ADAPTER | \ 1717 SERVICE_DRIVER | SERVICE_INTERACTIVE_PROCESS ) 1718 1719 1720 typedef enum _CM_SERVICE_NODE_TYPE 1721 { 1722 DriverType = SERVICE_KERNEL_DRIVER, 1723 FileSystemType = SERVICE_FILE_SYSTEM_DRIVER, 1724 Win32ServiceOwnProcess = SERVICE_WIN32_OWN_PROCESS, 1725 Win32ServiceShareProcess = SERVICE_WIN32_SHARE_PROCESS, 1726 AdapterType = SERVICE_ADAPTER, 1727 RecognizerType = SERVICE_RECOGNIZER_DRIVER 1728 } SERVICE_NODE_TYPE; 1729 1730 typedef enum _CM_SERVICE_LOAD_TYPE 1731 { 1732 BootLoad = SERVICE_BOOT_START, 1733 SystemLoad = SERVICE_SYSTEM_START, 1734 AutoLoad = SERVICE_AUTO_START, 1735 DemandLoad = SERVICE_DEMAND_START, 1736 DisableLoad = SERVICE_DISABLED 1737 } SERVICE_LOAD_TYPE; 1738 1739 typedef enum _CM_ERROR_CONTROL_TYPE 1740 { 1741 IgnoreError = SERVICE_ERROR_IGNORE, 1742 NormalError = SERVICE_ERROR_NORMAL, 1743 SevereError = SERVICE_ERROR_SEVERE, 1744 CriticalError = SERVICE_ERROR_CRITICAL 1745 } SERVICE_ERROR_TYPE; 1746 1747 1748 #ifndef __WINE__ 1749 #define RtlEqualMemory(Destination, Source, Length) (!memcmp((Destination),(Source),(Length))) 1750 #define RtlMoveMemory(Destination, Source, Length) memmove((Destination),(Source),(Length)) 1751 #define RtlCopyMemory(Destination, Source, Length) memcpy((Destination),(Source),(Length)) 1752 #define RtlFillMemory(Destination, Length, Fill) memset((Destination),(Fill),(Length)) 1753 #define RtlZeroMemory(Destination, Length) memset((Destination),0,(Length)) 1754 #endif 1755 1756 //#include "guiddef.h" 1757 1758 typedef struct _RTL_CRITICAL_SECTION_DEBUG 1759 { 1760 WORD Type; 1761 WORD CreatorBackTraceIndex; 1762 struct _RTL_CRITICAL_SECTION *CriticalSection; 1763 LIST_ENTRY ProcessLocksList; 1764 DWORD EntryCount; 1765 DWORD ContentionCount; 1766 DWORD Spare[ 2 ]; 1767 } RTL_CRITICAL_SECTION_DEBUG, *PRTL_CRITICAL_SECTION_DEBUG, RTL_RESOURCE_DEBUG, *PRTL_RESOURCE_DEBUG; 1768 1769 typedef struct _RTL_CRITICAL_SECTION { 1770 PRTL_CRITICAL_SECTION_DEBUG DebugInfo; 1771 LONG LockCount; 1772 LONG RecursionCount; 1773 HANDLE OwningThread; 1774 HANDLE LockSemaphore; 1775 ULONG_PTR SpinCount; 1776 } RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION; 1777 1778 #include <peexe.h> 1779 1682 1780 #include "poppack.h" 1683 1781
Note:
See TracChangeset
for help on using the changeset viewer.
