On 10/26/20 2:35 PM, Vincent Torri wrote:
> On Mon, Oct 26, 2020 at 12:15 PM Nikolay Sivov <nsi...@codeweavers.com> wrote:
>>
>>
>> On 10/26/20 11:55 AM, Vincent Torri wrote:
>>> On Sun, Oct 25, 2020 at 10:03 PM Biswapriyo Nath <nathbap...@gmail.com> 
>>> wrote:
>>>> Which specific APIs are you interested in? As far as I know, most of
>>>> them are COM interfaces.
>>> IDXGIDebug_ReportLiveObjects
>>>
>>> i'm coding in C, not C++.
>> It's a regular interface method available through dxgidebug.h, why do
>> you need an import library for this?
> if i link against the dll directly, IDXGIDebug_ReportLiveObjects is undefined
>
> so i guess that ass all the other symbols work, there is something in
> the import lib that takes care of the C API
To get C macros you'll need:

#define COBJMACROS

My guess is that you should use DXGIGetDebugInterface(&IID_IDXGIDebug),
and then call IDXGIDebug_ReportLiveObjects() on returned interface.
>
> Vincent
>
>
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to