Joe Strazzere - All Things Quality

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


December 1, 2005 - WinTask - GetLogicalDriveStrings

Posted in WinTask

'
' GetLogicalDriveStrings
'

'Declare Function GetLogicalDriveStrings Lib "kernel32" Alias "GetLogicalDriveStringsA" (ByVal nBufferLength As Long, ByVal lpBuffer As String) As Long

dim ptr as unsigned
dim pt2 as unsigned
ptr=allocate(100)
pokestring(ptr,"                                                                                                    ",1)

a=External("kernel32","GetLogicalDriveStringsA",100,ptr)
msgbox(str$(a))
pt2=ptr+0
buf$=peekstring$(pt2)
msgbox("["+Buf$+"]")


<- 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