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.

32 lines
764 B

  1. //
  2. // security.h
  3. //
  4. // Implementation of CTSSecurity
  5. // TS Client Shell Security functions
  6. //
  7. // Copyright(C) Microsoft Corporation 2001
  8. // Author: Nadim Abdo (nadima)
  9. //
  10. //
  11. #ifndef _TSSECURITY_H_
  12. #define _TSSECURITY_H_
  13. #include "tscsetting.h"
  14. class CTSSecurity
  15. {
  16. public:
  17. CTSSecurity();
  18. ~CTSSecurity();
  19. static DWORD MakePromptFlags(BOOL fRedirectDrives,
  20. BOOL fRedirectPorts);
  21. static BOOL AllowConnection(HWND hwndOwner,
  22. HINSTANCE hInstance,
  23. LPCTSTR szServer,
  24. BOOL fRedirectDrives,
  25. BOOL fRedirectPorts);
  26. };
  27. #endif _TSSECURITY_H_