Package jtermios.windows.WinAPI

Examples of jtermios.windows.WinAPI.HANDLE


  public void test1() {
    System.out.println("A contorted loopback test with overlapped IO for WinAPI");

    String COM = "COM5:";
    HANDLE hComm = CreateFileA(COM, GENERIC_READ | GENERIC_WRITE, 0, null, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, null);

    check(SetupComm(hComm, 2048, 2048), "SetupComm ");

    DCB dcb = new DCB();
    dcb.DCBlength = dcb.size();
View Full Code Here

TOP

Related Classes of jtermios.windows.WinAPI.HANDLE

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.