Posted on 2009-02-24
Given a path I would like to be able to retrieve the Pidl
Whoa! Stop! Not so fast!
I've heard of SHSimpleIDListFromPath, and of SHILCreateFromPath
Those are fine and dandy, except, all they give you is a pointer - a Long.
I need more than just a long. I need to get my grubby little hands on all them lurvely bytes. If I KNEW that the number of bytes was fixed I could do something with a copymem. But I don't know that, and I don't get any definitive answers anywhere.
But I can't figure out how to get from having the pointer to establishing what all those bytes are. I didn't find anything helpful on t'internet.