// --------------------------------------------------------------------
//                                                                     
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A      
// PARTICULAR PURPOSE.                                                 
// Copyright (c) 2000 Microsoft Corporation.  All rights reserved.
//                                                                     
// --------------------------------------------------------------------

#include <TUXMAIN.H>

extern const DWORD     BAUD_RATES[];
extern const LPTSTR    SZ_BAUD_RATES[];
extern const DWORD     BAUD_RATES_VAL[];
extern const UINT      NUM_BAUD_RATES;

extern const WORD      DATA_BITS[];
extern const LPTSTR    SZ_DATA_BITS[];
extern const BYTE      DATA_BITS_VAL[];
extern const UINT      NUM_DATA_BITS;

extern const WORD      STOP_BITS[];
extern const LPTSTR    SZ_STOP_BITS[];
extern const BYTE      STOP_BITS_VAL[];
extern const UINT      NUM_STOP_BITS;

extern const WORD      PARITY[];
extern const LPTSTR    SZ_PARITY[];
extern const BYTE      PARITY_VAL[];
extern const UINT      NUM_PARITY;

extern const DWORD     PROVIDER_CAPS[];
extern const LPTSTR    SZ_PROVIDER_CAPS[];
extern const UINT      NUM_PROVIDER_CAPS;

extern const DWORD     SETTABLE_PARAMS[];
extern const LPTSTR    SZ_SETTABLE_PARAMS[];
extern const UINT      NUM_SETTABLE_PARAMS;

extern const DWORD     COMM_EVENTS[];
extern const LPTSTR    SZ_COMM_EVENTS[];
extern const UINT      NUM_COMM_EVENTS;

extern const DWORD     COMM_FUNCTIONS[];
extern const LPTSTR    SZ_COMM_FUNCTIONS[];
extern const UINT      NUM_COMM_FUNCTIONS;

HANDLE Util_OpenCommPort(UINT unCommPort);
UINT Util_QueryCommPortCount(VOID);
