在这种情况下,应用程序必须释放 IDXGIOutputDuplication 接口,并为新内容创建新的 IDXGIOutputDuplication。 如果调用应用程序提供的缓冲区不够大,DXGI_ERROR_MORE_DATA。 如果应用程序调用 GetFramePointerShape 而不拥有桌面映像,则DXGI_ERROR_INVALID_CALL。 如果GetFramePointerShape 的参数之一不正确,E_INVALIDA...
GetFrameDirtyRects 获取有关当前桌面框架脏矩形的信息。 GetFrameLatencyWaitableObject 返回一个可等待句柄,该句柄在 DXGI 适配器完成呈现新帧后发出信号。 GetFrameMoveRects 获取有关当前桌面框架的移动矩形的信息。 GetFramePointerShape 获取有关当前桌面框架的新指针形状的信息。
IDXGIOutputDuplication 接口 概述 IDXGIOutputDuplication::AcquireNextFrame 方法 IDXGIOutputDuplication::GetDesc 方法 IDXGIOutputDuplication::GetFrameDirtyRects 方法 IDXGIOutputDuplication::GetFrameMoveRects 方法 IDXGIOutputDuplication::GetFramePointerShape 方法 IDXGIOutputDuplication::MapDesktopSur...
IDXGIOutputDuplication::GetFramePointerShape Gets information about the new pointer shape for the current desktop frame. IDXGIOutputDuplication::MapDesktopSurface Provides the CPU with efficient access to a desktop image if that desktop image is already in system memory. IDXGIOutputDuplication::Release...
IDXGIOutputDuplication::GetDesc 方法 IDXGIOutputDuplication::GetFrameDirtyRects 方法 IDXGIOutputDuplication::GetFrameMoveRects 方法 IDXGIOutputDuplication::GetFramePointerShape 方法 IDXGIOutputDuplication::MapDesktopSurface 方法 IDXGIOutputDuplication::ReleaseFrame 方法 ...
IDXGIOutputDuplication::GetFrameMoveRects 方法 IDXGIOutputDuplication::GetFramePointerShape 方法 IDXGIOutputDuplication::MapDesktopSurface 方法 IDXGIOutputDuplication::ReleaseFrame 方法 IDXGIOutputDuplication::UnMapDesktopSurface 方法 IDXGIResource1 接口 ...
本例代码来源于:DXGIDesktopDuplication;GitHub Windows8以后微软引入了一套新的接口,叫“Desktop Duplication API”,应用程序,可以通过这套API访问桌面数据。而由于Desktop Duplication API是通过Microsoft DirectX Graphics Infrastructure (DXGI)来提供桌面图像的,速度非常快。由于是通过GPU,所以cpu占用率很低,性能很高。还...
KHeresy/DXGICapturePublic forked frompgurenko/DXGICaptureSample NotificationsYou must be signed in to change notification settings Fork6 Star14 Breadcrumbs DXGICapture /DXGICapture /
若要访问DXGIGetDebugInterface,请调用GetModuleHandle函数获取Dxgidebug.dll,调用GetProcAddress函数获取DXGIGetDebugInterface的地址。 然后,可以调用DXGIGetDebugInterface来获取IDXGIDebug或IDXGIInfoQueue接口。 有关如何远程调试 DirectX 应用的信息,请参阅远程调试 DirectX 应用。
IDXGIOutputDuplication::GetFrameMoveRects 方法 IDXGIOutputDuplication::GetFramePointerShape 方法 IDXGIOutputDuplication::MapDesktopSurface 方法 IDXGIOutputDuplication::ReleaseFrame 方法 IDXGIOutputDuplication::UnMapDesktopSurface 方法 IDXGIResource1 接口 ...