Using Win32 functions in Visual FoxPro Image Gallery
File Management
..msdn
CopyFile
CopyFileTransacted
CreateDirectory
CreateFile
CreateFileTransacted
CreateHardLink
CreateSymbolicLink
DeleteFile
DeleteFileTransacted
FindClose
FindCloseChangeNotification
FindFirstChangeNotification
FindFirstFile
FindNextChangeNotification
FindNextFile
FlushFileBuffers
GetBinaryType
GetCurrentDirectory
GetDriveType
GetFileAttributes
GetFileAttributesEx
GetFileInformationByHandle
GetFileType
GetFullPathName
GetLongPathName
GetShortPathName
GetTempFileName
GetTempPath
LockFile
MoveFile
MoveFileTransacted
OpenFile
QueryDosDevice
ReadDirectoryChangesW
ReadFile
RemoveDirectory
RemoveDirectoryTransacted
ReplaceFile
SearchPath
SetCurrentDirectory
SetEndOfFile
SetFileAttributes
SetFilePointer
SetFilePointerEx
SetSearchPathMode
UnlockFile
WriteFile
_lclose
_lopen
Code examples:
Building a tree of subdirectories for a given path using FindFile functions
FindFirstFile
..msdn    Add comment     W32 Constants      Translate this page
The FindFirstFile function searches a directory for a file whose name matches the specified file name. FindFirstFile examines subdirectory names as well as file names.
Code examples:
Building a tree of subdirectories for a given path using FindFile functions
Declaration:
HANDLE FindFirstFile(
  LPCTSTR lpFileName,               // file name
  LPWIN32_FIND_DATA lpFindFileData  // data buffer
);
FoxPro declaration:
DECLARE INTEGER FindFirstFile IN kernel32;
    STRING   lpFileName,;
    STRING @ lpFindFileData
Parameters:
lpFileName
[in] Pointer to a null-terminated string that specifies a valid directory or path and file name, which can contain wildcard characters (* and ?).

lpFindFileData
[out] Pointer to the WIN32_FIND_DATA structure that receives information about the found file or subdirectory.
Return value:
If the function succeeds, the return value is a search handle used in a subsequent call to FindNextFile or FindClose.
Word Index links for the FindFirstFile :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-28 18:59:35
Modified: 2001-12-28 19:01:13
Visited in last 7 days: 70
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.198.2.110)
13 sec.Function: 'GetSubMenu'
Function group: 'Menu'
26 sec.Function: 'CeGetLastError'
Function group: 'Remote Application Programming (RAPI)'
40 sec.Function: 'mixerGetLineControls'
Function group: 'Windows Multimedia'
54 sec.Function: 'NetServerEnum'
Function group: 'Network Management'
1.13 min.Function: 'waveInGetErrorText'
Function group: 'Windows Multimedia'
1.38 min.Function: 'GetProcessVersion'
Function group: 'Process and Thread'
1.62 min.All Functions
1.82 min.Function: 'ReleaseDC'
Function group: 'Device Context'
2.03 min.Function: 'AVIStreamGetFrame'
Function group: 'Windows Multimedia'
2.23 min.Function: 'GetProcessIoCounters'
Function group: 'Process and Thread'
Google
Advertise here!