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:
Using GetBinaryType (WinNT only) to determine the type of an executable file
GetBinaryType
..msdn    Add comment     W32 Constants      Translate this page
Determines whether a file is executable, and if so, what type of executable file it is. That last property determines which subsystem an executable file runs under.
Code examples:
Using GetBinaryType (WinNT only) to determine the type of an executable file
Declaration:
BOOL GetBinaryType (
  LPCTSTR lpApplicationName,  // full file path
  LPDWORD lpBinaryType        // binary type information
);
FoxPro declaration:
DECLARE SHORT GetBinaryType IN kernel32;
    STRING    lpApplicationName,;
    INTEGER @ lpBinaryType
Parameters:
lpApplicationName
[in] Pointer to a null-terminated string that contains the full path of the file whose binary type the function shall determine.

lpBinaryType
[out] Pointer to a variable to receive information about the executable type of the file specified by lpApplicationName.
Return value:
If the file is executable, the return value is nonzero.
My comment:
WinNT only.
Word Index links for the GetBinaryType :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-08-23 12:00:00
Modified: 2001-11-26 16:03:21
Visited in last 7 days: 35
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.82.81.154)
18 sec.Function: 'BlockInput'
36 sec.Function: 'WinHttpCrackUrl'
55 sec.Function: 'GdipDeleteMatrix'
1.2 min.Function: 'TaskDialogIndirect'
1.48 min.Function: 'LoadResource'
1.77 min.Function: 'UnloadUserProfile'
2.05 min.Function: 'mixerOpen'
2.33 min.Function: 'waveOutGetNumDevs'
2.62 min.Function: 'GdipSetPageUnit'
2.9 min.Function: 'PathFindExtension'
Google
Advertise here!