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.

25 lines
280 B

  1. #ifndef _CSID_H
  2. #define _CSID_H
  3. class CSid
  4. {
  5. public:
  6. CSid ();
  7. ~CSid();
  8. inline BOOL
  9. bValid () CONST {
  10. return m_bValid;
  11. }
  12. BOOL
  13. SetCurrentSid ();
  14. private:
  15. HANDLE m_hToken;
  16. BOOL m_bValid;
  17. };
  18. #endif