windows-nt/Source/XPSP1/NT/shell/ext/cscui/security.h
2020-09-26 16:20:57 +08:00

25 lines
629 B
C

//+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1997 - 1999
//
// File: security.h
//
//--------------------------------------------------------------------------
#ifndef _INC_CSCUI_SECURITY_H
#define _INC_CSCUI_SECURITY_H
DWORD
Security_SetPrivilegeAttrib(
LPCTSTR PrivilegeName,
DWORD NewPrivilegeAttribute,
DWORD *OldPrivilegeAttribute);
BOOL IsSidCurrentUser(PSID psid);
inline BOOL IsCurrentUserAnAdminMember(VOID) { return IsUserAnAdmin(); } // shlobjp.h, shell32p.lib
#endif _INC_CSCUI_SECURITY_H