For Programmers: Free Programming Magazines  


Home > Archive > VC Language > June 2005 > question about retrieving a volume name...









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author question about retrieving a volume name...
jbreiding@newsgroup.nospam

2005-06-02, 4:02 am

i am trying to determine the volume name for each partition on a physical
disk resource in a mscs environment.

i have already established the ability to enumerate all of the storage
resources and get a CLUSPROP_PARTITION_INFO structure for each.

when i retrieve the szdevicename property of the structure i get a drive
letter for all volumes mounted to a drive letter. i can uset
findvolumenameformounpoint by simply appending a \ to the string to get the
volume name.

however volumes that are mounted to a folder or not at all return a string
similar to Disk1Partition4 for their szdevicename. are there any functions or
proceedures i can use to retrieve the volume name only knowing the above
mentioned string?

my searching has turned up nothing. thanks for your help!!!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com