For a program I'd like to make, I need to get some info from another program, one that does not provide a developer API at all. Basically, I'm trying to get the currently playing song from a certain media player.
What would this involve? Surely I can't just find the data in memory somewhere and use it? I figured it'd be something with a hook to the program, and intercepting the change in song title data. But...
1) Would the program have to have a function that returns the value I want? Or can I just retrieve data from the program from a variable it might be holding it in?
2) What kind of stuff would I need to look into to start doing this? Doing google searches on 'process hooking', 'api hooking', etc., turns up way too much stuff.