ISystemMediaTransportControlsInterop::GetForWindow method
Gets an instance of the ISystemMediaTransportControls interface for the specified window.
Syntax
HRESULT GetForWindow(
HWND appWindow,
REFIID riid,
[out] void **mediaTransportControl
);
Parameters
- appWindow
-
The top-level app window for which the ISystemMediaTransportControls interface is retrieved.
- riid
-
A reference to the IID of the interface to retrieve.
- mediaTransportControl [out]
-
The top-level app window for which the ISystemMediaTransportControls interface is retrieved.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See also
Community Additions
ADD
Show: