?
Solved

GetVolumeInformation API Call

Posted on 1997-09-09
2
Medium Priority
?
256 Views
Last Modified: 2010-04-04
I need to know the server, volume name and file system type for a remote drive I am connected to using the GetVolumeInformation API Call. Has anybody done this ?
0
Comment
Question by:gideon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
mirek071497 earned 20 total points
ID: 1344541
If you call GetVolumeInformation for other machine then you must call this with lpRootPathName := '\\<server>\<volume>\'; or GetLastError return 123 = ERROR_INVALID_NAME

Answer = add '\' at the end of lpRootPathName.
0
 

Author Comment

by:gideon
ID: 1344542
It works thanks !
0

Featured Post

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question