naputil.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. #ifndef NAPUTIL_H
  6. #define NAPUTIL_H
  7. #include <winapifamily.h>
  8. #if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
  9. #include "naptypes.h"
  10. #include "napmanagement.h"
  11. #include "napservermanagement.h"
  12. #include "napprotocol.h"
  13. #include "napenforcementclient.h"
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #ifndef NAPAPI
  18. #define NAPAPI DECLSPEC_IMPORT
  19. #endif
  20. NAPAPI HRESULT WINAPI AllocFixupInfo(FixupInfo **fixupInfo, UINT16 countResultCodes);
  21. NAPAPI HRESULT WINAPI AllocConnections(Connections **connections, UINT16 connectionsCount);
  22. NAPAPI HRESULT WINAPI AllocCountedString(CountedString **countedString, CONST WCHAR *string);
  23. NAPAPI VOID WINAPI FreeFixupInfo(FixupInfo *fixupInfo);
  24. NAPAPI VOID WINAPI FreeConnections(Connections *connections);
  25. NAPAPI VOID WINAPI FreeIsolationInfo(IsolationInfo *isolationInfo);
  26. NAPAPI VOID WINAPI FreeIsolationInfoEx(IsolationInfoEx *isolationInfo);
  27. NAPAPI VOID WINAPI FreeCountedString(CountedString *countedString);
  28. NAPAPI VOID WINAPI FreeSoH(SoH *soh);
  29. NAPAPI VOID WINAPI FreeNetworkSoH(NetworkSoH *networkSoh);
  30. NAPAPI VOID WINAPI FreePrivateData(PrivateData *privateData);
  31. NAPAPI VOID WINAPI FreeSoHAttributeValue(SoHAttributeType type, SoHAttributeValue *value);
  32. NAPAPI VOID WINAPI FreeNapComponentRegistrationInfoArray(UINT16 count, NapComponentRegistrationInfo **info);
  33. NAPAPI VOID WINAPI FreeSystemHealthAgentState(SystemHealthAgentState *state);
  34. NAPAPI HRESULT WINAPI InitializeNapAgentNotifier(NapNotifyType type, HANDLE hNotifyEvent);
  35. NAPAPI VOID WINAPI UninitializeNapAgentNotifier(NapNotifyType type);
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39. #endif
  40. #endif