Annotation of gcl520h/_comwin.h, revision 1.1.1.1

1.1       root        1: #ifndef _COMWIN_DOT_H
                      2: #define _COMWIN_DOT_H
                      3: 
                      4: /*
                      5:  * _COMWIN.H          5.20A  June 8, 1995
                      6:  *
                      7:  * The Greenleaf Comm Library
                      8:  *
                      9:  * Copyright (C) 1984-1995 Greenleaf Software Inc.  All Rights Reserved.
                     10:  *
                     11:  * NOTES
                     12:  *
                     13:  * This file contains the internal structures and function definitions
                     14:  * used by the MSWindows comm driver.  Probably this file should have
                     15:  * been named _mswin.h for consistency, but it's too late to change
                     16:  * that now.
                     17:  *
                     18:  * MODIFICATIONS
                     19:  *
                     20:  * December 12, 1992  4.00A : Initial release
                     21:  *
                     22:  * February 7, 1995   5.10C : Added OVERLAPPED element to win_data
                     23:  *                            structure to allow overlapped I/O in
                     24:  *                            Win32.
                     25:  *
                     26:  */
                     27: 
                     28: #include "commlib.h"
                     29: 
                     30: #if defined( GF_WINDOWS ) || defined( GF_WIN32 )
                     31: 
                     32: #include <windows.h>
                     33: 
                     34: struct win_data {
                     35:     UINT input_buffer_size;
                     36:     UINT output_buffer_size;
                     37:     DCB dcb;
                     38:     int windows_status;
                     39: #if defined( GF_WIN32 )
                     40:     DWORD event_mask;
                     41: #else
                     42:     char GF_FAR *event_mask;
                     43: #endif
                     44:     int base_8250;
                     45:     int notification;
                     46:     int notify_disabled;
                     47:     int rx_notify;
                     48:     int tx_notify;
                     49:     unsigned int notify_events;
                     50:     HWND hwnd;
                     51: #if defined( GF_WIN32 )
                     52:     HANDLE com_handle;
                     53:     COMMTIMEOUTS comm_timeouts;
                     54:     OVERLAPPED ov;
                     55: #endif
                     56: };
                     57: 
                     58: #if defined( GF_WIN32 )
                     59: int GF_CONV _DumpPortStatusMSWin32( PORT *port, PORT_DUMPER printer );
                     60: #elif defined( GF_WINDOWS )
                     61: int GF_CONV _DumpPortStatusMSWindows( PORT *port, PORT_DUMPER printer );
                     62: #endif
                     63: 
                     64: #endif /* #ifdef GF_WINDOWS */
                     65: 
                     66: #endif /* #ifndef _COMWIN_DOT_H */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.