1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef _INC_NAPUTIL 7 #define _INC_NAPUTIL 8 9 #include <naptypes.h> 10 #if (_WIN32_WINNT >= 0x0600) 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 #define NAPAPI DECLSPEC_IMPORT 17 18 NAPAPI HRESULT WINAPI AllocConnections(Connections **connections,UINT16 connectionsCount); 19 NAPAPI VOID WINAPI FreeConnections(Connections *connections); 20 NAPAPI HRESULT WINAPI AllocFixupInfo(FixupInfo **fixupInfo,UINT16 countResultCodes); 21 NAPAPI VOID WINAPI FreeCountedString(CountedString *countedString); 22 NAPAPI VOID WINAPI FreeFixupInfo(FixupInfo *fixupInfo); 23 NAPAPI VOID WINAPI FreeIsolationInfo(IsolationInfo *isolationInfo); 24 NAPAPI VOID WINAPI FreeIsolationInfoEx(IsolationInfoEx *isolationInfo); 25 NAPAPI VOID WINAPI FreeNapComponentRegistrationInfoArray(UINT16 count,NapComponentRegistrationInfo **info); 26 NAPAPI VOID WINAPI FreeNetworkSoH(NetworkSoH *networkSoh); 27 NAPAPI VOID WINAPI FreePrivateData(PrivateData *privateData); 28 NAPAPI VOID WINAPI FreeSoH(SoH *soh); 29 NAPAPI VOID WINAPI FreeSoHAttributeValue(SoHAttributeType type,SoHAttributeValue *value); 30 NAPAPI VOID WINAPI FreeSystemHealthAgentState(SystemHealthAgentState *state); 31 NAPAPI HRESULT WINAPI InitializeNapAgentNotifier(NapNotifyType type,HANDLE hNotifyEvent); 32 NAPAPI VOID WINAPI UninitializeNapAgentNotifier(NapNotifyType type); 33 34 #ifdef __cplusplus 35 } 36 #endif 37 38 #endif /*(_WIN32_WINNT >= 0x0600)*/ 39 40 #endif /* _INC_NAPUTIL */ 41 42