ISystemMediaTransportControls::put_IsPlayEnabled method

Sets a value that specifies if the play button should be enabled.

Syntax


HRESULT put_IsPlayEnabled(
   boolean value
);

Parameters

value

Type: boolean

Set to true to enable the play button. Set to false to disable it.

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: