Skip to content

DuplicateOutput 报错,为什么会这样? #45

@qq978358810

Description

@qq978358810

hr = dxgiOutput1->DuplicateOutput(d3d11_device_.Get(), dxgi_output_duplication_.GetAddressOf());

std::cout<<(int)hr<<std::endl;
if (FAILED(hr)) {
    /* 0x887a0004: NVIDIA控制面板-->全局设置--首选图形处理器(自动选择) */
    printf("[DXGIScreenCapture] Failed to get duplicate output.\n");
    Destroy();
    return false;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions