| 1 | #pragma once |
| 2 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 3 | |
| 4 | |
| 5 | #ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | #endif |
| 8 | |
| 9 | |
| 10 | #define ReleaseServiceHandle(h) if (h) { ::CloseServiceHandle(h); h = NULL; } |
| 11 | |
| 12 | |
| 13 | HRESULT DAPI SvcQueryConfig( |
| 14 | __in SC_HANDLE sch, |
| 15 | __out QUERY_SERVICE_CONFIGW** ppConfig |
| 16 | ); |
| 17 | |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |