Changeset 4537


Ignore:
Timestamp:
Oct 26, 2000, 7:26:59 PM (24 years ago)
Author:
sandervl
Message:

small security update

Location:
trunk/src/advapi32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/advapi32/ADVAPI32.DEF

    r2983 r4537  
    1 ; $Id: ADVAPI32.DEF,v 1.13 2000-03-03 11:14:58 sandervl Exp $
     1; $Id: ADVAPI32.DEF,v 1.14 2000-10-26 17:26:58 sandervl Exp $
    22
    33;
     
    139139     AdjustTokenGroups          = _AdjustTokenGroups@24              @10
    140140     AdjustTokenPrivileges      = _AdjustTokenPrivileges@24          @11
    141      AllocateAndInitializeSid   = _RtlAllocateAndInitializeSid@44    @12
     141     AllocateAndInitializeSid   = _AllocateAndInitializeSid@44       @12
    142142     AllocateLocallyUniqueId    = _AllocateLocallyUniqueId@4         @13
    143143     AreAllAccessesGranted      = _AreAllAccessesGranted@8           @14
     
    241241     EqualSid                   = _EqualSid@8                        @111
    242242     FindFirstFreeAce           = _FindFirstFreeAce@8                @112
    243      FreeSid                    = _RtlFreeSid@4                      @113
     243     FreeSid                    = _FreeSid@4                         @113
    244244;    GetAccessPermissionsForObjectA                             @114
    245245;    GetAccessPermissionsForObjectW                             @115
  • TabularUnified trunk/src/advapi32/security.cpp

    r4509 r4537  
    1 /* $Id: security.cpp,v 1.6 2000-10-21 14:29:49 sandervl Exp $ */
     1/* $Id: security.cpp,v 1.7 2000-10-26 17:26:59 sandervl Exp $ */
    22/*
    33 * Win32 security API functions for OS/2
     
    171171
    172172/******************************************************************************
     173 * AllocateAndInitializeSid [ADVAPI32.11]
     174 *
     175 * PARAMS
     176 *   pIdentifierAuthority []
     177 *   nSubAuthorityCount   []
     178 *   nSubAuthority0       []
     179 *   nSubAuthority1       []
     180 *   nSubAuthority2       []
     181 *   nSubAuthority3       []
     182 *   nSubAuthority4       []
     183 *   nSubAuthority5       []
     184 *   nSubAuthority6       []
     185 *   nSubAuthority7       []
     186 *   pSid                 []
     187 */
     188BOOL WINAPI
     189AllocateAndInitializeSid( PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
     190                          BYTE nSubAuthorityCount,
     191                          DWORD nSubAuthority0, DWORD nSubAuthority1,
     192                          DWORD nSubAuthority2, DWORD nSubAuthority3,
     193                          DWORD nSubAuthority4, DWORD nSubAuthority5,
     194                          DWORD nSubAuthority6, DWORD nSubAuthority7,
     195                          PSID *pSid )
     196{
     197        return RtlAllocateAndInitializeSid(
     198                pIdentifierAuthority, nSubAuthorityCount,
     199                nSubAuthority0, nSubAuthority1, nSubAuthority2, nSubAuthority3,
     200                nSubAuthority4, nSubAuthority5, nSubAuthority6, nSubAuthority7,
     201                pSid );
     202}
     203
     204/******************************************************************************
     205 * FreeSid [ADVAPI32.42]
     206 *
     207 * PARAMS
     208 *   pSid []
     209 */
     210PVOID WINAPI
     211FreeSid( PSID pSid )
     212{
     213        RtlFreeSid(pSid);
     214        return NULL; /* is documented like this */
     215}
     216
     217/******************************************************************************
    173218 * CopySid [ADVAPI32.24]
    174219 *
Note: See TracChangeset for help on using the changeset viewer.