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.

56 lines
1.3 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bminput.hxx
  7. //
  8. // Contents: input class definition
  9. //
  10. // Classes: CTestInput
  11. //
  12. // Functions:
  13. //
  14. // History: 19-July-93 t-martig Created
  15. // 07-July-93 t-vadims Added GetConfigInt
  16. //
  17. //--------------------------------------------------------------------------
  18. #ifndef _BMINPUT_HXX_
  19. #define _BMINPUT_HXX_
  20. class CTestInput
  21. {
  22. public:
  23. CTestInput (LPTSTR lpszFileName);
  24. LPTSTR GetConfigString(LPTSTR lpszSection,
  25. LPTSTR lpszEntry,
  26. LPTSTR lpszDefault,
  27. LPTSTR lpszDest,
  28. DWORD dwLen);
  29. DWORD GetConfigInt(LPTSTR lpszSection,
  30. LPTSTR lpszEntry,
  31. DWORD dwDefault);
  32. DWORD GetClassCtx (LPTSTR lpszTestName);
  33. DWORD GetOleInitFlag (void);
  34. DWORD GetInfoLevelFlag (void);
  35. SCODE GetGUID (GUID *pClsID,
  36. LPTSTR lpszTestName,
  37. LPTSTR lpszEntryName);
  38. SCODE GetClassID (GUID *pClsID, LPTSTR lpszTestName);
  39. DWORD GetIterations (LPTSTR lpszTestName, int iIterDefault = 1);
  40. DWORD GetRealIterations (LPTSTR lpszTestName, int iIterDefault = 1);
  41. private:
  42. TCHAR m_szFileName[80];
  43. };
  44. #endif // _BMINPUT_HXX_