Joe Strazzere - All Things Quality

Visit my new blog at http://strazzere.blogspot.com/


December 1, 2005 - WinTask - GetVolumeInformation

Posted in WinTask

'
' GetVolumeInformation - retrieves information about a file system and volume whose root directory is specified.
'

Dim VolName as unsigned
Dim Volume as unsigned
Dim VolType as unsigned

VolName=Allocate(64)
Volume=Allocate(64)
VolType=Allocate(64)

PokeString(Volume,"C:\",1)

ret=External("kernel32","GetVolumeInformationA", Volume, VolName, 64, VolSer,0,0, VolType,0)

VolName$=PeekString$(VolName)
VolType$=PeekString$(VolType)

msgbox(VolName$)
'?msgbox(VolType$)


<- Last Page :: Next Page ->

About Me

A gathering place for information and ideas about Quality Assurance, Testing, and other useful topics.

Problems cannot be solved by the same level of thinking that created them. - A. Einstein

Search This Site

Translate This Site

RSS Feed

Subscribe

Twitter

@jstrazzere

Categories

Life
QA
Sports
Tools
WinTask
Work in General

What I'm Reading Now