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.

69 lines
1.0 KiB

  1. /*++
  2. Copyright (c) 1992 Microsoft Corporation
  3. Module Name:
  4. ScTest.h
  5. Abstract:
  6. This file contains tests of the Service Controller's config APIs:
  7. CreateService
  8. ChangeServiceConfig
  9. ChangeServiceConfig2
  10. DeleteService
  11. QueryServiceConfig
  12. QueryServiceConfig2
  13. Author:
  14. John Rogers (JohnRo) 21-Apr-1992
  15. Environment:
  16. User Mode - Win32
  17. Revision History:
  18. 21-Apr-1992 JohnRo
  19. Created.
  20. --*/
  21. #ifndef _SCTEST_
  22. #define _SCTEST_
  23. #include <stdio.h> // printf()
  24. #define TRACE_MSG0( fmt ) (VOID) printf( fmt )
  25. #define TRACE_MSG1( fmt, x ) (VOID) printf( fmt, x )
  26. #define TRACE_MSG2( fmt, x, y ) (VOID) printf( fmt, x, y )
  27. #define UNEXPECTED_MSG( text, retcode ) \
  28. { \
  29. (VOID) printf( "***UNEXPECTED RETURN CODE*** " FORMAT_DWORD " " \
  30. FORMAT_LPSTR "\n", retcode, text ); \
  31. }
  32. VOID
  33. TestConfigAPIs(
  34. VOID
  35. );
  36. VOID
  37. TestConfig2APIs(
  38. VOID
  39. );
  40. VOID
  41. TestLocks(
  42. VOID
  43. );
  44. #endif // _SCTEST_