7 struct __declspec(novtable, uuid("00000000-0000-0000-c000-000000000046"))
10 virtual HRESULT QueryInterface(
const IID& a_iid,
void** a_object) = 0;
11 virtual std::uint32_t AddRef() = 0;
12 virtual std::uint32_t Release() = 0;
15 HRESULT QueryInterface(T** a_object)
17 return QueryInterface(*
reinterpret_cast<const IID*
>(&__uuidof(T)),
static_cast<void**
>(a_object));
24 inline constexpr
IID IID_IUnknown{ 0x00000000, 0x0000, 0x0000, { 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46 } };
Definition: BSDirectInputManager.h:8
struct __declspec(novtable, uuid("00000000-0000-0000-c000-000000000046")) IUnknown
Definition: COM.h:7
constexpr IID IID_IUnknown
Definition: COM.h:24
std::int32_t HRESULT
Definition: BASE.h:28