


It would be much appreciated if someone can explain this to me.The genuine groove.exe file is a software component of Microsoft OneDrive for Business by Microsoft Corporation. But my idea was that this must be compiled into a library and that I can use it by using pInvoke.

Maybe I'm totally wrong and maybe I can't use this in C# (because it is a C++ interface). The docs say that this is included in the Windows 10 SDK, but I can't find out where. More exactly the ISystemMediaTransportControlsInterop::GetForWindow method:īut I don't know how to call this method, what library to use (dll) so i can (maybe) pInvoke this in my C# app. So I found out that it might be possible by using the native ISystemMediaTransportControlsInterop interface: The article about SMTC linked above shows how to use those controls in your app, the thing I want to do is basically the exact opposite.ĭoes anyone have an other approach you think might work? Second approach would be getting the information from the System Media Transport Controls.įor those not familiar with the SMTC, here's what I'm talking about (the little popup when you skip/play/pause from your keyboard for example): And again, this is obsolete anyway, now MS recommends using the class, but this is also only accessible in the same process where the MediaPlayer is used. The idea was to get information from BackgroundMediaPlayer.Current but this only works in the same process. More info about the in the Dev Center Documentation My first approach was to try and get the (now obsolete) info from my own process (app).

I'm talking about the Groove APP and not the REST Api. I would like to get track info of the current playing track in the Microsoft Groove app in my own app.
