ClientEventError

TDI_STATUS
ClientEventError (
IN PVOID TdiEventContext,
IN NTSTATUS Status
);

ClientEventError is a routine the TDI driver calls in response to a TDI_EVENT_ERROR event. It notifies the local node client of an error condition in the TDI driver or in one of the lower protocol layers or netcards associated with the driver. The TDI driver calls the ClientEventError function in each client for every open address object.

In general, TDI_EVENT_ERROR indicates a catastrophic failure. A client receiving this event should cease to use, and in some cases close, the address object associated with the event.

Parameters

TdiEventContext

Points to the context the client specifies in an IRP when it issues the TDI_SET_EVENT_HANDLER request message to register ClientEventError.

Status

Specifies an NSTATUS value.

Return Value

ClientEventError can return the following TDI status code:

STATUS_SUCCESS

For more information about status codes, see Part II, Chapter 10.

See Also

TDI_SET_EVENT_HANDLER