winrt.windows.media.interop module
APIs for desktop interop with the Windows.Media namespace.
- get_for_window(hwnd)
Targets a single window for the creation of a graphics capture item.
- Parameters:
hwnd (int) – The top-level app window (
HWND) for which theISystemMediaTransportControlsinterface is retrieved.- Returns:
Receives the
ISystemMediaTransportControlsthat corresponds to the appWindow window.- Return type:
winrt.windows.media.SystemMediaTransportControls
Added in version 3.1.