Changeset 7986 for trunk/include


Ignore:
Timestamp:
Feb 22, 2002, 12:00:15 AM (24 years ago)
Author:
sandervl
Message:

header updates

Location:
trunk/include/win
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/win/ntddk.h

    r7985 r7986  
    752752        DWORD *pf);
    753753
    754 INT __cdecl wcstol(LPCWSTR,LPWSTR*,INT);
    755 
    756754/*      resource functions */
    757755
  • trunk/include/win/ntsecapi.h

    r1903 r7986  
    1 /* $Id: ntsecapi.h,v 1.1 1999-11-30 22:08:25 sandervl Exp $ */
    21#ifndef __WINE_NTSECAPI_H
    32#define __WINE_NTSECAPI_H
    43
    5 #include "ntdef.h"
    64#include "winnt.h"
    75
     
    1816NTSTATUS WINAPI LsaOpenPolicy(PLSA_UNICODE_STRING,PLSA_OBJECT_ATTRIBUTES,ACCESS_MASK,PLSA_HANDLE);
    1917
     18typedef enum
     19{
     20        PolicyAuditLogInformation = 1,
     21        PolicyAuditEventsInformation,
     22        PolicyPrimaryDomainInformation,
     23        PolicyPdAccountInformation,
     24        PolicyAccountDomainInformation,
     25        PolicyLsaServerRoleInformation,
     26        PolicyReplicaSourceInformation,
     27        PolicyDefaultQuotaInformation,
     28        PolicyModificationInformation,
     29        PolicyAuditFullSetInformation,
     30        PolicyAuditFullQueryInformation,
     31        PolicyDnsDomainInformation
     32} POLICY_INFORMATION_CLASS, *PPOLICY_INFORMATION_CLASS;
     33
     34typedef ULONG POLICY_AUDIT_EVENT_OPTIONS, *PPOLICY_AUDIT_EVENT_OPTIONS;
     35
     36typedef struct
     37{
     38        BOOLEAN AuditingMode;
     39        PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions;
     40        ULONG MaximumAuditEventCount;
     41} POLICY_AUDIT_EVENTS_INFO, *PPOLICY_AUDIT_EVENTS_INFO;
     42
     43typedef struct
     44{
     45    LSA_UNICODE_STRING Name;
     46    PSID Sid;
     47} POLICY_PRIMARY_DOMAIN_INFO, *PPOLICY_PRIMARY_DOMAIN_INFO;
     48
     49
     50NTSTATUS WINAPI LsaQueryInformationPolicy(LSA_HANDLE,POLICY_INFORMATION_CLASS,PVOID*);
     51
     52NTSTATUS WINAPI LsaFreeMemory(PVOID);
     53NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle);
     54
    2055#ifdef __cplusplus
    2156} /* extern "C" */
  • trunk/include/win/winbase.h

    r7925 r7986  
    14281428BOOL        WINAPI AttachThreadInput(DWORD,DWORD,BOOL);
    14291429//BOOL        WINAPI AccessCheck(PSECURITY_DESCRIPTOR,HANDLE,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL);
    1430 BOOL        WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,LPDWORD);
     1430BOOL        WINAPI AdjustTokenPrivileges(HANDLE,BOOL,LPVOID,DWORD,LPVOID,LPDWORD);
    14311431BOOL        WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *);
    14321432BOOL        WINAPI AllocateLocallyUniqueId(PLUID);
  • trunk/include/win/winnt.h

    r7844 r7986  
    16801680#define SACL_SECURITY_INFORMATION   0x00000008
    16811681
     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
     1720typedef 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
     1730typedef 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
     1739typedef 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
     1758typedef 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
     1769typedef 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
    16821780#include "poppack.h"
    16831781
Note: See TracChangeset for help on using the changeset viewer.