NAP Utility Functions

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.



Community Additions

© 2014 Microsoft