Joe Strazzere - All Things Quality

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


December 1, 2005 - WinTask - SearchTreeForFile

Posted in WinTask

' SearchTreeForFile

'
' Author: Joe Strazzere

'

'SearchTreeForFile Lib "imagehlp"
' (ByVal RootPath As String,
'  ByVal InputPathName As String,
'  ByVal OutputPathBuffer As String) As Long

 

dim outbuffer as unsigned
dim root as unsigned
dim file as unsigned

 

outbuffer=allocate(260)
root=allocate(32)
file=allocate(32)

 

pokestring(outbuffer,"                                                                                                                                                                                                                                                                    ",1)
pokestring(root,"C:",1)
pokestring(file,"autoexec.bat",1)

 

ret=External("imagehlp","SearchTreeForFile",root,file,outbuffer)

msgbox(str$(ret))


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