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.
 
 
 
 
 
 

46 lines
737 B

/*++
Copyright (c) 2001 Microsoft Corporation
Module Name:
secutils.h
Abstract:
The security utility functions for the shims.
History:
02/09/2001 maonis Created
08/14/2001 robkenny Inserted inside the ShimLib namespace.
--*/
#pragma once
#ifndef _SEC_UTILS_H_
#define _SEC_UTILS_H_
#include "ShimHook.h"
#include <aclapi.h>
namespace ShimLib
{
BOOL SearchGroupForSID(DWORD dwGroup, BOOL* pfIsMember);
BOOL ShouldApplyShim();
BOOL AdjustPrivilege(LPCWSTR pwszPrivilege, BOOL fEnable);
//
// File specific
//
BOOL RequestWriteAccess(DWORD dwCreationDisposition, DWORD dwDesiredAccess);
}; // end of namespace ShimLib
#endif // _SEC_UTILS_H_