#pragma once//-------------------------------------------------------------------------------------------------// <copyright file="svcutil.h" company="Outercurve Foundation">// Copyright (c) 2004, Outercurve Foundation.// This software is released under Microsoft Reciprocal License (MS-RL).// The license and further copyright text can be found in the file// LICENSE.TXT at the root directory of the distribution.// </copyright>// // <summary>// Header for Windows service helper functions.// </summary>//-------------------------------------------------------------------------------------------------#ifdef __cplusplusextern"C"{#endif#define ReleaseServiceHandle(h) if (h) { ::CloseServiceHandle(h); h = NULL; }HRESULTDAPISvcQueryConfig(__inSC_HANDLEsch,__outQUERY_SERVICE_CONFIGW**ppConfig);#ifdef __cplusplus}#endif