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.

72 lines
1.9 KiB

  1. //+------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1993.
  5. //
  6. // File: bm_api.hxx
  7. //
  8. // Contents: test class definition
  9. //
  10. // Classes: CApiTest
  11. //
  12. // Functions:
  13. //
  14. // History: 19-July-93 t-martig Created
  15. //
  16. //--------------------------------------------------------------------------
  17. #ifndef _BM_API_HXX_
  18. #define _BM_API_HXX_
  19. #include <bm_base.hxx>
  20. class CApiTest : public CTestBase
  21. {
  22. public:
  23. virtual TCHAR *Name ();
  24. virtual SCODE Setup (CTestInput *input);
  25. virtual SCODE Run ();
  26. virtual SCODE Report (CTestOutput &OutputFile);
  27. virtual SCODE Cleanup ();
  28. private:
  29. ULONG m_ulIterations;
  30. // build version APIs
  31. ULONG m_ulCoBuildVersion[TEST_MAX_ITERATIONS];
  32. ULONG m_ulOleBuildVersion[TEST_MAX_ITERATIONS];
  33. ULONG m_ulCoGetCurrentProcess[TEST_MAX_ITERATIONS];
  34. ULONG m_ulCoGetMalloc[TEST_MAX_ITERATIONS];
  35. ULONG m_ulOleGetMalloc[TEST_MAX_ITERATIONS];
  36. // time APIs
  37. ULONG m_ulCoFileTimeNow[TEST_MAX_ITERATIONS];
  38. ULONG m_ulCoFileTimeToDosDateTime[TEST_MAX_ITERATIONS];
  39. ULONG m_ulCoDosDateTimeToFileTime[TEST_MAX_ITERATIONS];
  40. // registry & class APIs
  41. ULONG m_ulCoCreateGuid[TEST_MAX_ITERATIONS];
  42. ULONG m_ulCoTreatAsClass[TEST_MAX_ITERATIONS];
  43. ULONG m_ulCoGetTreatAsClass[TEST_MAX_ITERATIONS];
  44. ULONG m_ulCoIsOle1Class[TEST_MAX_ITERATIONS];
  45. ULONG m_ulGetClassFile[TEST_MAX_ITERATIONS];
  46. ULONG m_ulStringFromCLSID[TEST_MAX_ITERATIONS];
  47. ULONG m_ulCLSIDFromString[TEST_MAX_ITERATIONS];
  48. ULONG m_ulProgIDFromCLSID[TEST_MAX_ITERATIONS];
  49. ULONG m_ulStringFromIID[TEST_MAX_ITERATIONS];
  50. ULONG m_ulIIDFromString[TEST_MAX_ITERATIONS];
  51. ULONG m_ulCLSIDFromProgID[TEST_MAX_ITERATIONS];
  52. ULONG m_ulStringFromGUID2[TEST_MAX_ITERATIONS];
  53. };
  54. #endif