NAME

PurgeComm  (KERNEL32.@)

SYNOPSIS

 BOOL PurgeComm
 (
  HANDLE handle,
  DWORD  flags
 )

DESCRIPTION

Terminates pending operations and/or discards buffers on a communication resource.

PARAMS

handle [In] The communication resource to be purged.
flags [In] Flags for clear pending/buffer on input/output.

RETURNS

TRUE on success and FALSE if the communications handle is bad.

IMPLEMENTATION

Defined in "winbase.h".

Implemented in "dlls/kernel32/comm.c". source.winehq.org/source/dlls/kernel32/comm.c

Debug channel "comm".


Copyright © 2008 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Jul 2008.