TDI_REQUEST

typedef struct _TDI_REQUEST {

union {

HANDLE AddressHandle;

CONNECTION_CONTEXT ConnectionContext;

HANDLE ControlChannel;

} Handle;

PVOID RequestNotifyObject;

PVOID RequestContext;

TDI_STATUS TdiStatus;

} TDI_REQUEST, *PTDI_REQUEST;

TDI_REQUEST contains information common to most TDI requests.

Members

AddressHandle

Specifies the handle of an address object related to a client request.

ConnectionContext

Specifies the context identifying the connection endpoint object related to a client request.

ControlChannel

Specifies the handle of a control channel object related to a client request.

RequestNotifyObject

Points to a 32-bit client-specified object the driver uses to identify the completion of a function. A value of REQNOTIFY_NULL (an operating system-specific manifest) implies that the driver function is synchronous.

RequestContext

Points to a 32-bit context the client associates with a driver function. The driver function does not interpret this context but simply returns it to the client.

TdiStatus

Specifies the final completion status of a specified TDI function. For a synchronous function, this member has the same value as the return value from the function.