| 1 | #include "CurrentApp.h" |
| 2 | |
| 3 | HRESULT EraXboxUserLicenseInformationWrapper::QueryInterface(const IID &riid, void **ppvObject) |
| 4 | { |
| 5 | if (riid == __uuidof(EraIXboxUserLicenseInformation)) |
| 6 | { |
| 7 | *ppvObject = reinterpret_cast<EraICurrentApp*>(this); |
| 8 | AddRef(); |
| 9 | return S_OK; |
| 10 | } |
| 11 | |
| 12 | *ppvObject = nullptr; |
| 13 | winDurango->log.Warn("WinDurango::KernelX::CurrentApp", "No Interface Found: EraXboxUserLicenseInformationWrapper - {:08x}-{:04x}-{:04x}-{:02x}{:02x}-{:02x}{:02x}{:02x}{:02x}{:02x}{:02x}", |
| 14 | riid.Data1, riid.Data2, riid.Data3, riid.Data4[0], |
| 15 | riid.Data4[1], riid.Data4[2], riid.Data4[3], riid.Data4[4], |
| 16 | riid.Data4[5], riid.Data4[6], riid.Data4[7]); |
| 17 | return E_NOINTERFACE; |
| 18 | } |
| 19 | |
| 20 | ULONG EraXboxUserLicenseInformationWrapper::AddRef() |
| 21 | { |