NAP Utility Functions
Note
The Network Access Protection platform is not available starting with Windows 10
The following utility functions support the NAP API.
All the COM interfaces supported by the NAP system use standard COM memory management rules and the COM memory allocator (CoTaskMemAlloc and CoTaskMemFree).
- IN parameters — allocated and freed by caller.
- OUT parameters — allocated by callee, freed by caller using CoTaskMem*()
- IN/OUT parameters — allocated by caller, freed and reallocated by callee, ultimately freed by caller, using CoTaskMem*()
In the FreeXxx() functions, all embedded pointers will also be freed.
- AllocConnections
- AllocCountedString
- AllocFixupInfo
- FreeConnections
- FreeCountedString
- FreeFixupInfo
- FreeIsolationInfo
- FreeIsolationInfoEx
- FreeNapComponentRegistrationInfoArray
- FreeNetworkSoH
- FreePrivateData
- FreeSoH
- FreeSoHAttributeValue
- FreeSystemHealthAgentState
- InitializeNapAgentNotifier
- UninitializeNapAgentNotifier