Solved

GetVolumeInformation API Call

Posted on 1997-09-09
2
240 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
2 Comments
 
LVL 3

Accepted Solution

by:
mirek071497 earned 10 total points
Comment Utility
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
Comment Utility
It works thanks !
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Delphi 2010 Export to pdf 2 249
Delphi application Soap connection 5 79
find a node in VST 2 46
SUM 2 INTEGER ARRAYS INTO 1 10 55
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now