windows-nt/Source/XPSP1/NT/base/ntsetup/legacy/dll/secur.h
2020-09-26 16:20:57 +08:00

45 lines
619 B
C

/*++
Copyright (c) 1990 Microsoft Corporation
Module Name:
security.h
Abstract:
Internal security routine prototypes
Author:
Sunil Pai (sunilp) April 1992
--*/
NTSTATUS
SetupGenerateUniqueSid(
IN ULONG Seed,
OUT PSID *Sid
);
VOID
SetupLsaInitObjectAttributes(
IN POBJECT_ATTRIBUTES ObjectAttributes,
IN PSECURITY_QUALITY_OF_SERVICE SecurityQualityOfService
);
BOOL
HUserKeyToProfilePath(
IN HKEY hUserKey,
OUT LPSTR lpProfilePath,
IN OUT LPDWORD lpcbProfilePath
);
PSID
CreateSidFromSidAndRid(
PSID DomainSid,
ULONG Rid
);