ReactOS 0.4.16-dev-320-g3bd9ddc
workitem.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS NDIS library
4 * FILE: workitem.c
5 * PURPOSE: Implements the NDIS 6.0 work item interface
6 * PROGRAMMERS: Cameron Gutman (aicommander@gmail.com)
7 */
8
9#include "ndissys.h"
10
14 IN NDIS_HANDLE NdisObjectHandle)
15{
16 PLOGICAL_ADAPTER Adapter = NdisObjectHandle;
17
19}
20
21VOID
24 IN NDIS_HANDLE NdisIoWorkItemHandle,
25 IN NDIS_IO_WORKITEM_ROUTINE Routine,
26 IN PVOID WorkItemContext)
27{
28 PNDIS_IO_WORKITEM WorkItem = NdisIoWorkItemHandle;
29
31 Routine,
33 WorkItemContext);
34}
35
36VOID
39 IN NDIS_HANDLE NdisIoWorkItemHandle)
40{
41 PNDIS_IO_WORKITEM WorkItem = NdisIoWorkItemHandle;
43}
VOID EXPORT NdisQueueIoWorkItem(IN NDIS_HANDLE NdisIoWorkItemHandle, IN NDIS_IO_WORKITEM_ROUTINE Routine, IN PVOID WorkItemContext)
Definition: workitem.c:23
NDIS_HANDLE EXPORT NdisAllocateIoWorkItem(IN NDIS_HANDLE NdisObjectHandle)
Definition: workitem.c:13
VOID EXPORT NdisFreeIoWorkItem(IN NDIS_HANDLE NdisIoWorkItemHandle)
Definition: workitem.c:38
VOID NTAPI IoQueueWorkItem(IN PIO_WORKITEM IoWorkItem, IN PIO_WORKITEM_ROUTINE WorkerRoutine, IN WORK_QUEUE_TYPE QueueType, IN PVOID Context)
Definition: iowork.c:40
VOID NTAPI IoFreeWorkItem(IN PIO_WORKITEM IoWorkItem)
Definition: iowork.c:64
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
#define IN
Definition: typedefs.h:39
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem
Definition: wdfworkitem.h:115
@ DelayedWorkQueue
Definition: extypes.h:190