Class WinBase.COMMTIMEOUTS

Author:
Markus
    • Field Detail

      • ReadTotalTimeoutMultiplier

        public WinDef.DWORD ReadTotalTimeoutMultiplier
        The multiplier used to calculate the total time-out period for read operations, in milliseconds. For each read operation, this value is multiplied by the requested number of bytes to be read.
      • ReadTotalTimeoutConstant

        public WinDef.DWORD ReadTotalTimeoutConstant
        A constant used to calculate the total time-out period for read operations, in milliseconds. For each read operation, this value is added to the product of the ReadTotalTimeoutMultiplier member and the requested number of bytes. A value of zero for both the ReadTotalTimeoutMultiplier and ReadTotalTimeoutConstant members indicates that total time-outs are not used for read operations.
      • WriteTotalTimeoutMultiplier

        public WinDef.DWORD WriteTotalTimeoutMultiplier
        The multiplier used to calculate the total time-out period for write operations, in milliseconds. For each write operation, this value is multiplied by the number of bytes to be written.
      • WriteTotalTimeoutConstant

        public WinDef.DWORD WriteTotalTimeoutConstant
        A constant used to calculate the total time-out period for write operations, in milliseconds. For each write operation, this value is added to the product of the WriteTotalTimeoutMultiplier member and the number of bytes to be written. A value of zero for both the WriteTotalTimeoutMultiplier and WriteTotalTimeoutConstant members indicates that total time-outs are not used for write operations.
    • Constructor Detail

      • COMMTIMEOUTS

        public COMMTIMEOUTS()
    • Method Detail

      • getFieldOrder

        protected List<String> getFieldOrder()
        Description copied from class: Structure
        Return this Structure's field names in their proper order. For example,
        
         protected List getFieldOrder() {
             return Arrays.asList(new String[] { ... });
         }
         
        IMPORTANT When deriving from an existing Structure subclass, ensure that you augment the list provided by the superclass, e.g.
        
         protected List getFieldOrder() {
             List fields = new ArrayList(super.getFieldOrder());
             fields.addAll(Arrays.asList(new String[] { ... }));
             return fields;
         }
         
        Field order must be explicitly indicated, since the field order as returned by Class.getFields() is not guaranteed to be predictable.
        Overrides:
        getFieldOrder in class Structure
        Returns:
        ordered list of field names