14 lines
361 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#ifndef _SECURENT_INC
#define _SECURENT_INC
//
// Shell helper functions for security
//
STDAPI_(PTOKEN_USER) GetUserToken(HANDLE hUser);
STDAPI_(LPTSTR) GetUserSid(HANDLE hToken);
STDAPI_(BOOL) GetUserProfileKey(HANDLE hToken, REGSAM samDesired, HKEY *phkey);
STDAPI_(BOOL) IsUserAnAdmin();
STDAPI_(BOOL) IsUserAGuest();
#endif // _SECURENT_INC