docs: @Override
     public synchronized void writeStdin(ByteBuffer buffer)
     {
        if (hStdinWidow != null && !NuWinNT.INVALID_HANDLE_VALUE.getPointer().equals(hStdinWidow.getPointer())) {
           pendingWrites.add(buffer);
           if (!writePending) {
              myProcessor.wantWrite(this);
           }
        }
        else {
           throw new IllegalStateException("closeStdin() method has already been called.");
        }
     }