Muokkaa

Jaa


OID_SWITCH_PORT_PROPERTY_DELETE

The protocol edge of the Hyper-V extensible switch issues an object identifier (OID) set request of OID_SWITCH_PORT_PROPERTY_DELETE to notify extensible switch extensions about the deletion of a policy property for an extensible switch port.

The InformationBuffer member of the NDIS_OID_REQUEST structure contains a pointer to a buffer that contains an NDIS_SWITCH_PORT_PROPERTY_DELETE_PARAMETERS structure.

Remarks

A forwarding extension can handle the OID set request of OID_SWITCH_PORT_PROPERTY_DELETE. All other types of extensions must call NdisFOidRequest to forward the OID request to the next extension in the extensible switch driver stack.

For guidelines on how to handle an OID set request of OID_SWITCH_PORT_PROPERTY_DELETE, see Managing Port Policies.

Return Status Codes

If the forwarding extension completes the OID set request of OID_SWITCH_PORT_PROPERTY_DELETE, it returns one of the following status codes.

Status Code Description

NDIS_STATUS_SUCCESS

The OID request completed successfully.

NDIS_STATUS_NOT_SUPPORTED

The forwarding extension does not support the port policy.

NDIS_STATUS_Xxx

The OID request failed for other reasons.

If the forwarding extension does not complete the OID set request of OID_SWITCH_PORT_PROPERTY_DELETE, the request is completed by the underlying miniport edge of the extensible switch. The miniport edge returns the following status code.

Status Code Description

NDIS_STATUS_SUCCESS

The OID request completed successfully.

Requirements

Version

Supported in NDIS 6.30 and later.

Header

Ntddndis.h (include Ndis.h)

See also


NDIS_OID_REQUEST

NDIS_SWITCH_PORT_PROPERTY_CUSTOM

NDIS_SWITCH_PORT_PROPERTY_PARAMETERS

NDIS_SWITCH_PORT_PROPERTY_VLAN

NdisFOidRequest