ISystemMediaTransportControls::put_IsEnabled method

Sets a value that specifies if the system media transport controls should be enabled for the calling app.

Syntax


HRESULT put_IsEnabled(
   boolean value
);

Parameters

value

Type: boolean

Set to true to enable the system media transport controls. Set to false to disable them.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016 Technical Preview [desktop apps only]

Header

Windows.Media.SystemMediaTransportControls.h

IDL

Windows.Media.SystemMediaTransportControls.idl

See also

ISystemMediaTransportControls

 

 

Community Additions

ADD
Show: