Source code of Windows XP (NT5)
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.

41 lines
613 B

  1. /*++
  2. Copyright (c) 2000-2001 Microsoft Corporation
  3. Module Name:
  4. Common.h
  5. Abstract:
  6. This file has common stuff among SMVTest, SMVDDLL and SMVSDLL.
  7. Author:
  8. Diaa Fathalla (DiaaF) 11-Dec-2000
  9. Revision History:
  10. --*/
  11. #ifndef _COMMON_H_
  12. #define _COMMON_H_
  13. #include "..\excluded\excluded.h"
  14. LPCTSTR SHIM_TEST = TEXT("123");
  15. extern "C" BOOL TestResults(LPCTSTR szTestStr)
  16. {
  17. TCHAR szTemp[MAX_PATH];
  18. LPTSTR szReturn;
  19. szReturn = NOT_HOOKEDGetCommandLine();
  20. _tcscpy(szTemp, szReturn);
  21. _tcscat(szTemp, SHIM_TEST);
  22. if (_tcscmp(szTemp,szTestStr) == 0)
  23. return TRUE;
  24. return FALSE;
  25. }
  26. #endif