How do I use IPropertyStore to access mp3 metadata in Windows with C++?
问题 Given the path of an mp3 file, how do I create and initialize an IPropertyStore object to operate on the metadata of that file? Specifically, how do I get from here: "C:\\Music\\Viva Las Vegas.mp3" to here: store->GetValue(PKEY_Music_AlbumArtist, &variant); Here's some pseudo-ish code to help clarify what I'm trying to do: #include "stdafx.h" #include <propsys.h> #include <propkey.h> void main () { // property store must somehow represent the mp3 file IPropertyStore* store = "C:\\Music\\Viva