New stubs NtQueryInformationThread, NtQueryInformationToken,

RtlAllocateAndInitializeSid, RtlEqualSid, RtlFreeSid.
This commit is contained in:
Juergen Schmied 1998-10-15 12:32:54 +00:00 committed by Alexandre Julliard
parent 8db79c2c57
commit e6db6f6c0a
2 changed files with 172 additions and 52 deletions

View File

@ -20,7 +20,7 @@
#include "debugstr.h"
/**************************************************************************
* RtlLengthRequiredSid [NTDLL]
* RtlLengthRequiredSid [NTDLL.427]
*/
DWORD WINAPI RtlLengthRequiredSid(DWORD nrofsubauths)
{
@ -28,15 +28,17 @@ DWORD WINAPI RtlLengthRequiredSid(DWORD nrofsubauths)
}
/**************************************************************************
* RtlLengthSid [NTDLL]
* RtlLengthSid [NTDLL.429]
*/
DWORD WINAPI RtlLengthSid(LPSID sid)
{
{ TRACE(ntdll,"sid=%p\n",sid);
if (!sid)
return FALSE;
return sizeof(DWORD)*sid->SubAuthorityCount+sizeof(SID);
}
/**************************************************************************
* RtlCreateAcl [NTDLL]
* RtlCreateAcl [NTDLL.306]
*
* NOTES
* This should return NTSTATUS
@ -58,7 +60,7 @@ DWORD WINAPI RtlCreateAcl(LPACL acl,DWORD size,DWORD rev)
}
/**************************************************************************
* RtlFirstFreeAce [NTDLL]
* RtlFirstFreeAce [NTDLL.370]
* looks for the AceCount+1 ACE, and if it is still within the alloced
* ACL, return a pointer to it
*/
@ -81,7 +83,7 @@ BOOL32 WINAPI RtlFirstFreeAce(LPACL acl,LPACE_HEADER *x)
}
/**************************************************************************
* RtlAddAce [NTDLL]
* RtlAddAce [NTDLL.260]
*/
DWORD /* NTSTATUS */
WINAPI RtlAddAce(LPACL acl,DWORD rev,DWORD xnrofaces,
@ -107,7 +109,7 @@ WINAPI RtlAddAce(LPACL acl,DWORD rev,DWORD xnrofaces,
}
/**************************************************************************
* RtlCreateSecurityDescriptor [NTDLL]
* RtlCreateSecurityDescriptor [NTDLL.313]
*/
DWORD /* NTSTATUS */
WINAPI RtlCreateSecurityDescriptor(LPSECURITY_DESCRIPTOR lpsd,DWORD rev)
@ -120,7 +122,7 @@ WINAPI RtlCreateSecurityDescriptor(LPSECURITY_DESCRIPTOR lpsd,DWORD rev)
}
/**************************************************************************
* RtlSetDaclSecurityDescriptor [NTDLL]
* RtlSetDaclSecurityDescriptor [NTDLL.483]
*/
DWORD /* NTSTATUS */
WINAPI RtlSetDaclSecurityDescriptor ( LPSECURITY_DESCRIPTOR lpsd,BOOL32 daclpresent,LPACL dacl,BOOL32 dacldefaulted )
@ -143,7 +145,7 @@ WINAPI RtlSetDaclSecurityDescriptor ( LPSECURITY_DESCRIPTOR lpsd,BOOL32 daclpres
}
/**************************************************************************
* RtlSetSaclSecurityDescriptor [NTDLL]
* RtlSetSaclSecurityDescriptor [NTDLL.488]
*/
DWORD /* NTSTATUS */
WINAPI RtlSetSaclSecurityDescriptor (
@ -168,7 +170,7 @@ LPSECURITY_DESCRIPTOR lpsd,BOOL32 saclpresent,LPACL sacl,BOOL32 sacldefaulted
}
/**************************************************************************
* RtlSetOwnerSecurityDescriptor [NTDLL]
* RtlSetOwnerSecurityDescriptor [NTDLL.487]
*/
DWORD /* NTSTATUS */
WINAPI RtlSetOwnerSecurityDescriptor (LPSECURITY_DESCRIPTOR lpsd,LPSID owner,BOOL32 ownerdefaulted)
@ -187,7 +189,7 @@ WINAPI RtlSetOwnerSecurityDescriptor (LPSECURITY_DESCRIPTOR lpsd,LPSID owner,BOO
}
/**************************************************************************
* RtlSetOwnerSecurityDescriptor [NTDLL]
* RtlSetGroupSecurityDescriptor [NTDLL.485]
*/
DWORD /* NTSTATUS */
WINAPI RtlSetGroupSecurityDescriptor (LPSECURITY_DESCRIPTOR lpsd,LPSID group,BOOL32 groupdefaulted)
@ -207,7 +209,7 @@ WINAPI RtlSetGroupSecurityDescriptor (LPSECURITY_DESCRIPTOR lpsd,LPSID group,BOO
/**************************************************************************
* RtlNormalizeProcessParams [NTDLL]
* RtlNormalizeProcessParams [NTDLL.441]
*/
LPVOID WINAPI RtlNormalizeProcessParams(LPVOID x)
{
@ -216,7 +218,7 @@ LPVOID WINAPI RtlNormalizeProcessParams(LPVOID x)
}
/**************************************************************************
* RtlInitializeSid [NTDLL]
* RtlInitializeSid [NTDLL.410]
*/
DWORD WINAPI RtlInitializeSid(LPSID lpsid,LPSID_IDENTIFIER_AUTHORITY lpsidauth,
DWORD c)
@ -232,7 +234,7 @@ DWORD WINAPI RtlInitializeSid(LPSID lpsid,LPSID_IDENTIFIER_AUTHORITY lpsidauth,
}
/**************************************************************************
* RtlSubAuthoritySid [NTDLL]
* RtlSubAuthoritySid [NTDLL.497]
*/
LPDWORD WINAPI RtlSubAuthoritySid(LPSID lpsid,DWORD nr)
{
@ -240,7 +242,7 @@ LPDWORD WINAPI RtlSubAuthoritySid(LPSID lpsid,DWORD nr)
}
/**************************************************************************
* RtlSubAuthorityCountSid [NTDLL]
* RtlSubAuthorityCountSid [NTDLL.496]
*/
LPBYTE WINAPI RtlSubAuthorityCountSid(LPSID lpsid)
{
@ -248,7 +250,7 @@ LPBYTE WINAPI RtlSubAuthorityCountSid(LPSID lpsid)
}
/**************************************************************************
* RtlCopySid [NTDLL]
* RtlCopySid [NTDLL.302]
*/
DWORD WINAPI RtlCopySid(DWORD len,LPSID to,LPSID from)
{
@ -259,7 +261,7 @@ DWORD WINAPI RtlCopySid(DWORD len,LPSID to,LPSID from)
}
/**************************************************************************
* RtlAnsiStringToUnicodeString [NTDLL]
* RtlAnsiStringToUnicodeString [NTDLL.269]
*/
DWORD /* NTSTATUS */
WINAPI RtlAnsiStringToUnicodeString(LPUNICODE_STRING uni,LPANSI_STRING ansi,BOOL32 doalloc)
@ -282,7 +284,7 @@ WINAPI RtlAnsiStringToUnicodeString(LPUNICODE_STRING uni,LPANSI_STRING ansi,BOOL
}
/**************************************************************************
* RtlOemStringToUnicodeString [NTDLL]
* RtlOemStringToUnicodeString [NTDLL.447]
*/
DWORD /* NTSTATUS */
WINAPI RtlOemStringToUnicodeString(LPUNICODE_STRING uni,LPSTRING ansi,BOOL32 doalloc)
@ -304,7 +306,7 @@ WINAPI RtlOemStringToUnicodeString(LPUNICODE_STRING uni,LPSTRING ansi,BOOL32 doa
return STATUS_SUCCESS;
}
/**************************************************************************
* RtlMultiByteToUnicodeN [NTDLL]
* RtlMultiByteToUnicodeN [NTDLL.436]
* FIXME: multibyte support
*/
DWORD /* NTSTATUS */
@ -324,7 +326,7 @@ WINAPI RtlMultiByteToUnicodeN(LPWSTR unistr,DWORD unilen,LPDWORD reslen,LPSTR oe
}
/**************************************************************************
* RtlOemToUnicodeN [NTDLL]
* RtlOemToUnicodeN [NTDLL.448]
*/
DWORD /* NTSTATUS */
WINAPI RtlOemToUnicodeN(LPWSTR unistr,DWORD unilen,LPDWORD reslen,LPSTR oemstr,DWORD oemlen)
@ -343,7 +345,7 @@ WINAPI RtlOemToUnicodeN(LPWSTR unistr,DWORD unilen,LPDWORD reslen,LPSTR oemstr,D
}
/**************************************************************************
* RtlInitAnsiString [NTDLL]
* RtlInitAnsiString [NTDLL.399]
*/
VOID WINAPI RtlInitAnsiString(LPANSI_STRING target,LPCSTR source)
{
@ -355,7 +357,7 @@ VOID WINAPI RtlInitAnsiString(LPANSI_STRING target,LPCSTR source)
target->MaximumLength = target->Length+1;
}
/**************************************************************************
* RtlInitString [NTDLL]
* RtlInitString [NTDLL.402]
*/
VOID WINAPI RtlInitString(LPSTRING target,LPCSTR source)
{
@ -368,7 +370,7 @@ VOID WINAPI RtlInitString(LPSTRING target,LPCSTR source)
}
/**************************************************************************
* RtlInitUnicodeString [NTDLL]
* RtlInitUnicodeString [NTDLL.403]
*/
VOID WINAPI RtlInitUnicodeString(LPUNICODE_STRING target,LPCWSTR source)
{
@ -381,7 +383,7 @@ VOID WINAPI RtlInitUnicodeString(LPUNICODE_STRING target,LPCWSTR source)
}
/**************************************************************************
* RtlFreeUnicodeString [NTDLL]
* RtlFreeUnicodeString [NTDLL.377]
*/
VOID WINAPI RtlFreeUnicodeString(LPUNICODE_STRING str)
{
@ -390,7 +392,7 @@ VOID WINAPI RtlFreeUnicodeString(LPUNICODE_STRING str)
}
/**************************************************************************
* RtlUnicodeToOemN [NTDLL]
* RtlUnicodeToOemN [NTDLL.515]
*/
DWORD /* NTSTATUS */
WINAPI RtlUnicodeToOemN(LPSTR oemstr,DWORD oemlen,LPDWORD reslen,LPWSTR unistr,DWORD unilen)
@ -409,7 +411,7 @@ WINAPI RtlUnicodeToOemN(LPSTR oemstr,DWORD oemlen,LPDWORD reslen,LPWSTR unistr,D
}
/**************************************************************************
* RtlUnicodeStringToOemString [NTDLL]
* RtlUnicodeStringToOemString [NTDLL.511]
*/
DWORD /* NTSTATUS */
WINAPI RtlUnicodeStringToOemString(LPANSI_STRING oem,LPUNICODE_STRING uni,BOOL32 alloc)
@ -424,7 +426,7 @@ WINAPI RtlUnicodeStringToOemString(LPANSI_STRING oem,LPUNICODE_STRING uni,BOOL32
}
/**************************************************************************
* RtlUnicodeStringToAnsiString [NTDLL]
* RtlUnicodeStringToAnsiString [NTDLL.507]
*/
DWORD /* NTSTATUS */
WINAPI RtlUnicodeStringToAnsiString(LPUNICODE_STRING uni,LPANSI_STRING oem,BOOL32 alloc)
@ -439,7 +441,7 @@ WINAPI RtlUnicodeStringToAnsiString(LPUNICODE_STRING uni,LPANSI_STRING oem,BOOL3
}
/**************************************************************************
* RtlNtStatusToDosErro [NTDLL]
* RtlNtStatusToDosErro [NTDLL.442]
*/
DWORD WINAPI RtlNtStatusToDosError(DWORD error)
{
@ -448,7 +450,7 @@ DWORD WINAPI RtlNtStatusToDosError(DWORD error)
}
/**************************************************************************
* RtlGetNtProductType [NTDLL]
* RtlGetNtProductType [NTDLL.390]
*/
DWORD WINAPI RtlGetNtProductType(LPVOID x)
{
@ -457,7 +459,7 @@ DWORD WINAPI RtlGetNtProductType(LPVOID x)
}
/**************************************************************************
* RtlUpcaseUnicodeString [NTDLL]
* RtlUpcaseUnicodeString [NTDLL.520]
*/
DWORD WINAPI RtlUpcaseUnicodeString(LPUNICODE_STRING dest,LPUNICODE_STRING src,BOOL32 doalloc)
{
@ -482,7 +484,7 @@ DWORD WINAPI RtlUpcaseUnicodeString(LPUNICODE_STRING dest,LPUNICODE_STRING src,B
}
/**************************************************************************
* RtlxOemStringToUnicodeSize [NTDLL]
* RtlxOemStringToUnicodeSize [NTDLL.549]
*/
UINT32 WINAPI RtlxOemStringToUnicodeSize(LPSTRING str)
{
@ -490,7 +492,7 @@ UINT32 WINAPI RtlxOemStringToUnicodeSize(LPSTRING str)
}
/**************************************************************************
* RtlxAnsiStringToUnicodeSize [NTDLL]
* RtlxAnsiStringToUnicodeSize [NTDLL.548]
*/
UINT32 WINAPI RtlxAnsiStringToUnicodeSize(LPANSI_STRING str)
{
@ -498,7 +500,7 @@ UINT32 WINAPI RtlxAnsiStringToUnicodeSize(LPANSI_STRING str)
}
/**************************************************************************
* RtlIsTextUnicode [NTDLL]
* RtlIsTextUnicode [NTDLL.417]
*
* Apply various feeble heuristics to guess whether
* the text buffer contains Unicode.
@ -541,7 +543,7 @@ out:
}
/**************************************************************************
* RtlDosPathNameToNtPathName_U [NTDLL]
* RtlDosPathNameToNtPathName_U [NTDLL.338]
*
* FIXME: convert to UNC or whatever is expected here
*/
@ -557,7 +559,7 @@ BOOL32 WINAPI RtlDosPathNameToNtPathName_U(
}
/**************************************************************************
* NtOpenFile [NTDLL]
* NtOpenFile [NTDLL.127]
*/
DWORD WINAPI NtOpenFile(DWORD x1,DWORD flags,DWORD x3,DWORD x4,DWORD alignment,DWORD x6)
{
@ -567,14 +569,77 @@ DWORD WINAPI NtOpenFile(DWORD x1,DWORD flags,DWORD x3,DWORD x4,DWORD alignment,D
return 0;
}
/**************************************************************************
* NtCreateFile [NTDLL.73]
*/
DWORD /* NTSTATUS */
WINAPI NtCreateFile(PHANDLE filehandle,DWORD access,LPLONG attributes,
LPLONG status,LPVOID x5,DWORD x6,DWORD x7,
LPLONG x8,DWORD x9,DWORD x10,LPLONG x11)
{
/* parameter count checked with wine debugger */
FIXME(ntdll,"(%p,%lx,%lx,%lx,%p,%08lx,%08lx,%p,%08lx,%08lx,%p): empty stub\n",
filehandle,access,*attributes,*status,x5,x6,x7,x8,x9,x10,x11);
return 0;
}
/**************************************************************************
* NtCreateTimer [NTDLL.87]
*/
DWORD WINAPI NtCreateTimer(DWORD x1, DWORD x2, DWORD x3)
{
/* parameter count checked (obscure doc from internet said 4, debugger showed only 3) */
FIXME(ntdll,"(%08lx,%08lx,%08lx): empty stub\n",
x1,x2,x3);
return 0;
}
/**************************************************************************
* NtSetTimer [NTDLL.221]
*/
DWORD WINAPI NtSetTimer(DWORD x1,DWORD x2,DWORD x3,DWORD x4,
DWORD x5,DWORD x6)
{
/* parameter count checked (obscure doc from internet said 7, debugger showed only 6) */
FIXME(ntdll,"(%08lx,%08lx,%08lx,%08lx,%08lx,%08lx): empty stub\n",
x1,x2,x3,x4,x5,x6);
return 0;
}
/**************************************************************************
* NTDLL_chkstk (NTDLL.862)
* NtCreateEvent [NTDLL.71]
*/
void WINAPI NTDLL_chkstk(void)
DWORD /* NTSTATUS */
WINAPI NtCreateEvent(PHANDLE eventhandle, DWORD desiredaccess,
DWORD attributes, DWORD eventtype, DWORD initialstate)
{
/* FIXME: should subtract %eax bytes from stack pointer */
FIXME(ntdll, "(void): stub\n");
/* parameter count checked with wine debugger */
FIXME(ntdll,"(%p,%08lx,%08lx,%08lx,%08lx): empty stub\n",
eventhandle,desiredaccess,attributes,eventtype,initialstate);
return 0;
}
/**************************************************************************
* NtDeviceIoControlFile [NTDLL.94]
*/
DWORD /* NTSTATUS */
WINAPI NtDeviceIoControlFile(HANDLE32 filehandle, HANDLE32 event,
DWORD x3, DWORD x4, DWORD x5, UINT32 iocontrolcode,
LPVOID inputbuffer, DWORD inputbufferlength,
LPVOID outputbuffer, DWORD outputbufferlength)
{
/* parameter count checked with wine debugger */
FIXME(ntdll,"(%x,%x,%08lx,%08lx,%08lx,%08x,%lx,%lx): empty stub\n",
filehandle,event,x3,x4,x5,iocontrolcode,inputbufferlength,outputbufferlength);
return 0;
}
/**************************************************************************
* NTDLL_chkstk [NTDLL.862]
*/
VOID WINAPI NTDLL_chkstk (DWORD x1, DWORD x2, DWORD x3, DWORD x4,
DWORD x5, DWORD x6, DWORD x7, DWORD x8,
DWORD x9, DWORD x10)
{
/* FIXME: should subtract %eax bytes from stack pointer */
FIXME(ntdll, "(void): stub\n");
}
@ -712,20 +777,75 @@ DWORD WINAPI NtQueryTimerResolution(DWORD x1,DWORD x2,DWORD x3) {
return 1;
}
/**************************************************************************
* NtClose [NTDLL.65]
*/
DWORD WINAPI NtClose(DWORD x1) {
FIXME(ntdll,"(0x%08lx),stub!\n",x1);
return 1;
}
/******************************************************************************
* NtQueryInformationProcess [NTDLL.]
*
*/
DWORD WINAPI NtQueryInformationProcess(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5) {
FIXME(ntdll,"(0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx),stub!\n",
x1,x2,x3,x4,x5
);
return 0;
}
/******************************************************************************
* NtQueryInformationThread [NTDLL.]
*
*/
DWORD WINAPI NtQueryInformationThread(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5) {
FIXME(ntdll,"(0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx),stub!\n",
x1,x2,x3,x4,x5
);
return 0;
}
/******************************************************************************
* NtQueryInformationToken [NTDLL.156]
*
*/
DWORD WINAPI NtQueryInformationToken(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5) {
FIXME(ntdll,"(0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx),stub!\n",
x1,x2,x3,x4,x5
);
return 0;
}
/******************************************************************************
* RtlFormatCurrentUserKeyPath [NTDLL.371]
*
*/
DWORD WINAPI RtlFormatCurrentUserKeyPath()
{
FIXME(ntdll,"(): stub\n");
return 1;
}
/******************************************************************************
* RtlAllocateAndInitializeSid [NTDLL.265]
*
*/
BOOL32 WINAPI RtlAllocateAndInitializeSid (LPSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,DWORD nSubAuthorityCount,
DWORD x3,DWORD x4,DWORD x5,DWORD x6,DWORD x7,DWORD x8,DWORD x9,DWORD x10, LPSID pSid)
{ FIXME(ntdll,"(%p,0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx,0x%08lx,%p),stub!\n",
pIdentifierAuthority,nSubAuthorityCount,x3,x4,x5,x6,x7,x8,x9,x10,pSid);
return 0;
}
/******************************************************************************
* RtlEqualSid [NTDLL.352]
*
*/
DWORD WINAPI RtlEqualSid(DWORD x1,DWORD x2)
{ FIXME(ntdll,"(0x%08lx,0x%08lx),stub!\n", x1,x2);
return TRUE;
}
/******************************************************************************
* RtlFreeSid [NTDLL.376]
*
*/
DWORD WINAPI RtlFreeSid(DWORD x1)
{ FIXME(ntdll,"(0x%08lx),stub!\n", x1);
return TRUE;
}

View File

@ -71,9 +71,9 @@ type win32
068 stub NtConnectPort
069 stub NtContinue
070 stub NtCreateDirectoryObject
071 stub NtCreateEvent
071 stdcall NtCreateEvent(long long long long long) NtCreateEvent
072 stub NtCreateEventPair
073 stub NtCreateFile
073 stdcall NtCreateFile(ptr long ptr ptr long long long ptr long long ptr) NtCreateFile
074 stub NtCreateIoCompletion
075 stub NtCreateKey
076 stub NtCreateMailslotFile
@ -87,14 +87,14 @@ type win32
084 stub NtCreateSemaphore
085 stub NtCreateSymbolicLinkObject
086 stub NtCreateThread
087 stub NtCreateTimer
087 stdcall NtCreateTimer(long long long) NtCreateTimer
088 stub NtCreateToken
089 stdcall NtCurrentTeb() NtCurrentTeb
090 stub NtDelayExecution
091 stub NtDeleteFile
092 stub NtDeleteKey
093 stub NtDeleteValueKey
094 stub NtDeviceIoControlFile
094 stdcall NtDeviceIoControlFile(long long long long long long long long long long) NtDeviceIoControlFile
095 stub NtDisplayString
096 stub NtDuplicateObject
097 stub NtDuplicateToken
@ -108,7 +108,7 @@ type win32
105 stub NtFlushVirtualMemory
106 stub NtFlushWriteBuffer
107 stub NtFreeVirtualMemory
108 stdcall NtFsControlFile() NtFsControlFile
108 stdcall NtFsControlFile(long long long long long long long long long long) NtFsControlFile
109 stub NtGetContextThread
110 stub NtGetPlugPlayEvent
111 stub NtGetTickCount
@ -155,8 +155,8 @@ type win32
152 stub NtQueryInformationFile
153 stub NtQueryInformationPort
154 stdcall NtQueryInformationProcess(long long long long long) NtQueryInformationProcess
155 stub NtQueryInformationThread
156 stub NtQueryInformationToken
155 stdcall NtQueryInformationThread (long long long long long) NtQueryInformationThread
156 stdcall NtQueryInformationToken (long long long long long) NtQueryInformationToken
157 stub NtQueryIntervalProfile
158 stub NtQueryIoCompletion
159 stub NtQueryKey
@ -221,7 +221,7 @@ type win32
218 stub NtSetSystemInformation
219 stub NtSetSystemPowerState
220 stub NtSetSystemTime
221 stub NtSetTimer
221 stdcall NtSetTimer(long long long long long long) NtSetTimer
222 stub NtSetTimerResolution
223 stub NtSetValueKey
224 stub NtSetVolumeInformationFile
@ -265,7 +265,7 @@ type win32
262 stub RtlAddAttributeActionToRXact
263 stub RtlAddAuditAccessAce
264 stub RtlAdjustPrivilege
265 stdcall RtlAllocateAndInitializeSid(ptr long long long long long long long long long ptr) AllocateAndInitializeSid
265 stdcall RtlAllocateAndInitializeSid (ptr long long long long long long long long long ptr) RtlAllocateAndInitializeSid
266 stdcall RtlAllocateHeap(long long long) HeapAlloc
267 stub RtlAnsiCharToUnicodeChar
268 stub RtlAnsiStringToUnicodeSize
@ -352,7 +352,7 @@ type win32
349 stub RtlEqualDomainName
350 stub RtlEqualLuid
351 stub RtlEqualPrefixSid
352 stub RtlEqualSid
352 stdcall RtlEqualSid (long long) RtlEqualSid
353 stub RtlEqualString
354 stub RtlEqualUnicodeString
355 stub RtlEraseUnicodeString
@ -376,7 +376,7 @@ type win32
373 stdcall RtlFreeAnsiString(long) RtlFreeAnsiString
374 stdcall RtlFreeHeap(long long long) HeapFree
375 stub RtlFreeOemString
376 stub RtlFreeSid
376 stdcall RtlFreeSid (long) RtlFreeSid
377 stdcall RtlFreeUnicodeString(ptr) RtlFreeUnicodeString
378 stub RtlGenerate8dot3Name
379 stub RtlGetAce