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.

26 lines
1.1 KiB

  1. //---------------------------------------------------------------------------
  2. // uxbud.h - automated buddy tests for uxtheme.dll
  3. //---------------------------------------------------------------------------
  4. #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
  5. //---------------------------------------------------------------------------
  6. typedef BOOL (*TESTPROC)();
  7. //---------------------------------------------------------------------------
  8. struct TESTINFO
  9. {
  10. TESTPROC pfnTest;
  11. CHAR *pszName;
  12. CHAR *pszDesc;
  13. };
  14. //---------------------------------------------------------------------------
  15. //---- defined by test modules ----
  16. extern BOOL GetTestInfo(TESTINFO **ppTestInfo, int *piCount);
  17. //---------------------------------------------------------------------------
  18. //---- used by test modulels ----
  19. void Output(LPCSTR pszFormat, ...);
  20. BOOL ReportResults(BOOL fPassed, HRESULT hr, LPCWSTR pszTestName);
  21. BOOL FileCompare(LPCWSTR pszName1, LPCWSTR pszName2);
  22. BOOL RunCmd(LPCWSTR pszExeName, LPCWSTR pszParams, BOOL fHide, BOOL fDisplayParams,
  23. BOOL fWait=TRUE);
  24. //---------------------------------------------------------------------------