Exemplo n.º 1
0
 //
 // We need to have to define reserved fields in the CommCapabilties class definition
 // to preserve the size of the
 // underlying structure to match the Win32 structure when it is
 // marshaled. Use these fields to suppress compiler warnings.
 //
 internal void _SuppressCompilerWarnings()
 {
     wPacketVersion += 0;
     dwReserved1    += 0;
     dwProvSpec1    += 0;
     dwProvSpec2    += 0;
     wcProvChar     += 0;
 }
Exemplo n.º 2
0
        internal CommCapabilities()
        {
            this.wPacketLength = (ushort)Marshal.SizeOf(this);
            this.dwProvSpec1   = CPS.COMMPROP_INITIALIZED;

            dwProvCapabilities       = new BitVector32(0);
            dwSettableParams         = new BitVector32(0);
            dwSettableBaud           = new BitVector32(0);
            dwSettableStopParityData = new BitVector32(0);
        }
Exemplo n.º 3
0
		//
		// We need to have to define reserved fields in the CommCapabilties class definition
		// to preserve the size of the 
		// underlying structure to match the Win32 structure when it is 
		// marshaled. Use these fields to suppress compiler warnings.
		//
		internal void _SuppressCompilerWarnings()
		{
			wPacketVersion +=0;
			dwReserved1 +=0;
			dwProvSpec1 +=0;
			dwProvSpec2 +=0;
			wcProvChar +=0;
		}
Exemplo n.º 4
0
		internal CommCapabilities()
		{
			this.wPacketLength=(ushort)Marshal.SizeOf(this);
			this.dwProvSpec1=CPS.COMMPROP_INITIALIZED;

			dwProvCapabilities=new BitVector32(0);
			dwSettableParams=new BitVector32(0);
			dwSettableBaud=new BitVector32(0);
			dwSettableStopParityData=new BitVector32(0);
		}