Hello.
I'm doing monitor capture with WGC (C++/WinRT). On my machine it works fine, but on a friend's machine it fails. We are both on Windows 11.
D3D11CreateDevice → OK
CreateDirect3D11DeviceFromDXGIDevice → OK
IGraphicsCaptureItemInterop::CreateForMonitor(hMon, ...) → OK
Direct3D11CaptureFramePool::CreateFreeThreaded(device, B8G8R8A8UIntNormalized, 2, size) → OK
framePool.CreateCaptureSession(item) → throws E_ACCESSDENIED (0x80070005)
GraphicsCaptureSession::IsSupported() returns true on the failing machines. The HRESULT is the only signal I get, and i'm not sure where to go from there.
What are the possible causes of E_ACCESSDENIED here?
Appreciate any help.
Hello.
I'm doing monitor capture with WGC (C++/WinRT). On my machine it works fine, but on a friend's machine it fails. We are both on Windows 11.
D3D11CreateDevice → OK
CreateDirect3D11DeviceFromDXGIDevice → OK
IGraphicsCaptureItemInterop::CreateForMonitor(hMon, ...) → OK
Direct3D11CaptureFramePool::CreateFreeThreaded(device, B8G8R8A8UIntNormalized, 2, size) → OK
framePool.CreateCaptureSession(item) → throws E_ACCESSDENIED (0x80070005)
GraphicsCaptureSession::IsSupported() returns true on the failing machines. The HRESULT is the only signal I get, and i'm not sure where to go from there.
What are the possible causes of E_ACCESSDENIED here?
Appreciate any help.