ReactOS 0.4.15-dev-8422-g6219a1a
workitem.c File Reference
#include "ndissys.h"
Include dependency graph for workitem.c:

Go to the source code of this file.

Functions

NDIS_HANDLE EXPORT NdisAllocateIoWorkItem (IN NDIS_HANDLE NdisObjectHandle)
 
VOID EXPORT NdisQueueIoWorkItem (IN NDIS_HANDLE NdisIoWorkItemHandle, IN NDIS_IO_WORKITEM_ROUTINE Routine, IN PVOID WorkItemContext)
 
VOID EXPORT NdisFreeIoWorkItem (IN NDIS_HANDLE NdisIoWorkItemHandle)
 

Function Documentation

◆ NdisAllocateIoWorkItem()

NDIS_HANDLE EXPORT NdisAllocateIoWorkItem ( IN NDIS_HANDLE  NdisObjectHandle)

Definition at line 13 of file workitem.c.

15{
16 PLOGICAL_ADAPTER Adapter = NdisObjectHandle;
17
19}
PIO_WORKITEM NTAPI IoAllocateWorkItem(IN PDEVICE_OBJECT DeviceObject)
Definition: iowork.c:75
NDIS_MINIPORT_BLOCK NdisMiniportBlock
Definition: miniport.h:89
PDEVICE_OBJECT PhysicalDeviceObject
Definition: ndis.h:2553

◆ NdisFreeIoWorkItem()

VOID EXPORT NdisFreeIoWorkItem ( IN NDIS_HANDLE  NdisIoWorkItemHandle)

Definition at line 38 of file workitem.c.

40{
41 PNDIS_IO_WORKITEM WorkItem = NdisIoWorkItemHandle;
43}
VOID NTAPI IoFreeWorkItem(IN PIO_WORKITEM IoWorkItem)
Definition: iowork.c:64
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem
Definition: wdfworkitem.h:115

◆ NdisQueueIoWorkItem()

VOID EXPORT NdisQueueIoWorkItem ( IN NDIS_HANDLE  NdisIoWorkItemHandle,
IN NDIS_IO_WORKITEM_ROUTINE  Routine,
IN PVOID  WorkItemContext 
)

Definition at line 23 of file workitem.c.

27{
28 PNDIS_IO_WORKITEM WorkItem = NdisIoWorkItemHandle;
29
31 Routine,
33 WorkItemContext);
34}
VOID NTAPI IoQueueWorkItem(IN PIO_WORKITEM IoWorkItem, IN PIO_WORKITEM_ROUTINE WorkerRoutine, IN WORK_QUEUE_TYPE QueueType, IN PVOID Context)
Definition: iowork.c:40
@ DelayedWorkQueue
Definition: extypes.h:190