src/main/c/Windows/SerialPort_Windows.c [1284:1294]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - return -1; // Create an asynchronous result structure OVERLAPPED overlappedStruct; memset(&overlappedStruct, 0, sizeof(OVERLAPPED)); overlappedStruct.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); if (overlappedStruct.hEvent == NULL) { port->errorNumber = GetLastError(); port->errorLineNumber = __LINE__ - 4; CloseHandle(overlappedStruct.hEvent); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - src/main/c/Windows/SerialPort_Windows.c [1333:1343]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - return -1; // Create an asynchronous result structure OVERLAPPED overlappedStruct; memset(&overlappedStruct, 0, sizeof(OVERLAPPED)); overlappedStruct.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); if (overlappedStruct.hEvent == NULL) { port->errorNumber = GetLastError(); port->errorLineNumber = __LINE__ - 4; CloseHandle(overlappedStruct.hEvent); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -