Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Définit les fonctionnalités de couche de liaison de la carte réseau.
Syntax
void NetAdapterSetLinkLayerCapabilities(
[_In_] NETADAPTER Adapter,
[_In_] NET_ADAPTER_LINK_LAYER_CAPABILITIES *LinkLayerCapabilities
);
Parameters
[_In_] Adapter
The network adapter object that the client created in a prior call to NetAdapterCreate.
[_In_] LinkLayerCapabilities
A pointer to an allocated and initialized NET_ADAPTER_LINK_LAYER_CAPABILITIES structure.
Return value
None
Remarks
The client driver calls this function when starting a net adapter, before calling NetAdapterStart.
This function, along with a few other set capability functions (see below), is the replacement for the NDIS_MINIPORT_ADAPTER_GENERAL_ATTRIBUTES union that a (non-WDF) client of Ndis.sys sets by calling NdisMSetMiniportAttributes.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Universal |
| version minimale de KMDF | 1.21 |
| version minimale de UMDF | 2.33 |
| Header | netadapter.h (include netadaptercx.h) |
| IRQL | PASSIVE_LEVEL |