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.

28 lines
641 B

  1. #ifndef __TUTOR_H
  2. #define __TUTOR_H
  3. #define ICW_DEFAULT_TUTOR TEXT("icwtutor.exe")
  4. #define SIZE_OF_TUTOR_PATH MAX_PATH*3
  5. class CICWTutorApp
  6. {
  7. public:
  8. CICWTutorApp ();
  9. ~CICWTutorApp ();
  10. void LaunchTutorApp ();
  11. void ReplaceTutorAppCmdLine(LPTSTR lpszCmdLine)
  12. {
  13. if (lpszCmdLine)
  14. lstrcpyn(m_szTutorAppCmdLine, lpszCmdLine, sizeof(m_szTutorAppCmdLine));
  15. };
  16. private:
  17. STARTUPINFO m_StartInfo;
  18. PROCESS_INFORMATION m_ProcessInfo;
  19. TCHAR m_szTutorAppCmdLine [SIZE_OF_TUTOR_PATH];
  20. void SetTutorAppCmdLine ();
  21. };
  22. #endif __TUTOR_H