TDI_REQUEST_STATUS

typedef struct _TDI_REQUEST_STATUS { 
    TDI_STATUS Status; 
    PVOID RequestContext; 
    ULONG BytesTransferred; 
} TDI_REQUEST_STATUS, *PTDI_REQUEST_STATUS; 
 

TDI_REQUEST_STATUS contains status information a TDI driver function sets when it completes its operation.This structure can be used by transport drivers to pass request-specific information between internal driver routines.

Members

Status
Specifies the final completion status of the function. For a synchronous function, this member contains the return value.
RequestContext
Points to the handle the client passes to the driver function in a TDI_REQUEST structure.
BytesTransferred
Specifies the number of bytes of data the function transfers. For an asynchronous receive operation, for example, this member contains the number of bytes of data the client receives when the transport completes the IRP.

See Also

TDI_REQUEST