在 2018/12/4 22:31, Biswapriyo Nath 写道:
> diff --git a/mingw-w64-headers/include/wincon.h 
> b/mingw-w64-headers/include/wincon.h
> index cc75123a..0b520cc6 100644
> --- a/mingw-w64-headers/include/wincon.h
> +++ b/mingw-w64-headers/include/wincon.h
> @@ -377,6 +377,31 @@ WINBASEAPI WINBOOL WINAPI SetCurrentConsoleFontEx(
>    PCONSOLE_FONT_INFOEX lpConsoleCurrentFontEx
>  );
>  
> +#if (NTDDI_VERSION >= NTDDI_WIN10_RS5)
> +

`NTDDI_WIN10_RS5` is not defined by mingw-w64.  Did you test your patch?

> +#define PSEUDOCONSOLE_INHERIT_CURSOR (0x1)
> +
> +typedef VOID* HPCON;
> +
> +WINBASEAPI HRESULT WINAPI CreatePseudoConsole(
> +  COORD size,
> +  HANDLE hInput,
> +  HANDLE hOutput,
> +  DWORD dwFlags,
> +  HPCON* phPC
> +);
> +

Please do not split function prototypes into multiple lines, because
when there are compile errors in arguments, GCC only prints one line for
each function. If this prototype is split, parameter information will
not be visible in error messages and our users would have to look into
our headers for it.

> +WINBASEAPI HRESULT WINAPI ResizePseudoConsole(
> +  HPCON hPC,
> +  COORD size
> +);
> +
> +WINBASEAPI VOID WINAPI ClosePseudoConsole(
> +  HPCON hPC
> +);
> +

Likewise.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to