Unit Win95File |
Classes |
Functions |
GetLongName - Return a complete path name, using the long file name
for all directories and the file name, if possible.
GetShortName - Get the short file name for a long name.
Int21Dispatch - To call an Int 21H DOS call from Windows 95, set up
the registers and then call Int21Dispatch.
VxDCall0 - The GetLongName routine uses the Windows 95 VxD
implementation of Int 21H.
VxDCall1 -
VxDCall2 -
VxDCall3 -
VxDCall4 -
VxDCall5 -
VxDCall6 -
VxDCall7 -
VxDCall8 -
Types |
Constants |
Variables |
Functions |
Return a complete path name, using the long file name for all directories and the file name, if possible. Return the resulting path, or an empty string for an error. If there is an error, set the DOS error code as the GetLastError code.
Get the short name for a long name. Fortunately, Microsoft already has a function to do this. Return an empty string for an error.
Use the Windows 95 Int 21H interface by calling to the VWIN32 VxD. The caller must have set up all the registers before calling Int21Dispatch. The carry bit is not preserved by calling VxDCall, so you need to interpret the returned register values to detect an error.
Actually, all the VxDCall routines point to the same entry point in Kernel32.dll. Different names allow the caller to pass a variable number of arguments.
Types |
Constants |
Variables |