On Fri, Jun 24, 2022 at 11:00 PM Biswapriyo Nath nathbappai@gmail.com wrote:
cpp_quote("STDAPI DXCoreCreateAdapterFactory(REFIID riid, void **ppvFactory);")
Generally, we prefer writing out the return type and calling convention (i.e. HRESULT WINAPI--though I guess technically it should be HRESULT STDAPICALLTYPE, but the calling convention macros are all just aliases for __stdcall anyway) to using macros like STDAPI. Did you copy this directly out of Microsoft's IDL file?
The formatting on the interfaces' attributes (in the square brackets) and methods is also unusual for Wine.