Source code of Windows XP (NT5)
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.
|
|
// Security.h: interface for the CSecurity class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SECURITY_H__080169BB_C2D8_4472_AB5A_82BFA1640AA5__INCLUDED_)
#define AFX_SECURITY_H__080169BB_C2D8_4472_AB5A_82BFA1640AA5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CSecurity { public: static BOOL GetLoggedInUsername(LPTSTR szInBuffer, DWORD dwInBufferSize); static BOOL IsTokenUntrusted(HANDLE hToken); static BOOL IsUntrusted(); static BOOL IsAdministrator(); CSecurity(); virtual ~CSecurity();
};
#endif // !defined(AFX_SECURITY_H__080169BB_C2D8_4472_AB5A_82BFA1640AA5__INCLUDED_)
|