mirror of
https://github.com/narzoul/DDrawCompat
synced 2024-12-30 08:55:36 +01:00
25 lines
464 B
C++
25 lines
464 B
C++
#pragma once
|
|
|
|
#define CINTERFACE
|
|
|
|
#include <d3d.h>
|
|
#include <d3dumddi.h>
|
|
|
|
#include "DDrawVtableVisitor.h"
|
|
|
|
struct D3dDdiAdapterCallbacksIntf
|
|
{
|
|
D3DDDI_ADAPTERCALLBACKS* lpVtbl;
|
|
};
|
|
|
|
template <>
|
|
struct DDrawVtableForEach<D3DDDI_ADAPTERCALLBACKS>
|
|
{
|
|
template <typename Vtable, typename Visitor>
|
|
static void forEach(Visitor& visitor)
|
|
{
|
|
DD_VISIT(pfnQueryAdapterInfoCb);
|
|
// DD_VISIT(pfnGetMultisampleMethodListCb); -- not set by ddraw, potentially garbage
|
|
}
|
|
};
|