> thank you!!
> I am trying to import the source code to java by using JNI.
That might be more work than you're anticipating. Make a JNI "Hello
World" first.
ezelsari85@gmail.com wrote in news:1143812782.462105.118020
@g10g2000cwb.googlegroups.com:
> thank you!!
> I am trying to import the source code to java by using JNI.
For Windows, use the following API wrapped in a JNI routine :
FUNCTION long GetVolumeInformationA &
(string lpRootPathName, REF string lpVolumeNameBuffer,
long nVolumeNameSize,
REF long lpVolumeSerialNumber, REF long lpMaximumComponentLength,
REF long lpFileSystemFlags, REF string lpFileSystemNameBuffer,
long nFileSystemNameSize)
LIBRARY "Kernel32.dll"
Bye.

Signature
Real Gagnon from Quebec, Canada
* Looking for Java or PB code examples ? Visit Real's How-to
* http://www.rgagnon.com/howto.html