Leaked source code of windows server 2003
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.

13 lines
361 B

  1. #ifndef _SECURENT_INC
  2. #define _SECURENT_INC
  3. //
  4. // Shell helper functions for security
  5. //
  6. STDAPI_(PTOKEN_USER) GetUserToken(HANDLE hUser);
  7. STDAPI_(LPTSTR) GetUserSid(HANDLE hToken);
  8. STDAPI_(BOOL) GetUserProfileKey(HANDLE hToken, REGSAM samDesired, HKEY *phkey);
  9. STDAPI_(BOOL) IsUserAnAdmin();
  10. STDAPI_(BOOL) IsUserAGuest();
  11. #endif // _SECURENT_INC