winrt.windows.graphics.capture.interop module¶
APIs for desktop interop with the Windows.Graphics.Capture namespace.
create_for_monitor¶
Targets a monitor(s) for the creation of a graphics capture item.
| Parameter | Type | Description |
|---|---|---|
hmonitor |
int |
The monitor handle (HMONITOR) that represents the monitor to capture. |
Returns: A graphics capture item.
Return type: winrt.windows.graphics.capture.GraphicsCaptureItem
create_for_window¶
Targets a single window for the creation of a graphics capture item.
| Parameter | Type | Description |
|---|---|---|
hwnd |
int |
The window handle (HWND) that represents the window to capture. |
Returns: A graphics capture item.
Return type: winrt.windows.graphics.capture.GraphicsCaptureItem