Handling an Interface Object Set Request

To set the data that is associated with an interface object, NDIS calls an interface provider's ProviderSetObject function. This function returns NDIS_STATUS_SUCCESS if it successfully changed the data or an NDIS_STATUS_Xxx error code otherwise.

For a list of interface provider-specific OID requests, see NDIS Network Interface OIDs. For a list of OIDs that NDIS uses with providers, miniport adapters, and filter modules to support network interface objects, see NDIS Network Interface to OID Mapping.

The handle at the ProviderIfContext parameter of ProviderSetObject identifies the context area that the interface provider passed to NDIS when it called the NdisIfRegisterInterface function to register the interface. The ObjectId parameter specifies the OID for the object that is being set. The InputBufferLength and pInputBuffer parameters provide the length of the input buffer and a pointer to the input buffer, respectively.