DOS/32 Advanced DOS Extender - Programmer's Reference


3.41 - DOS function 7160h - Win95 LFN Get File True Name

 

In:

AX = 7160h
CL = subfunction:

00h - canonicalize path
01h - get short (8.3) filename for file
02h - get canonical long filename or path

CH = SUBST expansion flag
DS:ESI = pointer to ASCIIZ filename or path
ES:EDI = 128/261-byte buffer for canonicalized name

Out:

if successful:
CF clear
buffer filled with canonicalized file name

if failed:
CF set
EAX = DOS error code

Notes:

a) Subfunctions 00h and 02h will require the buffer size to be at least 261 bytes, subfunction 01h will require the buffer size to be at least 128 bytes.

 


Copyright © DOS/32 Advanced Team 1996-2002
All Rights Reserved