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. This structure can be used by transport drivers to pass request-specific information between internal driver routines.

Members

AddressHandle
Specifies the handle to an open file object representing an address.
ConnectionContext
Specifies the client-supplied context associated with an open file object representing a connection endpoint.
ControlChannel
Specifies the handle to an open file object representing a control channel.
RequestNotifyObject
Points to a client-supplied IoCompletion routine, if any. A value of REQNOTIFY_NULL (a system-specific manifest) implies that request is synchronous.
RequestContext
Points to a client-supplied context for its IoCompletion routine, if any. This value is passed, uninterpreted by the system or the transport, to the IoCompletion routine when it is called on completion of this request.
TdiStatus
Specifies the final completion status of this request. If the request is synchronous, this is set to the value returned by the transport routine that handles this request.

See Also

TDI_REQUEST_KERNEL