Skip to content

Instantly share code, notes, and snippets.

@rossy
Created August 4, 2017 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rossy/1565a41dfbfc1f07339dd8773b2d9f95 to your computer and use it in GitHub Desktop.
Save rossy/1565a41dfbfc1f07339dd8773b2d9f95 to your computer and use it in GitHub Desktop.
#ifndef SMTC_C_H_
#define SMTC_C_H_
#include <windows.h>
#include <inspectable.h>
typedef interface ISystemMediaTransportControlsButtonPressedEventArgs ISystemMediaTransportControlsButtonPressedEventArgs;
typedef interface ISystemMediaTransportControlsPropertyChangedEventArgs ISystemMediaTransportControlsPropertyChangedEventArgs;
typedef interface IPlaybackPositionChangeRequestedEventArgs IPlaybackPositionChangeRequestedEventArgs;
typedef interface IPlaybackRateChangeRequestedEventArgs IPlaybackRateChangeRequestedEventArgs;
typedef interface IShuffleEnabledChangeRequestedEventArgs IShuffleEnabledChangeRequestedEventArgs;
typedef interface IAutoRepeatModeChangeRequestedEventArgs IAutoRepeatModeChangeRequestedEventArgs;
typedef interface ISystemMediaTransportControlsButtonPressedEventHandler ISystemMediaTransportControlsButtonPressedEventHandler;
typedef interface ISystemMediaTransportControlsPropertyChangedEventHandler ISystemMediaTransportControlsPropertyChangedEventHandler;
typedef interface IPlaybackPositionChangeRequestedEventHandler IPlaybackPositionChangeRequestedEventHandler;
typedef interface IPlaybackRateChangeRequestedEventHandler IPlaybackRateChangeRequestedEventHandler;
typedef interface IShuffleEnabledChangeRequestedEventHandler IShuffleEnabledChangeRequestedEventHandler;
typedef interface IAutoRepeatModeChangeRequestedEventHandler IAutoRepeatModeChangeRequestedEventHandler;
typedef interface IMusicDisplayProperties IMusicDisplayProperties;
typedef interface IMusicDisplayProperties2 IMusicDisplayProperties2;
typedef interface IMusicDisplayProperties3 IMusicDisplayProperties3;
typedef interface IVideoDisplayProperties IVideoDisplayProperties;
typedef interface IVideoDisplayProperties2 IVideoDisplayProperties2;
typedef interface IImageDisplayProperties IImageDisplayProperties;
typedef interface ISystemMediaTransportControlsDisplayUpdater ISystemMediaTransportControlsDisplayUpdater;
typedef interface ISystemMediaTransportControls ISystemMediaTransportControls;
typedef interface ISystemMediaTransportControlsTimelineProperties ISystemMediaTransportControlsTimelineProperties;
typedef interface ISystemMediaTransportControls2 ISystemMediaTransportControls2;
typedef interface ISystemMediaTransportControlsInterop ISystemMediaTransportControlsInterop;
typedef struct EventRegistrationToken {
UINT64 Value;
} EventRegistrationToken;
typedef struct TimeSpan {
INT64 Duration;
} TimeSpan;
typedef enum MediaPlaybackStatus {
MediaPlaybackStatus_Closed = 0,
MediaPlaybackStatus_Changing = 1,
MediaPlaybackStatus_Stopped = 2,
MediaPlaybackStatus_Playing = 3,
MediaPlaybackStatus_Paused = 4,
} MediaPlaybackStatus;
typedef enum SoundLevel {
SoundLevel_Muted = 0,
SoundLevel_Low = 1,
SoundLevel_Full = 2,
} SoundLevel;
typedef enum SystemMediaTransportControlsButton {
SystemMediaTransportControlsButton_Play = 0,
SystemMediaTransportControlsButton_Pause = 1,
SystemMediaTransportControlsButton_Stop = 2,
SystemMediaTransportControlsButton_Record = 3,
SystemMediaTransportControlsButton_FastForward = 4,
SystemMediaTransportControlsButton_Rewind = 5,
SystemMediaTransportControlsButton_Next = 6,
SystemMediaTransportControlsButton_Previous = 7,
SystemMediaTransportControlsButton_ChannelUp = 8,
SystemMediaTransportControlsButton_ChannelDown = 9,
} SystemMediaTransportControlsButton;
typedef enum SystemMediaTransportControlsProperty {
SystemMediaTransportControlsProperty_SoundLevel = 0,
} SystemMediaTransportControlsProperty;
typedef enum MediaPlaybackType {
MediaPlaybackType_Unknown = 0,
MediaPlaybackType_Music = 1,
MediaPlaybackType_Video = 2,
MediaPlaybackType_Image = 3,
} MediaPlaybackType;
typedef enum MediaPlaybackAutoRepeatMode {
MediaPlaybackAutoRepeatMode_None = 0,
MediaPlaybackAutoRepeatMode_Track = 1,
MediaPlaybackAutoRepeatMode_List = 2,
} MediaPlaybackAutoRepeatMode;
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsButtonPressedEventArgs
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsButtonPressedEventArgs,
IInspectable, "b7f47116-a56f-4dc8-9e11-92031f4a87c2") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Button)(THIS_ SystemMediaTransportControlsButton *value);
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsButtonPressedEventArgs_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsButtonPressedEventArgs_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsButtonPressedEventArgs_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsButtonPressedEventArgs_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControlsButtonPressedEventArgs_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControlsButtonPressedEventArgs_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControlsButtonPressedEventArgs_get_Button(This, value) ((This)->lpVtbl->get_Button(This, value))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsPropertyChangedEventArgs
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsPropertyChangedEventArgs,
IInspectable, "d0ca0936-339b-4cb3-8eeb-737607f56e08") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Property)(THIS_ SystemMediaTransportControlsProperty *value);
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsPropertyChangedEventArgs_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsPropertyChangedEventArgs_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsPropertyChangedEventArgs_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsPropertyChangedEventArgs_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControlsPropertyChangedEventArgs_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControlsPropertyChangedEventArgs_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControlsPropertyChangedEventArgs_get_Property(This, value) ((This)->lpVtbl->get_Property(This, value))
#endif
#undef INTERFACE
#define INTERFACE IPlaybackPositionChangeRequestedEventArgs
DECLARE_INTERFACE_IID_(IPlaybackPositionChangeRequestedEventArgs,
IInspectable, "b4493f88-eb28-4961-9c14-335e44f3e125") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_RequestedPlaybackPosition)(THIS_ TimeSpan *value);
END_INTERFACE
};
#ifdef COBJMACROS
#define IPlaybackPositionChangeRequestedEventArgs_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IPlaybackPositionChangeRequestedEventArgs_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IPlaybackPositionChangeRequestedEventArgs_Release(This) ((This)->lpVtbl->Release(This))
#define IPlaybackPositionChangeRequestedEventArgs_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IPlaybackPositionChangeRequestedEventArgs_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IPlaybackPositionChangeRequestedEventArgs_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IPlaybackPositionChangeRequestedEventArgs_get_RequestedPlaybackPosition(This, value) ((This)->lpVtbl->get_Property(This, value))
#endif
#undef INTERFACE
#define INTERFACE IPlaybackRateChangeRequestedEventArgs
DECLARE_INTERFACE_IID_(IPlaybackRateChangeRequestedEventArgs,
IInspectable, "2ce2c41f-3cd6-4f77-9ba7-eb27c26a2140") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_RequestedPlaybackRate)(THIS_ DOUBLE *value);
END_INTERFACE
};
#ifdef COBJMACROS
#define IPlaybackRateChangeRequestedEventArgs_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IPlaybackRateChangeRequestedEventArgs_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IPlaybackRateChangeRequestedEventArgs_Release(This) ((This)->lpVtbl->Release(This))
#define IPlaybackRateChangeRequestedEventArgs_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IPlaybackRateChangeRequestedEventArgs_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IPlaybackRateChangeRequestedEventArgs_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IPlaybackRateChangeRequestedEventArgs_get_RequestedPlaybackRate(This, value) ((This)->lpVtbl->get_Property(This, value))
#endif
#undef INTERFACE
#define INTERFACE IShuffleEnabledChangeRequestedEventArgs
DECLARE_INTERFACE_IID_(IShuffleEnabledChangeRequestedEventArgs,
IInspectable, "49b593fe-4fd0-4666-a314-c0e01940d302") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_RequestedShuffleEnabled)(THIS_ boolean *value);
END_INTERFACE
};
#ifdef COBJMACROS
#define IShuffleEnabledChangeRequestedEventArgs_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IShuffleEnabledChangeRequestedEventArgs_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IShuffleEnabledChangeRequestedEventArgs_Release(This) ((This)->lpVtbl->Release(This))
#define IShuffleEnabledChangeRequestedEventArgs_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IShuffleEnabledChangeRequestedEventArgs_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IShuffleEnabledChangeRequestedEventArgs_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IShuffleEnabledChangeRequestedEventArgs_get_RequestedShuffleEnabled(This, value) ((This)->lpVtbl->get_Property(This, value))
#endif
#undef INTERFACE
#define INTERFACE IAutoRepeatModeChangeRequestedEventArgs
DECLARE_INTERFACE_IID_(IAutoRepeatModeChangeRequestedEventArgs,
IInspectable, "ea137efa-d852-438e-882b-c990109a78f4") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_RequestedAutoRepeatMode)(THIS_ MediaPlaybackAutoRepeatMode *value);
END_INTERFACE
};
#ifdef COBJMACROS
#define IAutoRepeatModeChangeRequestedEventArgs_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IAutoRepeatModeChangeRequestedEventArgs_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IAutoRepeatModeChangeRequestedEventArgs_Release(This) ((This)->lpVtbl->Release(This))
#define IAutoRepeatModeChangeRequestedEventArgs_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IAutoRepeatModeChangeRequestedEventArgs_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IAutoRepeatModeChangeRequestedEventArgs_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IAutoRepeatModeChangeRequestedEventArgs_get_RequestedAutoRepeatMode(This, value) ((This)->lpVtbl->get_Property(This, value))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsButtonPressedEventHandler
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsButtonPressedEventHandler,
IUnknown, "0557e996-7b23-5bae-aa81-ea0d671143a4") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(Invoke)(THIS_ ISystemMediaTransportControls *sender,
ISystemMediaTransportControlsButtonPressedEventArgs *e) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsButtonPressedEventHandler_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsButtonPressedEventHandler_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsButtonPressedEventHandler_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsButtonPressedEventHandler_Invoke(sender, e) ((This)->lpVtbl->Invoke(sender, e))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsPropertyChangedEventHandler
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsPropertyChangedEventHandler,
IUnknown, "9fd61dad-1746-5fa1-a908-ef7cb4603c85") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(Invoke)(THIS_ ISystemMediaTransportControls *sender,
ISystemMediaTransportControlsPropertyChangedEventArgs *e) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsPropertyChangedEventHandler_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsPropertyChangedEventHandler_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsPropertyChangedEventHandler_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsPropertyChangedEventHandler_Invoke(sender, e) ((This)->lpVtbl->Invoke(sender, e))
#endif
#undef INTERFACE
#define INTERFACE IPlaybackPositionChangeRequestedEventHandler
DECLARE_INTERFACE_IID_(IPlaybackPositionChangeRequestedEventHandler,
IUnknown, "44e34f15-bdc0-50a7-ace4-39e91fb753f1") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(Invoke)(THIS_ ISystemMediaTransportControls *sender,
IPlaybackPositionChangeRequestedEventArgs *e) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IPlaybackPositionChangeRequestedEventHandler_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IPlaybackPositionChangeRequestedEventHandler_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IPlaybackPositionChangeRequestedEventHandler_Release(This) ((This)->lpVtbl->Release(This))
#define IPlaybackPositionChangeRequestedEventHandler_Invoke(sender, e) ((This)->lpVtbl->Invoke(sender, e))
#endif
#undef INTERFACE
#define INTERFACE IPlaybackRateChangeRequestedEventHandler
DECLARE_INTERFACE_IID_(IPlaybackRateChangeRequestedEventHandler,
IUnknown, "15eb0182-6366-5b9f-bd8c-8ab4fa9d7cd9") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(Invoke)(THIS_ ISystemMediaTransportControls *sender,
IPlaybackRateChangeRequestedEventArgs *e) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IPlaybackRateChangeRequestedEventHandler_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IPlaybackRateChangeRequestedEventHandler_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IPlaybackRateChangeRequestedEventHandler_Release(This) ((This)->lpVtbl->Release(This))
#define IPlaybackRateChangeRequestedEventHandler_Invoke(sender, e) ((This)->lpVtbl->Invoke(sender, e))
#endif
#undef INTERFACE
#define INTERFACE IShuffleEnabledChangeRequestedEventHandler
DECLARE_INTERFACE_IID_(IShuffleEnabledChangeRequestedEventHandler,
IUnknown, "17ecea80-27e4-5dae-abb4-c858ad1c5307") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(Invoke)(THIS_ ISystemMediaTransportControls *sender,
IShuffleEnabledChangeRequestedEventArgs *e) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IShuffleEnabledChangeRequestedEventHandler_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IShuffleEnabledChangeRequestedEventHandler_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IShuffleEnabledChangeRequestedEventHandler_Release(This) ((This)->lpVtbl->Release(This))
#define IShuffleEnabledChangeRequestedEventHandler_Invoke(sender, e) ((This)->lpVtbl->Invoke(sender, e))
#endif
#undef INTERFACE
#define INTERFACE IAutoRepeatModeChangeRequestedEventHandler
DECLARE_INTERFACE_IID_(IAutoRepeatModeChangeRequestedEventHandler,
IUnknown, "a6214bde-02d5-55b3-ab0d-c6031be70da1") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(Invoke)(THIS_ ISystemMediaTransportControls *sender,
IAutoRepeatModeChangeRequestedEventArgs *e) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IAutoRepeatModeChangeRequestedEventHandler_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IAutoRepeatModeChangeRequestedEventHandler_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IAutoRepeatModeChangeRequestedEventHandler_Release(This) ((This)->lpVtbl->Release(This))
#define IAutoRepeatModeChangeRequestedEventHandler_Invoke(sender, e) ((This)->lpVtbl->Invoke(sender, e))
#endif
#undef INTERFACE
#define INTERFACE IMusicDisplayProperties
DECLARE_INTERFACE_IID_(IMusicDisplayProperties, IInspectable,
"6bbf0c59-d0a0-4d26-92a0-f978e1d18e7b") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Title)(THIS_ HSTRING *value) PURE;
STDMETHOD(put_Title)(THIS_ HSTRING value) PURE;
STDMETHOD(get_AlbumArtist)(THIS_ HSTRING *value) PURE;
STDMETHOD(put_AlbumArtist)(THIS_ HSTRING value) PURE;
STDMETHOD(get_Artist)(THIS_ HSTRING *value) PURE;
STDMETHOD(put_Artist)(THIS_ HSTRING value) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IMusicDisplayProperties_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IMusicDisplayProperties_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IMusicDisplayProperties_Release(This) ((This)->lpVtbl->Release(This))
#define IMusicDisplayProperties_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IMusicDisplayProperties_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IMusicDisplayProperties_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IMusicDisplayProperties_get_Title(This, value) ((This)->lpVtbl->get_Title(This, value))
#define IMusicDisplayProperties_put_Title(This, value) ((This)->lpVtbl->put_Title(This, value))
#define IMusicDisplayProperties_get_AlbumArtist(This, value) ((This)->lpVtbl->get_AlbumArtist(This, value))
#define IMusicDisplayProperties_put_AlbumArtist(This, value) ((This)->lpVtbl->put_AlbumArtist(This, value))
#define IMusicDisplayProperties_get_Artist(This, value) ((This)->lpVtbl->get_Artist(This, value))
#define IMusicDisplayProperties_put_Artist(This, value) ((This)->lpVtbl->put_Artist(This, value))
#endif
#undef INTERFACE
#define INTERFACE IMusicDisplayProperties2
DECLARE_INTERFACE_IID_(IMusicDisplayProperties2, IInspectable,
"00368462-97d3-44b9-b00f-008afcefaf18") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_AlbumTitle)(THIS_ HSTRING *value) PURE;
STDMETHOD(put_AlbumTitle)(THIS_ HSTRING value) PURE;
STDMETHOD(get_TrackNumber)(THIS_ HSTRING *value) PURE;
STDMETHOD(put_TrackNumber)(THIS_ HSTRING value) PURE;
STDMETHOD(get_Genres)(THIS_ IInspectable **value) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IMusicDisplayProperties2_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IMusicDisplayProperties2_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IMusicDisplayProperties2_Release(This) ((This)->lpVtbl->Release(This))
#define IMusicDisplayProperties2_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IMusicDisplayProperties2_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IMusicDisplayProperties2_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IMusicDisplayProperties2_get_AlbumTitle(This, value) ((This)->lpVtbl->get_AlbumTitle(This, value))
#define IMusicDisplayProperties2_put_AlbumTitle(This, value) ((This)->lpVtbl->put_AlbumTitle(This, value))
#define IMusicDisplayProperties2_get_TrackNumber(This, value) ((This)->lpVtbl->get_TrackNumber(This, value))
#define IMusicDisplayProperties2_put_TrackNumber(This, value) ((This)->lpVtbl->put_TrackNumber(This, value))
#define IMusicDisplayProperties2_get_Genres(This, value) ((This)->lpVtbl->get_Genres(This, value))
#endif
#undef INTERFACE
#define INTERFACE IMusicDisplayProperties3
DECLARE_INTERFACE_IID_(IMusicDisplayProperties3, IInspectable,
"4db51ac1-0681-4e8c-9401-b8159d9eefc7") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_AlbumTrackCount)(THIS_ UINT32 *value) PURE;
STDMETHOD(put_AlbumTrackCount)(THIS_ UINT32 value) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IMusicDisplayProperties3_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IMusicDisplayProperties3_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IMusicDisplayProperties3_Release(This) ((This)->lpVtbl->Release(This))
#define IMusicDisplayProperties3_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IMusicDisplayProperties3_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IMusicDisplayProperties3_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IMusicDisplayProperties3_get_AlbumTrackCount(This, value) ((This)->lpVtbl->get_AlbumTrackCount(This, value))
#define IMusicDisplayProperties3_put_AlbumTrackCount(This, value) ((This)->lpVtbl->put_AlbumTrackCount(This, value))
#endif
#undef INTERFACE
#define INTERFACE IVideoDisplayProperties
DECLARE_INTERFACE_IID_(IVideoDisplayProperties, IInspectable,
"5609fdb1-5d2d-4872-8170-45dee5bc2f5c") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Title)(THIS_ HSTRING *value);
STDMETHOD(put_Title)(THIS_ HSTRING value);
STDMETHOD(get_Subtitle)(THIS_ HSTRING *value);
STDMETHOD(put_Subtitle)(THIS_ HSTRING value);
END_INTERFACE
};
#ifdef COBJMACROS
#define IVideoDisplayProperties_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IVideoDisplayProperties_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IVideoDisplayProperties_Release(This) ((This)->lpVtbl->Release(This))
#define IVideoDisplayProperties_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IVideoDisplayProperties_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IVideoDisplayProperties_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IVideoDisplayProperties_get_Title(This, value) ((This)->lpVtbl->get_Title(This, value))
#define IVideoDisplayProperties_put_Title(This, value) ((This)->lpVtbl->put_Title(This, value))
#define IVideoDisplayProperties_get_Subtitle(This, value) ((This)->lpVtbl->get_Subtitle(This, value))
#define IVideoDisplayProperties_put_Subtitle(This, value) ((This)->lpVtbl->put_Subtitle(This, value))
#endif
#undef INTERFACE
#define INTERFACE IVideoDisplayProperties2
DECLARE_INTERFACE_IID_(IVideoDisplayProperties2, IInspectable,
"b410e1ce-ab52-41ab-a486-cc10fab152f9") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Genres)(THIS_ IInspectable **value) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define IVideoDisplayProperties2_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IVideoDisplayProperties2_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IVideoDisplayProperties2_Release(This) ((This)->lpVtbl->Release(This))
#define IVideoDisplayProperties2_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IVideoDisplayProperties2_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IVideoDisplayProperties2_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IVideoDisplayProperties2_get_Genres(This, value) ((This)->lpVtbl->get_Genres(This, value))
#endif
#undef INTERFACE
#define INTERFACE IImageDisplayProperties
DECLARE_INTERFACE_IID_(IImageDisplayProperties, IInspectable,
"cd0bc7ef-54e7-411f-9933-f0e98b0a96d2") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Title)(THIS_ HSTRING *value);
STDMETHOD(put_Title)(THIS_ HSTRING value);
STDMETHOD(get_Subtitle)(THIS_ HSTRING *value);
STDMETHOD(put_Subtitle)(THIS_ HSTRING value);
END_INTERFACE
};
#ifdef COBJMACROS
#define IImageDisplayProperties_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define IImageDisplayProperties_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define IImageDisplayProperties_Release(This) ((This)->lpVtbl->Release(This))
#define IImageDisplayProperties_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define IImageDisplayProperties_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define IImageDisplayProperties_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define IImageDisplayProperties_get_Title(This, value) ((This)->lpVtbl->get_Title(This, value))
#define IImageDisplayProperties_put_Title(This, value) ((This)->lpVtbl->put_Title(This, value))
#define IImageDisplayProperties_get_Subtitle(This, value) ((This)->lpVtbl->get_Subtitle(This, value))
#define IImageDisplayProperties_put_Subtitle(This, value) ((This)->lpVtbl->put_Subtitle(This, value))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsDisplayUpdater
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsDisplayUpdater, IInspectable,
"8abbc53e-fa55-4ecf-ad8e-c984e5dd1550") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_Type)(THIS_ MediaPlaybackType *value) PURE;
STDMETHOD(put_Type)(THIS_ MediaPlaybackType value) PURE;
STDMETHOD(get_AppMediaId)(THIS_ HSTRING *value) PURE;
STDMETHOD(put_AppMediaId)(THIS_ HSTRING value) PURE;
STDMETHOD(get_Thumbnail)(THIS_ IInspectable **value) PURE;
STDMETHOD(put_Thumbnail)(THIS_ IInspectable *value) PURE;
STDMETHOD(get_MusicProperties)(THIS_ IMusicDisplayProperties **value) PURE;
STDMETHOD(get_VideoProperties)(THIS_ IVideoDisplayProperties **value) PURE;
STDMETHOD(get_ImageProperties)(THIS_ IImageDisplayProperties **value) PURE;
STDMETHOD(CopyFromFileAsync)(THIS_ MediaPlaybackType type,
IInspectable *source, IInspectable **operation) PURE;
STDMETHOD(ClearAll)(THIS) PURE;
STDMETHOD(Update)(THIS) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsDisplayUpdater_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsDisplayUpdater_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsDisplayUpdater_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsDisplayUpdater_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControlsDisplayUpdater_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControlsDisplayUpdater_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControlsDisplayUpdater_get_Type(This, value) ((This)->lpVtbl->get_Type(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_put_Type(This, value) ((This)->lpVtbl->put_Type(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_get_AppMediaId(This, value) ((This)->lpVtbl->get_AppMediaId(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_put_AppMediaId(This, value) ((This)->lpVtbl->put_AppMediaId(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_get_Thumbnail(This, value) ((This)->lpVtbl->get_Thumbnail(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_put_Thumbnail(This, value) ((This)->lpVtbl->put_Thumbnail(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_get_MusicProperties(This, value) ((This)->lpVtbl->get_MusicProperties(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_get_VideoProperties(This, value) ((This)->lpVtbl->get_VideoProperties(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_get_ImageProperties(This, value) ((This)->lpVtbl->get_ImageProperties(This, value))
#define ISystemMediaTransportControlsDisplayUpdater_CopyFromFileAsync(This, type, source, operation) ((This)->lpVtbl->CopyFromFileAsync(This, type, source, operation))
#define ISystemMediaTransportControlsDisplayUpdater_ClearAll(This) ((This)->lpVtbl->ClearAll(This))
#define ISystemMediaTransportControlsDisplayUpdater_Update(This) ((This)->lpVtbl->Update(This))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControls
DECLARE_INTERFACE_IID_(ISystemMediaTransportControls, IInspectable,
"99fa3ff4-1742-42a6-902e-087d41f965ec") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_PlaybackStatus)(THIS_ MediaPlaybackStatus *value) PURE;
STDMETHOD(put_PlaybackStatus)(THIS_ MediaPlaybackStatus value) PURE;
STDMETHOD(get_DisplayUpdater)(THIS_ IInspectable **value) PURE;
STDMETHOD(get_SoundLevel)(THIS_ SoundLevel *value) PURE;
STDMETHOD(get_IsEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsPlayEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsPlayEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsStopEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsStopEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsPauseEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsPauseEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsRecordEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsRecordEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsFastForwardEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsFastForwardEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsRewindEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsRewindEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsPreviousEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsPreviousEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsNextEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsNextEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsChannelUpEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsChannelUpEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_IsChannelDownEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_IsChannelDownEnabled)(THIS_ boolean value) PURE;
STDMETHOD(add_ButtonPressed)(THIS_
ISystemMediaTransportControlsButtonPressedEventHandler *handler,
EventRegistrationToken *token) PURE;
STDMETHOD(remove_ButtonPressed)(THIS_ EventRegistrationToken token) PURE;
STDMETHOD(add_PropertyChanged)(THIS_
ISystemMediaTransportControlsPropertyChangedEventHandler *handler,
EventRegistrationToken *token) PURE;
STDMETHOD(remove_PropertyChanged)(THIS_ EventRegistrationToken token) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControls_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControls_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControls_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControls_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControls_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControls_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControls_get_PlaybackStatus(This, value) ((This)->lpVtbl->get_PlaybackStatus(This, value))
#define ISystemMediaTransportControls_put_PlaybackStatus(This, value) ((This)->lpVtbl->put_PlaybackStatus(This, value))
#define ISystemMediaTransportControls_get_DisplayUpdater(This, value) ((This)->lpVtbl->get_DisplayUpdater(This, value))
#define ISystemMediaTransportControls_get_SoundLevel(This, value) ((This)->lpVtbl->get_SoundLevel(This, value))
#define ISystemMediaTransportControls_get_IsEnabled(This, value) ((This)->lpVtbl->get_IsEnabled(This, value))
#define ISystemMediaTransportControls_put_IsEnabled(This, value) ((This)->lpVtbl->put_IsEnabled(This, value))
#define ISystemMediaTransportControls_get_IsPlayEnabled(This, value) ((This)->lpVtbl->get_IsPlayEnabled(This, value))
#define ISystemMediaTransportControls_put_IsPlayEnabled(This, value) ((This)->lpVtbl->put_IsPlayEnabled(This, value))
#define ISystemMediaTransportControls_get_IsStopEnabled(This, value) ((This)->lpVtbl->get_IsStopEnabled(This, value))
#define ISystemMediaTransportControls_put_IsStopEnabled(This, value) ((This)->lpVtbl->put_IsStopEnabled(This, value))
#define ISystemMediaTransportControls_get_IsPauseEnabled(This, value) ((This)->lpVtbl->get_IsPauseEnabled(This, value))
#define ISystemMediaTransportControls_put_IsPauseEnabled(This, value) ((This)->lpVtbl->put_IsPauseEnabled(This, value))
#define ISystemMediaTransportControls_get_IsRecordEnabled(This, value) ((This)->lpVtbl->get_IsRecordEnabled(This, value))
#define ISystemMediaTransportControls_put_IsRecordEnabled(This, value) ((This)->lpVtbl->put_IsRecordEnabled(This, value))
#define ISystemMediaTransportControls_get_IsFastForwardEnabled(This, value) ((This)->lpVtbl->get_IsFastForwardEnabled(This, value))
#define ISystemMediaTransportControls_put_IsFastForwardEnabled(This, value) ((This)->lpVtbl->put_IsFastForwardEnabled(This, value))
#define ISystemMediaTransportControls_get_IsRewindEnabled(This, value) ((This)->lpVtbl->get_IsRewindEnabled(This, value))
#define ISystemMediaTransportControls_put_IsRewindEnabled(This, value) ((This)->lpVtbl->put_IsRewindEnabled(This, value))
#define ISystemMediaTransportControls_get_IsPreviousEnabled(This, value) ((This)->lpVtbl->get_IsPreviousEnabled(This, value))
#define ISystemMediaTransportControls_put_IsPreviousEnabled(This, value) ((This)->lpVtbl->put_IsPreviousEnabled(This, value))
#define ISystemMediaTransportControls_get_IsNextEnabled(This, value) ((This)->lpVtbl->get_IsNextEnabled(This, value))
#define ISystemMediaTransportControls_put_IsNextEnabled(This, value) ((This)->lpVtbl->put_IsNextEnabled(This, value))
#define ISystemMediaTransportControls_get_IsChannelUpEnabled(This, value) ((This)->lpVtbl->get_IsChannelUpEnabled(This, value))
#define ISystemMediaTransportControls_put_IsChannelUpEnabled(This, value) ((This)->lpVtbl->put_IsChannelUpEnabled(This, value))
#define ISystemMediaTransportControls_get_IsChannelDownEnabled(This, value) ((This)->lpVtbl->get_IsChannelDownEnabled(This, value))
#define ISystemMediaTransportControls_put_IsChannelDownEnabled(This, value) ((This)->lpVtbl->put_IsChannelDownEnabled(This, value))
#define ISystemMediaTransportControls_add_ButtonPressed(This, handler, token) ((This)->lpVtbl->add_ButtonPressed(This, handler, token))
#define ISystemMediaTransportControls_remove_ButtonPressed(This, token) ((This)->lpVtbl->remove_ButtonPressed(This, token))
#define ISystemMediaTransportControls_add_PropertyChanged(This, handler, token) ((This)->lpVtbl->add_PropertyChanged(This, handler, token))
#define ISystemMediaTransportControls_remove_PropertyChanged(This, token) ((This)->lpVtbl->remove_PropertyChanged(This, token))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsTimelineProperties
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsTimelineProperties, IInspectable,
"5125316a-c3a2-475b-8507-93534dc88f15") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_StartTime)(THIS_ TimeSpan *value) PURE;
STDMETHOD(put_StartTime)(THIS_ TimeSpan value) PURE;
STDMETHOD(get_EndTime)(THIS_ TimeSpan *value) PURE;
STDMETHOD(put_EndTime)(THIS_ TimeSpan value) PURE;
STDMETHOD(get_MinSeekTime)(THIS_ TimeSpan *value) PURE;
STDMETHOD(put_MinSeekTime)(THIS_ TimeSpan value) PURE;
STDMETHOD(get_MaxSeekTime)(THIS_ TimeSpan *value) PURE;
STDMETHOD(put_MaxSeekTime)(THIS_ TimeSpan value) PURE;
STDMETHOD(get_Position)(THIS_ TimeSpan *value) PURE;
STDMETHOD(put_Position)(THIS_ TimeSpan value) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsTimelineProperties_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsTimelineProperties_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsTimelineProperties_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsTimelineProperties_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControlsTimelineProperties_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControlsTimelineProperties_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControlsTimelineProperties_get_StartTime(This, value) ((This)->lpVtbl->get_StartTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_put_StartTime(This, value) ((This)->lpVtbl->put_StartTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_get_EndTime(This, value) ((This)->lpVtbl->get_EndTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_put_EndTime(This, value) ((This)->lpVtbl->put_EndTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_get_MinSeekTime(This, value) ((This)->lpVtbl->get_MinSeekTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_put_MinSeekTime(This, value) ((This)->lpVtbl->put_MinSeekTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_get_MaxSeekTime(This, value) ((This)->lpVtbl->get_MaxSeekTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_put_MaxSeekTime(This, value) ((This)->lpVtbl->put_MaxSeekTime(This, value))
#define ISystemMediaTransportControlsTimelineProperties_get_Position(This, value) ((This)->lpVtbl->get_Position(This, value))
#define ISystemMediaTransportControlsTimelineProperties_put_Position(This, value) ((This)->lpVtbl->put_Position(This, value))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControls2
DECLARE_INTERFACE_IID_(ISystemMediaTransportControls2, IInspectable,
"ea98d2f6-7f3c-4af2-a586-72889808efb1") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(get_AutoRepeatMode)(THIS_ MediaPlaybackAutoRepeatMode *value) PURE;
STDMETHOD(put_AutoRepeatMode)(THIS_ MediaPlaybackAutoRepeatMode value) PURE;
STDMETHOD(get_ShuffleEnabled)(THIS_ boolean *value) PURE;
STDMETHOD(put_ShuffleEnabled)(THIS_ boolean value) PURE;
STDMETHOD(get_PlaybackRate)(THIS_ DOUBLE *value) PURE;
STDMETHOD(put_PlaybackRate)(THIS_ DOUBLE value) PURE;
STDMETHOD(UpdateTimelineProperties)(THIS_
ISystemMediaTransportControlsTimelineProperties *timelineProperties) PURE;
STDMETHOD(add_PlaybackPositionChangeRequested)(THIS_
IPlaybackPositionChangeRequestedEventHandler *handler,
EventRegistrationToken *token);
STDMETHOD(remove_PlaybackPositionChangeRequested)(THIS_
EventRegistrationToken token);
STDMETHOD(add_PlaybackRateChangeRequested)(THIS_
IPlaybackRateChangeRequestedEventHandler *handler,
EventRegistrationToken *token);
STDMETHOD(remove_PlaybackRateChangeRequested)(THIS_
EventRegistrationToken token);
STDMETHOD(add_ShuffleEnabledChangeRequested)(THIS_
IShuffleEnabledChangeRequestedEventHandler *handler,
EventRegistrationToken *token);
STDMETHOD(remove_ShuffleEnabledChangeRequested)(THIS_
EventRegistrationToken token);
STDMETHOD(add_AutoRepeatModeChangeRequested)(THIS_
IAutoRepeatModeChangeRequestedEventHandler *handler,
EventRegistrationToken *token);
STDMETHOD(remove_AutoRepeatModeChangeRequested)(THIS_
EventRegistrationToken token);
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControls2_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControls2_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControls2_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControls2_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControls2_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControls2_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControls2_get_AutoRepeatMode(This, value) ((This)->lpVtbl->get_AutoRepeatMode(This, value))
#define ISystemMediaTransportControls2_put_AutoRepeatMode(This, value) ((This)->lpVtbl->put_AutoRepeatMode(This, value))
#define ISystemMediaTransportControls2_get_ShuffleEnabled(This, value) ((This)->lpVtbl->get_ShuffleEnabled(This, value))
#define ISystemMediaTransportControls2_put_ShuffleEnabled(This, value) ((This)->lpVtbl->put_ShuffleEnabled(This, value))
#define ISystemMediaTransportControls2_get_PlaybackRate(This, value) ((This)->lpVtbl->get_PlaybackRate(This, value))
#define ISystemMediaTransportControls2_put_PlaybackRate(This, value) ((This)->lpVtbl->put_PlaybackRate(This, value))
#define ISystemMediaTransportControls2_UpdateTimelineProperties(This, timelineProperties) ((This)->lpVtbl->UpdateTimelineProperties(This, timelineProperties))
#define ISystemMediaTransportControls2_add_PlaybackPositionChangeRequested(This, handler, token) ((This)->lpVtbl->add_PlaybackPositionChangeRequested(This, handler, token))
#define ISystemMediaTransportControls2_remove_PlaybackPositionChangeRequested(This, token) ((This)->lpVtbl->remove_PlaybackPositionChangeRequested(This, token))
#define ISystemMediaTransportControls2_add_PlaybackRateChangeRequested(This, handler, token) ((This)->lpVtbl->add_PlaybackRateChangeRequested(This, handler, token))
#define ISystemMediaTransportControls2_remove_PlaybackRateChangeRequested(This, token) ((This)->lpVtbl->remove_PlaybackRateChangeRequested(This, token))
#define ISystemMediaTransportControls2_add_ShuffleEnabledChangeRequested(This, handler, token) ((This)->lpVtbl->add_ShuffleEnabledChangeRequested(This, handler, token))
#define ISystemMediaTransportControls2_remove_ShuffleEnabledChangeRequested(This, token) ((This)->lpVtbl->remove_ShuffleEnabledChangeRequested(This, token))
#define ISystemMediaTransportControls2_add_AutoRepeatModeChangeRequested(This, handler, token) ((This)->lpVtbl->add_AutoRepeatModeChangeRequested(This, handler, token))
#define ISystemMediaTransportControls2_remove_AutoRepeatModeChangeRequested(This, token) ((This)->lpVtbl->remove_AutoRepeatModeChangeRequested(This, token))
#endif
#undef INTERFACE
#define INTERFACE ISystemMediaTransportControlsInterop
DECLARE_INTERFACE_IID_(ISystemMediaTransportControlsInterop, IInspectable,
"ddb0472d-c911-4a1f-86d9-dc3d71a95f5a") {
BEGIN_INTERFACE
STDMETHOD(QueryInterface)(THIS_ REFIID riid, void **ppvObject) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
STDMETHOD(GetIids)(THIS_ ULONG *iidCount, IID **iids) PURE;
STDMETHOD(GetRuntimeClassName)(THIS_ HSTRING *className) PURE;
STDMETHOD(GetTrustLevel)(THIS_ TrustLevel *trustLevel) PURE;
STDMETHOD(GetForWindow)(THIS_ HWND appWindow, REFIID riid,
void **mediaTransportControl) PURE;
END_INTERFACE
};
#ifdef COBJMACROS
#define ISystemMediaTransportControlsInterop_QueryInterface(This, riid, ppvObject) ((This)->lpVtbl->QueryInterface(This, riid, ppvObject))
#define ISystemMediaTransportControlsInterop_AddRef(This) ((This)->lpVtbl->AddRef(This))
#define ISystemMediaTransportControlsInterop_Release(This) ((This)->lpVtbl->Release(This))
#define ISystemMediaTransportControlsInterop_GetIids(This, iidCount, iids) ((This)->lpVtbl->GetIids(This, iidCount, iids))
#define ISystemMediaTransportControlsInterop_GetRuntimeClassName(This, className) ((This)->lpVtbl->GetRuntimeClassName(This, className))
#define ISystemMediaTransportControlsInterop_GetTrustLevel(This, trustLevel) ((This)->lpVtbl->GetTrustLevel(This, trustLevel))
#define ISystemMediaTransportControlsInterop_GetForWindow(This, appWindow, riid, mediaTransportControl) ((This)->lpVtbl->GetForWindow(This, appWindow, riid, mediaTransportControl))
#endif
DEFINE_GUID(IID_ISystemMediaTransportControlsButtonPressedEventArgs, 0xb7f47116, 0xa56f, 0x4dc8, 0x9e, 0x11, 0x92, 0x03, 0x1f, 0x4a, 0x87, 0xc2);
DEFINE_GUID(IID_ISystemMediaTransportControlsPropertyChangedEventArgs, 0xd0ca0936, 0x339b, 0x4cb3, 0x8e, 0xeb, 0x73, 0x76, 0x07, 0xf5, 0x6e, 0x08);
DEFINE_GUID(IID_IPlaybackPositionChangeRequestedEventArgs, 0xb4493f88, 0xeb28, 0x4961, 0x9c, 0x14, 0x33, 0x5e, 0x44, 0xf3, 0xe1, 0x25);
DEFINE_GUID(IID_IPlaybackRateChangeRequestedEventArgs, 0x2ce2c41f, 0x3cd6, 0x4f77, 0x9b, 0xa7, 0xeb, 0x27, 0xc2, 0x6a, 0x21, 0x40);
DEFINE_GUID(IID_IShuffleEnabledChangeRequestedEventArgs, 0x49b593fe, 0x4fd0, 0x4666, 0xa3, 0x14, 0xc0, 0xe0, 0x19, 0x40, 0xd3, 0x02);
DEFINE_GUID(IID_IAutoRepeatModeChangeRequestedEventArgs, 0xea137efa, 0xd852, 0x438e, 0x88, 0x2b, 0xc9, 0x90, 0x10, 0x9a, 0x78, 0xf4);
DEFINE_GUID(IID_ISystemMediaTransportControlsButtonPressedEventHandler, 0x0557e996, 0x7b23, 0x5bae, 0xaa, 0x81, 0xea, 0x0d, 0x67, 0x11, 0x43, 0xa4);
DEFINE_GUID(IID_ISystemMediaTransportControlsPropertyChangedEventHandler, 0x9fd61dad, 0x1746, 0x5fa1, 0xa9, 0x08, 0xef, 0x7c, 0xb4, 0x60, 0x3c, 0x85);
DEFINE_GUID(IID_IPlaybackPositionChangeRequestedEventHandler, 0x44e34f15, 0xbdc0, 0x50a7, 0xac, 0xe4, 0x39, 0xe9, 0x1f, 0xb7, 0x53, 0xf1);
DEFINE_GUID(IID_IPlaybackRateChangeRequestedEventHandler, 0x15eb0182, 0x6366, 0x5b9f, 0xbd, 0x8c, 0x8a, 0xb4, 0xfa, 0x9d, 0x7c, 0xd9);
DEFINE_GUID(IID_IShuffleEnabledChangeRequestedEventHandler, 0x17ecea80, 0x27e4, 0x5dae, 0xab, 0xb4, 0xc8, 0x58, 0xad, 0x1c, 0x53, 0x07);
DEFINE_GUID(IID_IAutoRepeatModeChangeRequestedEventHandler, 0xa6214bde, 0x02d5, 0x55b3, 0xab, 0x0d, 0xc6, 0x03, 0x1b, 0xe7, 0x0d, 0xa1);
DEFINE_GUID(IID_IMusicDisplayProperties, 0x6bbf0c59, 0xd0a0, 0x4d26, 0x92, 0xa0, 0xf9, 0x78, 0xe1, 0xd1, 0x8e, 0x7b);
DEFINE_GUID(IID_IMusicDisplayProperties2, 0x00368462, 0x97d3, 0x44b9, 0xb0, 0x0f, 0x00, 0x8a, 0xfc, 0xef, 0xaf, 0x18);
DEFINE_GUID(IID_IMusicDisplayProperties3, 0x4db51ac1, 0x0681, 0x4e8c, 0x94, 0x01, 0xb8, 0x15, 0x9d, 0x9e, 0xef, 0xc7);
DEFINE_GUID(IID_IVideoDisplayProperties, 0x5609fdb1, 0x5d2d, 0x4872, 0x81, 0x70, 0x45, 0xde, 0xe5, 0xbc, 0x2f, 0x5c);
DEFINE_GUID(IID_IVideoDisplayProperties2, 0xb410e1ce, 0xab52, 0x41ab, 0xa4, 0x86, 0xcc, 0x10, 0xfa, 0xb1, 0x52, 0xf9);
DEFINE_GUID(IID_IImageDisplayProperties, 0xcd0bc7ef, 0x54e7, 0x411f, 0x99, 0x33, 0xf0, 0xe9, 0x8b, 0x0a, 0x96, 0xd2);
DEFINE_GUID(IID_ISystemMediaTransportControlsDisplayUpdater, 0x8abbc53e, 0xfa55, 0x4ecf, 0xad, 0x8e, 0xc9, 0x84, 0xe5, 0xdd, 0x15, 0x50);
DEFINE_GUID(IID_ISystemMediaTransportControls, 0x99fa3ff4, 0x1742, 0x42a6, 0x90, 0x2e, 0x08, 0x7d, 0x41, 0xf9, 0x65, 0xec);
DEFINE_GUID(IID_ISystemMediaTransportControlsTimelineProperties, 0x5125316a, 0xc3a2, 0x475b, 0x85, 0x07, 0x93, 0x53, 0x4d, 0xc8, 0x8f, 0x15);
DEFINE_GUID(IID_ISystemMediaTransportControls2, 0xea98d2f6, 0x7f3c, 0x4af2, 0xa5, 0x86, 0x72, 0x88, 0x98, 0x08, 0xef, 0xb1);
DEFINE_GUID(IID_ISystemMediaTransportControlsInterop, 0xddb0472d, 0xc911, 0x4a1f, 0x86, 0xd9, 0xdc, 0x3d, 0x71, 0xa9, 0x5f, 0x5a);
#undef INTERFACE
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment