Changeset 7983 for trunk/src/NTDLL
- Timestamp:
- Feb 21, 2002, 11:52:43 PM (24 years ago)
- Location:
- trunk/src/NTDLL
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/ntdll.def
r7253 r7983 1 ; $Id: ntdll.def,v 1.4 1 2001-10-29 02:26:38 birdExp $1 ; $Id: ntdll.def,v 1.42 2002-02-21 22:52:42 sandervl Exp $ 2 2 3 3 ; … … 64 64 ; NlsMbOemCodePageTag @53 65 65 NtAcceptConnectPort = _NtAcceptConnectPort@24 @54 66 ; NtAccessCheck@5566 NtAccessCheck = _NtAccessCheck@32 @55 67 67 ; NtAccessCheckAndAuditAlarm @56 68 68 ; NtAddAtom @57 … … 244 244 ; NtSetLowWaitHighEventPair @231 245 245 ; NtSetLowWaitHighThread @232 246 ; NtSetSecurityObject@233246 NtSetSecurityObject = _NtSetSecurityObject@12 @233 247 247 ; NtSetSystemEnvironmentValue @234 248 248 ; NtSetSystemInformation @235 … … 430 430 ; RtlGetCallersAddress @414 431 431 ; RtlGetCompressionWorkSpaceSize @415 432 ; RtlGetControlSecurityDescriptor@416432 RtlGetControlSecurityDescriptor = _RtlGetControlSecurityDescriptor@12 @416 433 433 ; RtlGetCurrentDirectory_U @417 434 434 RtlGetDaclSecurityDescriptor = _RtlGetDaclSecurityDescriptor@16 @418 … … 449 449 ; RtlImageRvaToSection @433 450 450 ; RtlImageRvaToVa @434 451 ; RtlImpersonateSelf@435451 RtlImpersonateSelf = _RtlImpersonateSelf@4 @435 452 452 RtlInitAnsiString = _RtlInitAnsiString@8 @436 453 453 ; RtlInitCodePageTable @437 … … 490 490 ; RtlLookupAtomInAtomTable @474 491 491 ; RtlLookupElementGenericTable @475 492 ; RtlMakeSelfRelativeSD@476492 RtlMakeSelfRelativeSD = _RtlMakeSelfRelativeSD@12 @476 493 493 ; RtlMapGenericMask @477 494 494 RtlMoveMemory = _RtlMoveMemory@12 @478 -
trunk/src/NTDLL/rtl.cpp
r6372 r7983 1 /* $Id: rtl.cpp,v 1.1 3 2001-07-20 15:39:47sandervl Exp $ */1 /* $Id: rtl.cpp,v 1.14 2002-02-21 22:52:42 sandervl Exp $ */ 2 2 3 3 /* … … 29 29 #include "stackframe.h" 30 30 #include "ntddk.h" 31 #include "imagehlp.h"32 31 #include "winreg.h" 33 32 #include "heapstring.h" … … 334 333 * FIXME: prototype guessed 335 334 */ 336 BOOLEAN WINAPI RtlDestroyHeap(HANDLE Heap)335 HANDLE WINAPI RtlDestroyHeap( HANDLE Heap ) 337 336 { 338 337 dprintf(("NTDLL: RtlDestroyHeap(%08xh)\n", … … 505 504 506 505 507 /******************************************************************************508 * RtlEnlargedIntegerMultiply [NTDLL.341]509 * Note: This even works, since gcc returns 64bit values in eax/edx just like510 * the caller expects. However... The relay code won't grok this I think.511 *512 * @@@PH: Parameters are unknown513 */514 /* longlong in VAC++ ? */515 516 extern INT WINAPI RtlEnlargedIntegerMultiply(INT factor1,517 INT factor2);518 519 506 520 507 /****************************************************************************** 521 508 * RtlFormatCurrentUserKeyPath [NTDLL.371] 522 509 */ 523 DWORD WINAPI RtlFormatCurrentUserKeyPath(PUNICODE_STRING pustrKeyPath)510 NTSTATUS WINAPI RtlFormatCurrentUserKeyPath(IN OUT PUNICODE_STRING pustrKeyPath) 524 511 { 525 512 dprintf(("NTDLL: RtlFormatCurrentUserKeyPath(%08xh) not correctly implemented.\n", -
trunk/src/NTDLL/rtlstr.c
r7254 r7983 606 606 * including the terminating NULL. 607 607 */ 608 UINT WINAPI RtlOemStringToUnicodeSize( PSTRING str)608 UINT WINAPI RtlOemStringToUnicodeSize( const STRING *str ) 609 609 { 610 610 DWORD ret = MultiByteToWideChar( CP_OEMCP, 0, str->Buffer, str->Length, NULL, 0 ); … … 619 619 * including the terminating NULL. 620 620 */ 621 DWORD WINAPI RtlAnsiStringToUnicodeSize( PSTRING str)621 DWORD WINAPI RtlAnsiStringToUnicodeSize( const STRING *str ) 622 622 { 623 623 DWORD ret = MultiByteToWideChar( CP_ACP, 0, str->Buffer, str->Length, NULL, 0 ); -
trunk/src/NTDLL/sec.cpp
r5568 r7983 1 /* $Id: sec.cpp,v 1. 8 2001-04-22 10:38:59sandervl Exp $ */1 /* $Id: sec.cpp,v 1.9 2002-02-21 22:52:43 sandervl Exp $ */ 2 2 3 3 /* … … 26 26 #include "ntdll.h" 27 27 28 #include <debugtools.h> 28 29 29 30 ODINDEBUGCHANNEL(NTDLL-SEC) … … 807 808 } 808 809 810 811 /****************************************************************************** 812 * RtlImpersonateSelf [NTDLL.@] 813 */ 814 BOOL WINAPI 815 RtlImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel) 816 { 817 FIXME("(%08x), stub\n", ImpersonationLevel); 818 return TRUE; 819 } 820 821 /****************************************************************************** 822 * NtAccessCheck [NTDLL.@] 823 */ 824 NTSTATUS WINAPI 825 NtAccessCheck( 826 IN PSECURITY_DESCRIPTOR SecurityDescriptor, 827 IN HANDLE ClientToken, 828 IN ACCESS_MASK DesiredAccess, 829 IN PGENERIC_MAPPING GenericMapping, 830 OUT PPRIVILEGE_SET PrivilegeSet, 831 OUT PULONG ReturnLength, 832 OUT PULONG GrantedAccess, 833 OUT PBOOLEAN AccessStatus) 834 { 835 FIXME("(%p, %04x, %08lx, %p, %p, %p, %p, %p), stub\n", 836 SecurityDescriptor, ClientToken, DesiredAccess, GenericMapping, 837 PrivilegeSet, ReturnLength, GrantedAccess, AccessStatus); 838 *AccessStatus = TRUE; 839 return STATUS_SUCCESS; 840 } 841 842 /****************************************************************************** 843 * NtSetSecurityObject [NTDLL.@] 844 */ 845 NTSTATUS WINAPI 846 NtSetSecurityObject( 847 IN HANDLE Handle, 848 IN SECURITY_INFORMATION SecurityInformation, 849 IN PSECURITY_DESCRIPTOR SecurityDescriptor) 850 { 851 FIXME("0x%08x 0x%08lx %p\n", Handle, SecurityInformation, SecurityDescriptor); 852 return STATUS_SUCCESS; 853 } 854 855 /****************************************************************************** 856 * RtlGetControlSecurityDescriptor (NTDLL.@) 857 */ 858 859 NTSTATUS WINAPI RtlGetControlSecurityDescriptor( 860 PSECURITY_DESCRIPTOR pSecurityDescriptor, 861 PSECURITY_DESCRIPTOR_CONTROL pControl, 862 LPDWORD lpdwRevision) 863 { 864 FIXME("(%p,%p,%p),stub!\n",pSecurityDescriptor,pControl,lpdwRevision); 865 return STATUS_SUCCESS; 866 } 867 868 /************************************************************************** 869 * RtlMakeSelfRelativeSD [NTDLL.@] 870 */ 871 NTSTATUS WINAPI RtlMakeSelfRelativeSD( 872 IN PSECURITY_DESCRIPTOR pAbsoluteSecurityDescriptor, 873 IN PSECURITY_DESCRIPTOR pSelfRelativeSecurityDescriptor, 874 IN OUT LPDWORD lpdwBufferLength) 875 { 876 FIXME("(%p,%p,%p(%lu))\n", pAbsoluteSecurityDescriptor, 877 pSelfRelativeSecurityDescriptor, lpdwBufferLength,*lpdwBufferLength); 878 return STATUS_SUCCESS; 879 }
Note:
See TracChangeset
for help on using the changeset viewer.
