Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-19 Thread Biswapriyo Nath
The ioring APIs in ntdll are totally undocumented[1]. The APIs in ioringapi.h are provided by kernelbase.dll. I would suggest to wait for Microsoft to open up some more documentation. For example, MS did not mention the library to use CreateIoRing[2] but only mentioned the header name. [1]: https

Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-19 Thread sotrdg sotrdg
ingw-w64-public@lists.sourceforge.net> Cc: unlv...@live.com<mailto:unlv...@live.com> Subject: Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h unlvsur: As of this writing, I can not find any official Microsoft documentation about how to use ioring APIs in any program. You have to rely on this Loa

Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-18 Thread Biswapriyo Nath
unlvsur: As of this writing, I can not find any official Microsoft documentation about how to use ioring APIs in any program. You have to rely on this LoadLibrary("kernelbase.dll") or other naughty ways :) ___ Mingw-w64-public mailing list Mingw-w64-pub

Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-18 Thread unlvsur unlvsur
Are u sure it is going to work without adding symbols in def file? Or how could ld find those symbols in the ntdll.a file without providing them by dlltool? Sent from Mail for Windows From: Biswapriyo Nath Sent: Friday,

Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-16 Thread LIU Hao
在 2021-10-16 12:36, Biswapriyo Nath 写道: Liu Hao: Opps! Forgot that. Updated patch file attached. unlvsur: This is just to check if your projects compile without linking. Thanks for the patch. I pushed it to master. -- Best regards, LIU Hao OpenPGP_signature Description: OpenPGP digital si

Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-15 Thread Biswapriyo Nath
Liu Hao: Opps! Forgot that. Updated patch file attached. unlvsur: This is just to check if your projects compile without linking. From 87b6f9c174fc96b4ca4b159e0d72d4ffe146004f Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 15 Oct 2021 17:34:18 +0530 Subject: [PATCH] headers: Add ioringa

Re: [Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-15 Thread LIU Hao
在 2021-10-15 20:06, Biswapriyo Nath 写道: > +#ifdef __cplusplus > +extern "C" { > +#endif > + > +STDAPI QueryIoRingCapabilities(IORING_CAPABILITIES* capabilities); > +STDAPI_(BOOL) IsIoRingOpSupported(HIORING ioRing, IORING_OP_CODE op); Should `WINBOOL` be preferred to `BOOL` here? -- Best regard

[Mingw-w64-public] [PATCH] headers: Add ioringapi.h

2021-10-15 Thread Biswapriyo Nath
Hi unlvsur, would you like to test the ioringapi.h and ntioring_x.h header from this patch file? Also apply the previous sdkddkver.h patch from previous thread, here https://sourceforge.net/p/mingw-w64/mailman/message/37367205/ From 87b6f9c174fc96b4ca4b159e0d72d4ffe146004f Mon Sep 17 00:00:00 2001