SetupComm(3w)

SetupComm3w

Usage

BOOL SetupComm
(
HANDLE handle,
DWORD insize,
DWORD outsize
)

Overview

Called after CreateFile to hint to the communication resource to use specified sizes for input and output buffers rather than the default values.

Params

handle [In] The just created communication resource handle.

insize [In] The suggested size of the communication resources input buffer in bytes.

outsize [In] The suggested size of the communication resources output buffer in bytes.

Returns

TRUE if successful, FALSE if the communications resource handle is bad.

Implementation

Declared in "advpub.h".

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

Debug channel "comm".

Releases

6 releases since Debian 2.0 (Hamm); the text changed 5 times.

  1. 2.0
  2. 2.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7

Bugs

Stub.

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.