windows-nt/Source/XPSP1/NT/base/screg/sc/sctest/sctest.h
2020-09-26 16:20:57 +08:00

70 lines
1 KiB
C

/*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
ScTest.h
Abstract:
This file contains tests of the Service Controller's config APIs:
CreateService
ChangeServiceConfig
ChangeServiceConfig2
DeleteService
QueryServiceConfig
QueryServiceConfig2
Author:
John Rogers (JohnRo) 21-Apr-1992
Environment:
User Mode - Win32
Revision History:
21-Apr-1992 JohnRo
Created.
--*/
#ifndef _SCTEST_
#define _SCTEST_
#include <stdio.h> // printf()
#define TRACE_MSG0( fmt ) (VOID) printf( fmt )
#define TRACE_MSG1( fmt, x ) (VOID) printf( fmt, x )
#define TRACE_MSG2( fmt, x, y ) (VOID) printf( fmt, x, y )
#define UNEXPECTED_MSG( text, retcode ) \
{ \
(VOID) printf( "***UNEXPECTED RETURN CODE*** " FORMAT_DWORD " " \
FORMAT_LPSTR "\n", retcode, text ); \
}
VOID
TestConfigAPIs(
VOID
);
VOID
TestConfig2APIs(
VOID
);
VOID
TestLocks(
VOID
);
#endif // _SCTEST_