Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNetworkInfo_Construct ( kNetworkInfo info,
kNetworkAdapterType  typeFilter,
kNetworkAdapterState  stateFilter,
kAlloc  alloc 
)

Constructs a network info object describing the current state of any local network adapters, filtering the output as desired.

Parameters
infoReceives Network info object.
typeFilterSpecifies which adapters/interfaces to be included (default: kNETWORK_ADAPTER_TYPE_FILTER_DEFAULT).
stateFilterSpecifies which adapters/interfaces to be included (default: kNETWORK_ADAPTER_STATE_FILTER_DEFAULT).
allocMemory allocator (or kNULL for default).
Returns
Operation status.