C language function:InitPropVariantFromGUIDAsBuffer sample codes

Search sample code in the internet.It is the result.

TITLE : Project 31-A: November 2009
So if you use InitPropVariantFromGUIDAsBuffer() method to set the PROPVARIANT in the IPropertyStore::GetValue call with a unique GUID for your shell item everything will work as expected........

search Google