1 /**
2  * This file is part of the mingw-w64 runtime package.
3  * No warranty is given; refer to the file DISCLAIMER within this package.
4  */
5 
6 #ifndef NAPUTIL_H
7 #define NAPUTIL_H
8 
9 #include <winapifamily.h>
10 
11 #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
12 
13 #include "naptypes.h"
14 #include "napmanagement.h"
15 #include "napservermanagement.h"
16 #include "napprotocol.h"
17 #include "napenforcementclient.h"
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
23 #ifndef NAPAPI
24 #define NAPAPI DECLSPEC_IMPORT
25 #endif
26 
27   NAPAPI HRESULT WINAPI AllocFixupInfo(FixupInfo **fixupInfo, UINT16 countResultCodes);
28   NAPAPI HRESULT WINAPI AllocConnections(Connections **connections, UINT16 connectionsCount);
29   NAPAPI HRESULT WINAPI AllocCountedString(CountedString **countedString, CONST WCHAR *string);
30   NAPAPI VOID WINAPI FreeFixupInfo(FixupInfo *fixupInfo);
31   NAPAPI VOID WINAPI FreeConnections(Connections *connections);
32   NAPAPI VOID WINAPI FreeIsolationInfo(IsolationInfo *isolationInfo);
33   NAPAPI VOID WINAPI FreeIsolationInfoEx(IsolationInfoEx *isolationInfo);
34   NAPAPI VOID WINAPI FreeCountedString(CountedString *countedString);
35   NAPAPI VOID WINAPI FreeSoH(SoH *soh);
36   NAPAPI VOID WINAPI FreeNetworkSoH(NetworkSoH *networkSoh);
37   NAPAPI VOID WINAPI FreePrivateData(PrivateData *privateData);
38   NAPAPI VOID WINAPI FreeSoHAttributeValue(SoHAttributeType type, SoHAttributeValue *value);
39   NAPAPI VOID WINAPI FreeNapComponentRegistrationInfoArray(UINT16 count, NapComponentRegistrationInfo **info);
40   NAPAPI VOID WINAPI FreeSystemHealthAgentState(SystemHealthAgentState *state);
41   NAPAPI HRESULT WINAPI InitializeNapAgentNotifier(NapNotifyType type, HANDLE hNotifyEvent);
42   NAPAPI VOID WINAPI UninitializeNapAgentNotifier(NapNotifyType type);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif
49 #endif
50