I'm interesting in ISystemMediaTransportControlsInterop::GetForWindow method. The documentation is outdated for it. But I have found files SystemMediaTransportControlsInterop.h and SystemMediaTransportControlsInterop.idl in folder C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um of Windows SDK. They are describing GetForWindow
method. So, how can I get an instance of ISystemMediaTransportControlsInterop
and call this method?
WinRT contains only method SystemMediaTransportControls.GetForCurrentView, but I want to get an instance of SystemMediaTransportControls
for other program from my application.
Thank you