The Virtual Interface Architecture

Synopsis
VIP_RETURN VipQueryNic( IN VIP_NIC_HANDLE NicHandle, OUT VIP_NIC_ATTRIBUTES *NicAttribs )
Parameters
| NicHandle: | The handle of a VI NIC. |
| NicAttribs: | Returned to the caller, contains NIC-specific information. |
Description
VipQueryNic returns information for a specific NIC instance. The information is returned in the NicAttribs data structure.
Returns
VIP_SUCCESS Operation completed successfully.
VIP_INVALID_PARAMETER The NIC handle was invalid.
VIP_ERROR_RESOURCE The operation failed due to insufficient resources.
Synopsis
VIP_RETURN VipSetViAttributes( IN VIP_VI_HANDLE ViHandle, IN VIP_VI_ATTRIBUTES *ViAttribs )
Parameters
| ViHandle : | The handle of a VI instance. |
| ViAttribs : | The attributes to be set for the VI. |
Description
VipSetViAttributes attempts to modify the attributes of a VI instance. If the VI Provider does not support the requested attributes, or if the VI is in a state that does not allow the attributes to be modified, then it returns an error.
Changing VI attributes is valid only when the VI is in the Idle state. An error is returned if VipSetViAttributes is called while the VI is in any other state. When an error is returned, all of the attributes remain unchanged. For...