// netioapi.h
VOID NETIOAPI_API_ InitializeIpInterfaceEntry(
_Inout_ PMIB_IPINTERFACE_ROW Row
);
View the official Windows hardware development documentationNo description available.
The InitializeIpInterfaceEntry function initializes the members of an MIB_IPINTERFACE_ROW structure entry with default values.
InitializeIpInterfaceEntry returns STATUS_SUCCESS if the function succeeds.
If the function fails, InitializeIpInterfaceEntry returns one of the following error codes:
| Return code | Description |
|---|---|
| STATUS_INVALID_PARAMETER | An invalid parameter was passed to the function. This error is returned if a NULL pointer is passed in the Row parameter |
| Other | Use the FormatMessage function to obtain the message string for the returned error. |
On output, the members of the MIB_IPINTERFACE_ROW structure that the Row parameter points to are initialized as follows.
Family Set to AF_UNSPEC.
InterfaceLuid Set to an unspecified value.
All other members Set to zero.
Your driver must use the InitializeIpInterfaceEntry function to initialize the fields of a MIB_IPINTERFACE_ROW structure entry with default values. A driver can then change the fields in the MIB_IPINTERFACE_ROW entry that it wants to modify, and then call the SetIpInterfaceEntry function.
| Target platform | Universal |
| Version | Available in Windows Vista and later versions of the Windows operating systems. |
| Header | Netioapi.h (include Netioapi.h) |
| Library | Netio.lib |
| IRQL | < DISPATCH_LEVEL |