How to get the volume lable from the pointer to the volume?

Hi all:
I get a pointer which represents a volume.How can I get to know from it which volume it is(C:,D: or E;)?

Thanks

Jim