5 * contains NT internal defines that don't show on the Win32 API level
7 * Copyright 1997 Marcus Meissner
16 typedef DWORD NTSTATUS;
18 typedef struct _RTL_RWLOCK {
19 CRITICAL_SECTION rtlCS;
20 HANDLE hSharedReleaseSemaphore;
22 HANDLE hExclusiveReleaseSemaphore;
23 UINT uExclusiveWaiters;
25 HANDLE hOwningThreadId;
28 } RTL_RWLOCK, *LPRTL_RWLOCK;
30 VOID WINAPI RtlInitializeResource(LPRTL_RWLOCK);
31 VOID WINAPI RtlDeleteResource(LPRTL_RWLOCK);
32 BYTE WINAPI RtlAcquireResourceExclusive(LPRTL_RWLOCK, BYTE fWait);
33 BYTE WINAPI RtlAcquireResourceShared(LPRTL_RWLOCK, BYTE fWait);
34 VOID WINAPI RtlReleaseResource(LPRTL_RWLOCK);
35 VOID WINAPI RtlDumpResource(LPRTL_RWLOCK);
37 BOOL WINAPI IsValidSid(PSID);
38 BOOL WINAPI EqualSid(PSID,PSID);
39 BOOL WINAPI EqualPrefixSid(PSID,PSID);
40 DWORD WINAPI GetSidLengthRequired(BYTE);
41 BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,
42 DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,
44 VOID* WINAPI FreeSid(PSID);
45 BOOL WINAPI InitializeSecurityDescriptor(SECURITY_DESCRIPTOR*,DWORD);
46 BOOL WINAPI InitializeSid(PSID,PSID_IDENTIFIER_AUTHORITY,BYTE);
47 DWORD* WINAPI GetSidSubAuthority(PSID,DWORD);
48 BYTE * WINAPI GetSidSubAuthorityCount(PSID);
49 DWORD WINAPI GetLengthSid(PSID);
50 BOOL WINAPI CopySid(DWORD,PSID,PSID);
51 BOOL WINAPI LookupAccountSidA(LPCSTR,PSID,LPCSTR,LPDWORD,LPCSTR,LPDWORD,
53 BOOL WINAPI LookupAccountSidW(LPCWSTR,PSID,LPCWSTR,LPDWORD,LPCWSTR,LPDWORD,
55 PSID_IDENTIFIER_AUTHORITY WINAPI GetSidIdentifierAuthority(PSID);
56 INT WINAPI AccessResource(HMODULE,HRSRC);
62 #endif /* __WINE_NTDLL_H */