Long Filenames Functions

The long filename functions match the following Win32 file management functions.

Long filename function Win32 function
Interrupt 21h Function 5704h
Get Last Access Date and Time
GetFileTime
Interrupt 21h Function 5705h
Set Last Access Date and Time
SetFileTime
Interrupt 21h Function 5706h
Get Creation Date and Time
GetFileTime
Interrupt 21h Function 5707h
Set Creation Date and Time
SetFileTime
Interrupt 21h Function 7139h
Make Directory
CreateDirectory
Interrupt 21h Function 713Ah
Remove Directory
RemoveDirectory
Interrupt 21h Function 713Bh
Change Directory
SetCurrentDirectory
Interrupt 21h Function 7141h
Delete File
DeleteFile
Interrupt 21h Function 7143h
Get or Set File Attributes
GetFileAttributes, SetFileAttributes
Interrupt 21h Function 7147h
Get Current Directory
GetCurrentDirectory
Interrupt 21h Function 714Eh
Find First File
FindFirstFile
Interrupt 21h Function 714Fh
Find Next File
FindNextFile
Interrupt 21h Function 7156h
Rename File
MoveFile
Interrupt 21h Function 7160h Minor Code 0h
Get Full Path Name
GetFullPathName
Interrupt 21h Function 7160h Minor Code 1h
Get Short Path Name
GetShortPathName
Interrupt 21h Function 7160h Minor Code 2h
Get Long Path Name
No Win32 function equivalent
Interrupt 21h Function 716Ch
Create or Open File
CreateFile, OpenFile
Interrupt 21h Function 71A0h
Get Volume Information
GetVolumeInformation
Interrupt 21h Function 71A1h
Find Close
FindClose
Interrupt 21h Function 71A6h
Get File Info By Handle
GetFileInformationByHandle
Interrupt 21h Function 71A7h Minor Code 0h
File Time To DOS Time
FileTimeToDOSDateTime
Interrupt 21h Function 71A7h Minor Code 1h
DOS Time To File Time
DOSDateTimeToFileTime
Interrupt 21h Function 71A8h
Generate Short Name
No Win32 function equivalent
Interrupt 21h Function 71A9h
Server Create or Open File
No Win32 function equivalent
Interrupt 21h Function 71AAh Minor Code 0h
Create Subst
No Win32 function equivalent
Interrupt 21h Function 71AAh Minor Code 1h
Terminate Subst
No Win32 function equivalent
Interrupt 21h Function 71AAh Minor Code 2h
Query Subst
No Win32 function equivalent

Note that Interrupt 21h Functions 71A2h through 71A5h exist, but they are for internal use by Windows 95 only.