#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 __cplusplus | |
extern "C" { | |
#endif | |
#define ReleaseServiceHandle(h) if (h) { ::CloseServiceHandle(h); h = NULL; } | |
HRESULT DAPI SvcQueryConfig( | |
__in SC_HANDLE sch, | |
__out QUERY_SERVICE_CONFIGW** ppConfig | |
); | |
#ifdef __cplusplus | |
} | |
#endif |