Changeset 7983 for trunk/src/NTDLL


Ignore:
Timestamp:
Feb 21, 2002, 11:52:43 PM (24 years ago)
Author:
sandervl
Message:

update

Location:
trunk/src/NTDLL
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/NTDLL/ntdll.def

    r7253 r7983  
    1 ; $Id: ntdll.def,v 1.41 2001-10-29 02:26:38 bird Exp $
     1; $Id: ntdll.def,v 1.42 2002-02-21 22:52:42 sandervl Exp $
    22
    33;
     
    6464;   NlsMbOemCodePageTag                             @53
    6565    NtAcceptConnectPort           = _NtAcceptConnectPort@24     @54
    66 ;   NtAccessCheck                                   @55
     66    NtAccessCheck                 = _NtAccessCheck@32            @55
    6767;   NtAccessCheckAndAuditAlarm                      @56
    6868;   NtAddAtom                                   @57
     
    244244;   NtSetLowWaitHighEventPair                       @231
    245245;   NtSetLowWaitHighThread                      @232
    246 ;   NtSetSecurityObject                         @233
     246    NtSetSecurityObject           = _NtSetSecurityObject@12             @233
    247247;   NtSetSystemEnvironmentValue                     @234
    248248;   NtSetSystemInformation                      @235
     
    430430;   RtlGetCallersAddress                        @414
    431431;   RtlGetCompressionWorkSpaceSize                  @415
    432 ;   RtlGetControlSecurityDescriptor                @416
     432    RtlGetControlSecurityDescriptor = _RtlGetControlSecurityDescriptor@12 @416
    433433;   RtlGetCurrentDirectory_U                        @417
    434434    RtlGetDaclSecurityDescriptor  = _RtlGetDaclSecurityDescriptor@16    @418
     
    449449;   RtlImageRvaToSection                        @433
    450450;   RtlImageRvaToVa                         @434
    451 ;   RtlImpersonateSelf                          @435
     451    RtlImpersonateSelf            = _RtlImpersonateSelf@4               @435
    452452    RtlInitAnsiString             = _RtlInitAnsiString@8                @436
    453453;   RtlInitCodePageTable                        @437
     
    490490;   RtlLookupAtomInAtomTable                        @474
    491491;   RtlLookupElementGenericTable                    @475
    492 ;   RtlMakeSelfRelativeSD                       @476
     492    RtlMakeSelfRelativeSD          = _RtlMakeSelfRelativeSD@12          @476
    493493;   RtlMapGenericMask                           @477
    494494    RtlMoveMemory                  = _RtlMoveMemory@12                  @478
  • trunk/src/NTDLL/rtl.cpp

    r6372 r7983  
    1 /* $Id: rtl.cpp,v 1.13 2001-07-20 15:39:47 sandervl Exp $ */
     1/* $Id: rtl.cpp,v 1.14 2002-02-21 22:52:42 sandervl Exp $ */
    22
    33/*
     
    2929#include "stackframe.h"
    3030#include "ntddk.h"
    31 #include "imagehlp.h"
    3231#include "winreg.h"
    3332#include "heapstring.h"
     
    334333 * FIXME: prototype guessed
    335334 */
    336 BOOLEAN WINAPI RtlDestroyHeap(HANDLE Heap)
     335HANDLE WINAPI RtlDestroyHeap( HANDLE Heap )
    337336{
    338337  dprintf(("NTDLL: RtlDestroyHeap(%08xh)\n",
     
    505504
    506505
    507 /******************************************************************************
    508  * RtlEnlargedIntegerMultiply [NTDLL.341]
    509  * Note: This even works, since gcc returns 64bit values in eax/edx just like
    510  * the caller expects. However... The relay code won't grok this I think.
    511  *
    512  * @@@PH: Parameters are unknown
    513  */
    514 /* longlong in VAC++ ? */
    515 
    516 extern INT WINAPI RtlEnlargedIntegerMultiply(INT factor1,
    517                                              INT factor2);
    518 
    519506
    520507/******************************************************************************
    521508 *  RtlFormatCurrentUserKeyPath             [NTDLL.371]
    522509 */
    523 DWORD WINAPI RtlFormatCurrentUserKeyPath(PUNICODE_STRING pustrKeyPath)
     510NTSTATUS WINAPI RtlFormatCurrentUserKeyPath(IN OUT PUNICODE_STRING pustrKeyPath)
    524511{
    525512  dprintf(("NTDLL: RtlFormatCurrentUserKeyPath(%08xh) not correctly implemented.\n",
  • trunk/src/NTDLL/rtlstr.c

    r7254 r7983  
    606606 * including the terminating NULL.
    607607 */
    608 UINT WINAPI RtlOemStringToUnicodeSize(PSTRING str)
     608UINT WINAPI RtlOemStringToUnicodeSize( const STRING *str )
    609609{
    610610    DWORD ret = MultiByteToWideChar( CP_OEMCP, 0, str->Buffer, str->Length, NULL, 0 );
     
    619619 * including the terminating NULL.
    620620 */
    621 DWORD WINAPI RtlAnsiStringToUnicodeSize(PSTRING str)
     621DWORD WINAPI RtlAnsiStringToUnicodeSize( const STRING *str )
    622622{
    623623    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:59 sandervl Exp $ */
     1/* $Id: sec.cpp,v 1.9 2002-02-21 22:52:43 sandervl Exp $ */
    22
    33/*
     
    2626#include "ntdll.h"
    2727
     28#include <debugtools.h>
    2829
    2930ODINDEBUGCHANNEL(NTDLL-SEC)
     
    807808}
    808809
     810
     811/******************************************************************************
     812 *  RtlImpersonateSelf          [NTDLL.@]
     813 */
     814BOOL WINAPI
     815RtlImpersonateSelf(SECURITY_IMPERSONATION_LEVEL ImpersonationLevel)
     816{
     817        FIXME("(%08x), stub\n", ImpersonationLevel);
     818        return TRUE;
     819}
     820
     821/******************************************************************************
     822 *  NtAccessCheck               [NTDLL.@]
     823 */
     824NTSTATUS WINAPI
     825NtAccessCheck(
     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 */
     845NTSTATUS WINAPI
     846NtSetSecurityObject(
     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
     859NTSTATUS 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 */
     871NTSTATUS 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.