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

small security update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.