Associating VSS Shadow volumes with original volumes

All,

What is the best way to identify the real volume for which a volume shadow
copy is exposed by VSS? I want to do it in the kernel, in a volume upper
filter driver.

thanks

Bendato