| 4 | // IUnknown |
| 5 | // |
| 6 | template <abi_t ABI> HRESULT D3D11VertexShader<ABI>::QueryInterface(REFIID riid, void **ppvObject) |
| 7 | { |
| 8 | if (riid == xcom::guid_of<gfx::ID3D11VertexShader>()) |
| 9 | { |
| 10 | *ppvObject = this; |
| 11 | AddRef(); |
| 12 | return S_OK; |
| 13 | } |
| 14 | |
| 15 | IMPLEMENT_STUB(); |
| 16 | *ppvObject = nullptr; |
| 17 | return E_NOINTERFACE; |
| 18 | } |
| 19 | |
| 20 | template <abi_t ABI> ULONG D3D11VertexShader<ABI>::AddRef() |
| 21 | { |