From: Charles Davis Subject: Re: [PATCH] include: Add dxcore.idl. Message-Id: Date: Fri, 24 Jun 2022 23:30:46 -0500 In-Reply-To: References: On Fri, Jun 24, 2022 at 11:00 PM Biswapriyo Nath 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. -- Chip