home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 10 / ioProg_10.iso / soft / sdk20 / jsdk05.cab / Src / Win32Api / COMSTAT.java < prev    next >
Encoding:
Java Source  |  1997-09-25  |  928 b   |  28 lines

  1. // Copyright (C) 1997 Microsoft Corporation  All Rights Reserved
  2.  
  3. // These classes provide direct, low-overhead access to commonly used
  4. // Windows api. These classes use the new J/Direct feature.
  5. //
  6. // Information on how to use J/Direct to write your own declarations
  7. // can be found in the Microsoft SDK for Java 2.0.
  8.  
  9. package com.ms.win32;
  10.  
  11.  
  12. /** @dll.struct() */
  13. public class COMSTAT {
  14.         public int fBitFields;       //see constants below
  15.         public int cbInQue;
  16.         public int cbOutQue;
  17.  
  18.  
  19.         public static final int fCtsHold  = 0x00000001;
  20.         public static final int fDsrHold  = 0x00000002;
  21.         public static final int fRlsdHold = 0x00000004;
  22.         public static final int fXoffHold = 0x00000008;
  23.         public static final int fXoffSent = 0x00000010;
  24.         public static final int fEof      = 0x00000020;
  25.         public static final int fTxim     = 0x00000040;
  26. }
  27.  
  28.