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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for