Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

d3dshot.create() cant work #55

@Soikie

Description

@Soikie

when i run 'd3dshot.create()',it raise COMError (-2005270524, 'The specified device interface or function level is not supported on this system。', (None, None, None, 0, None))

i find the wrong code in dxgi.py

def initialize_dxgi_output_duplication(dxgi_output, d3d_device):
    dxgi_output_duplication = ctypes.POINTER(IDXGIOutputDuplication)()
    dxgi_output.DuplicateOutput(d3d_device,ctypes.byref(dxgi_output_duplication) )

    return dxgi_output_duplication     

the dxgi_output.DuplicateOutput(d3d_device,ctypes.byref(dxgi_output_duplication) ) raise the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions