VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Find Files using FindFirstFile,FindNextFile and FindClose API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Wed 1st August 2001   Mon 8th February 2021

Find Files using FindFirstFile,FindNextFile and FindClose API

API Declarations


dwLowDateTime As Long
dwHighDateTime As Long
End Type
Private Type WIN32_FIND_DATA
dwFileAttributes As Long
ftCreationTime As FILETIME
ftLastAccessTime As FILETIME
ftLastWriteTime As FILETIME
nFileSizeHigh As Long
nFileSizeLow As Long
dwReserved0 As Long
dwReserved1 As Long
cFileName As String * 260
cAlternate As String * 14
End Type
Private Declare Function FindNextFile Lib "kernel32.dll" Alias "FindNextFileA" (ByVal hFindFile As Long, lpFindFileData As WIN32_FIND_DATA) As Long
Private Declare Function FindFirstFile Lib "kernel32.dll" Alias "FindFirstFileA" (ByVal lpFileName As String, lpFindFileData As WIN32_FIND_DATA) As Long
Private Declare Function FindClose Lib "kernel32.dll" (ByVal hFindFile As Long) As Long

Rate Find Files using FindFirstFile,FindNextFile and FindClose API (1(1 Vote))
Find Files using FindFirstFile,FindNextFile and FindClose API.bas

Find Files using FindFirstFile,FindNextFile and FindClose API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters