Windows2003-3790/windows/appcompat/shims/inc/secutils.h
2020-09-30 16:53:55 +02:00

47 lines
737 B
C++

/*++
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_