You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
764 B
38 lines
764 B
//+---------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1992 - 1997.
|
|
//
|
|
// File: sec2var.hxx
|
|
//
|
|
// Contents: Security routines
|
|
//
|
|
// Functions:
|
|
//
|
|
// History: 25-Apr-97 KrishnaG Created.
|
|
//
|
|
//----------------------------------------------------------------------------
|
|
HRESULT
|
|
ConvertSecDescriptorToVariant(
|
|
PSECURITY_DESCRIPTOR pSecurityDescriptor,
|
|
VARIANT * pVarSec
|
|
);
|
|
|
|
HRESULT
|
|
ConvertSidToFriendlyName(
|
|
PSID pSid,
|
|
LPWSTR * ppszAccountName
|
|
);
|
|
|
|
HRESULT
|
|
ConvertACLToVariant(
|
|
PACL pACL,
|
|
PVARIANT pvarACL
|
|
);
|
|
|
|
HRESULT
|
|
ConvertAceToVariant(
|
|
PBYTE PBYTE,
|
|
PVARIANT pvarAce
|
|
);
|
|
|