Partager via


NDIS_WORK_ITEM (Windows Embedded CE 6.0)

1/6/2010

This structure is used to specify the entry point of a caller-supplied function that processes a work item when it is de-queued.

Syntax

Typedef struct _NDIS_WORK_ITEM {
  PVOID Context; 
  NDIS_PROC Routine; 
  UCHAR WrapperReserved; 
);

Members

  • Context
    Points to a caller-supplied context area that is passed, uninterpreted, to the callback as its only parameter. This area should be in resident memory and accessible in any arbitrary thread context in which the callback might be run subsequently. In particular, Context cannot point to the stack.
  • Routine
    Specifies the entry point of a caller-supplied function that processes this work item when it is de-queued.
  • WrapperReserved
    Reserved exclusively for use by NDIS.

Requirements

Header ndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NDIS Structures
NdisInitializeWorkItem
NDIS_PROC