NdisIMQueueMiniportCallback (Windows CE 5.0)

Send Feedback

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.

NDIS STATUS_NdisIMQueueMiniportCallback (IN NDIS_HANDLE MiniportAdapterHandle,IN W_MINIPORT_CALLBACKCallbackRoutine,IN PVOIDCallbackContext);

Parameters

  • MiniportAdapterHandle
    Handle input to the MiniportInitialize function.
  • CallbackRoutine
    Pointer to the routine that we are to call.
  • CallbackContext
    Context information for the callback routine.

Return Values

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

OS Versions: Windows CE .NET 2.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib

See Also

MiniportHandleInterrupt | MiniportInitialize | NdisIMSwitchToMiniport | NdisMEthIndicateReceive | NdisMIndicateReceivePacket | NdisMIndicateStatus

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.