Reference

ClearCommError(3w)

NAME

ClearCommError (KERNEL32.@)

SYNOPSIS

BOOL ClearCommError
(
HANDLE handle,
LPDWORD errors,
LPCOMSTAT lpStat
)

DESCRIPTION

Enables further I/O operations on a communications resource after supplying error and current status information.

PARAMS

handle [In] The communication resource with the error.

errors [Out] Flags indicating error the resource experienced.

lpStat [Out] The status of the communication resource.

RETURNS

TRUE on success, FALSE if the communication resource handle is bad.

IMPLEMENTATION

Declared in "winbase.h".

Implemented in "dlls/kernel32/comm.c".

Debug channel "comm".

History