NdisIMQueueMiniportCallback (Windows Embedded CE 6.0)

1/6/2010

This function attempts to acquire the specified MiniportAdapterHandle's miniport lock and local lock and call the callback routine with the context information. If it cannot do so then it will queue a workitem to do it later.

Syntax

NDIS STATUS_NdisIMQueueMiniportCallback (
  IN NDIS_HANDLE MiniportAdapterHandle,
  IN W_MINIPORT_CALLBACK CallbackRoutine,
  IN PVOID CallbackContext
);

Parameters

  • CallbackRoutine
    Pointer to the routine that we are to call.
  • CallbackContext
    Context information for the callback routine.

Return Value

The following table shows the return values for this function

Value Description

NDIS_STATUS_SUCCESS

If this could be done synchronously.

NDIS_STATUS_PENDING

If it will be called at a later time.

NDIS_STATUS_RESOURCES

If the work item could not be queued.

Requirements

Header ndis.h
Library ndis.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

NDIS Library Functions
MiniportInitialize
NdisIMSwitchToMiniport
NdisMEthIndicateReceive
NdisMIndicateReceivePacket
NdisMIndicateStatus

Other Resources