2016-02-18 6:55 GMT+01:00 Daniel Goldman <[email protected]>:

>
> I cannot go through these files line by line to prove that each line
> does not "use the win32 api". In contrast, all you need to do is cite a
> few lines that "use the win32 api", and I would be happy to reconsider.
>
>
In win_driver.c, you get a bunch of GetConsoleXXXX and SetConsoleXXXX calls.
Look for example at the wcon_setcolor() function :

static void
wcon_setcolor(TERMINAL_CONTROL_BLOCK * TCB,
     int fore,
     int color,
     int (*outc) (SCREEN *, int) GCC_UNUSED)
{
    if (okConsoleHandle(TCB)) {
WORD a = MapColor(fore, color);
a |= (WORD) ((CON.SBI.wAttributes) & (fore ? 0xfff8 : 0xff8f));
SetConsoleTextAttribute(CON.hdl, a);
get_SBI();
    }
}

SetConsoleTextAttribute() is Win32 API.

Fabrice
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to