Skip to content

Commit afcaa75

Browse files
committed
ISystemMediaTransportControlsInterop: The window must be top-level and belong to the process
1 parent 66839bd commit afcaa75

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

sdk-api-src/content/systemmediatransportcontrolsinterop/nf-systemmediatransportcontrolsinterop-isystemmediatransportcontrolsinterop-getforwindow.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,16 @@ A reference to the IID of the interface to retrieve.
6464

6565
### -param mediaTransportControl [out]
6666

67-
The top-level app window for which the <a href="/previous-versions/windows/desktop/mediatransport/isystemmediatransportcontrols">ISystemMediaTransportControls</a> interface is retrieved.
67+
Receives the <a href="/previous-versions/windows/desktop/mediatransport/isystemmediatransportcontrols">ISystemMediaTransportControls</a> that corresponds to the <i>appWindow</i> window.
6868

6969
## -returns
7070

7171
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
7272

73+
## -remarks
74+
75+
The <i>appWindow</i> parameter must refer to a top-level window that belongs to the calling process.
76+
7377
## -see-also
7478

7579
<a href="/previous-versions/windows/desktop/api/systemmediatransportcontrolsinterop/nn-systemmediatransportcontrolsinterop-isystemmediatransportcontrolsinterop">ISystemMediaTransportControlsInterop</a>

sdk-api-src/content/systemmediatransportcontrolsinterop/nn-systemmediatransportcontrolsinterop-isystemmediatransportcontrolsinterop.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ api_name:
5252

5353
Enables interoperability with a WinRT a [SystemMediaTransportControls](/uwp/api/windows.media.systemmediatransportcontrols) object.
5454

55-
56-
55+
This interface is implemented by the Windows.Media.SystemMediaTransportControls activation factory.
5756

5857
## -see-also
5958

0 commit comments

Comments
 (0)