diff --git a/src/dxgi/dxgi_factory.cpp b/src/dxgi/dxgi_factory.cpp index d7425e78..eab43de2 100644 --- a/src/dxgi/dxgi_factory.cpp +++ b/src/dxgi/dxgi_factory.cpp @@ -370,4 +370,20 @@ namespace dxvk { } } + + HRESULT STDMETHODCALLTYPE DxgiFactory::RegisterAdaptersChangedEvent( + HANDLE hEvent, + DWORD* pdwCookie) { + Logger::err("DxgiFactory: RegisterAdaptersChangedEvent: Stub"); + return E_NOTIMPL; + } + + + HRESULT STDMETHODCALLTYPE DxgiFactory::UnregisterAdaptersChangedEvent( + DWORD Cookie) { + Logger::err("DxgiFactory: UnregisterAdaptersChangedEvent: Stub"); + return E_NOTIMPL; + } + + } diff --git a/src/dxgi/dxgi_factory.h b/src/dxgi/dxgi_factory.h index 32575d26..43c8e309 100644 --- a/src/dxgi/dxgi_factory.h +++ b/src/dxgi/dxgi_factory.h @@ -124,6 +124,13 @@ namespace dxvk { void* pFeatureSupportData, UINT FeatureSupportDataSize) final; + HRESULT STDMETHODCALLTYPE RegisterAdaptersChangedEvent( + HANDLE hEvent, + DWORD* pdwCookie); + + HRESULT STDMETHODCALLTYPE UnregisterAdaptersChangedEvent( + DWORD Cookie); + Rc GetDXVKInstance() const { return m_instance; }