Windows2003-3790/windows/appcompat/shims/inc/secutils.h

47 lines
737 B
C
Raw Permalink Normal View History

2001-01-01 00:00:00 +01:00
/*++
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_