Leaked source code of windows server 2003
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.
 
 
 
 
 
 

53 lines
815 B

/*++
Copyright (c) 1998-2000 Microsoft Corporation
Module Name :
irtltoken.h
Abstract:
IISUtil token goo
Author:
Wade A. Hilmo (wadeh) 5-Dec-2000
Environment:
Win32 - User Mode
Project:
Internet Information Server RunTime Library
Revision History:
--*/
// token acl utilities
HRESULT
WINAPI
GrantWpgAccessToToken(
HANDLE hToken
);
HRESULT
WINAPI
AddWpgToTokenDefaultDacl(
HANDLE hToken
);
// token dup tool
BOOL
DupTokenWithSameImpersonationLevel
(
HANDLE hExistingToken,
DWORD dwDesiredAccess,
TOKEN_TYPE TokenType,
PHANDLE phNewToken
);
// token privilege utility
VOID
WINAPI
DisableTokenBackupPrivilege(
HANDLE hToken
);