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.

42 lines
1.2 KiB

  1. /*
  2. TSen.h
  3. (c) 2002 Microsoft Corp
  4. */
  5. #ifndef _TSEN_H
  6. #define _TSEN_H
  7. #define UNICODE
  8. #define _UNICODE
  9. TCHAR *ParseArgs();
  10. TCHAR *Constants();
  11. int printTSSession(TCHAR*);
  12. TCHAR Usage[] =
  13. _T("tsen - displays details of the active TS session on a remote computer\n")
  14. _T("Usage: \ttsen.exe [/?][computer]\n\n" \)
  15. _T("\t\tplease run as the ntdev\\ntbuild\n" \)
  16. _T("\n") ;
  17. TCHAR Codes[] =
  18. _T("\t%u A user is logged on to the WinStation.\n")
  19. _T("\t%u The WinStation is connected to the client.\n" \)
  20. _T("\t%u The WinStation is in the process of connecting to the client.\n" \)
  21. _T("\t%u The WinStation is shadowing another WinStation. \n" \)
  22. _T("\t%u The WinStation is active but the client is disconnected. \n" \)
  23. _T("\t%u The WinStation is waiting for a client to connect. \n" \)
  24. _T("\t%u The WinStation is listening for a connection. \n" \)
  25. _T("\t%u The WinStation is being reset. \n" \)
  26. _T("\t%u The WinStation is down due to an error. \n"\)
  27. _T("\t%u The WinStation is initializing. \n\n");
  28. CONST INT SZTSIZE = 1024;
  29. CONST INT KNOWNARG = 1;
  30. #endif