Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NdisMIndicateStatusEx function replaces the NdisMIndicateStatus and NdisMIndicateStatusComplete functions. Status indication parameters are packaged within an NDIS_STATUS_INDICATION structure that contains the source handle, status code, buffer, and size.
The initialization of status indication structure is shown in the following example.
StatusIndication.Header.Type = NDIS_OBJECT_TYPE_STATUS_INDICATION;
StatusIndication.Header.Revision = NDIS_STATUS_INDICATION_REVISION_1;
StatusIndication.Header.Size = sizeof(NDIS_STATUS_INDICATION);
StatusIndication.SourceHandle = Adapter->AdapterHandle;
StatusIndication.StatusCode = NDIS_STATUS_LINK_STATE;
StatusIndication.StatusBuffer = (PVOID)&LinkState;
StatusIndication.StatusBufferSize = sizeof(LinkState);