|
-
September 29th, 2008, 06:33 AM
#1
Rearding Drive letters of the partitions.
Hi all,
I am stucked in a problem. How can I get the drive letter of my last partition. Is there any API or any other way to know which drive letter is assigned to my last partition?
I have the partition number i.e. by applying IOCTL_DISK_GET_DRIVE_LAYOUT i will get the partition number, But how to retrieve its drive letter.
Please help!!!!
Thanks.
-
September 29th, 2008, 07:28 AM
#2
Re: Rearding Drive letters of the partitions.
But how are you getting a handle to device (to this partition)?
Victor Nijegorodov
-
September 29th, 2008, 07:48 AM
#3
Re: Rearding Drive letters of the partitions.
Well I am using the HANDLE of the Entire Hard disk using IOCTL_DISK_GET_DRIVE_LAYOUT. Through which with the partition entries I can get the partition number of my last partition of my disk.
-
September 29th, 2008, 08:14 AM
#4
Re: Rearding Drive letters of the partitions.
-
September 29th, 2008, 12:16 PM
#5
Re: Rearding Drive letters of the partitions.
Sorry but this link is not working i think, its not opening. I didnt get you what you trying to say.
-
September 29th, 2008, 12:20 PM
#6
Re: Rearding Drive letters of the partitions.
Victor Nijegorodov
-
September 29th, 2008, 12:55 PM
#7
Re: Rearding Drive letters of the partitions.
Is there any win32 API to find the drive letter or I have to search my problem in those 93000 solutions from that link?
-
September 29th, 2008, 01:54 PM
#8
Re: Rearding Drive letters of the partitions.
 Originally Posted by mayank_3103
Is there any win32 API to find the drive letter or I have to search my problem in those 93000 solutions from that link?
Didn't you try to search for you_ particular_problem (something like for IOCTL_DISK_GET_DRIVE_LAYOUT or just for Drive letter) among "those 93000 solutions"?
Victor Nijegorodov
-
September 30th, 2008, 03:59 AM
#9
Re: Rearding Drive letters of the partitions.
thanks VictorN for that link.
I have got something in that,I will try then let you know.
Thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|