en:docs:dos:api:int21:47

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:dos:api:int21:47 [2021/05/01 15:51] – created prokusheven:docs:dos:api:int21:47 [2024/05/11 09:11] (current) prokushev
Line 16: Line 16:
 ===== Input ===== ===== Input =====
  
- AH = 47h +  * AH = 47h 
- DL = drive number (00h = default, 01h = A:, etc) +  DL = drive number (00h = default, 01h = A:, etc) 
- DS:SI -> 64-byte buffer for ASCIZ pathname+  DS:SI -> 64-byte buffer for ASCIZ pathname
  
 ===== Return ===== ===== Return =====
  
- CF clear if successful +  * CF clear if successful 
-     AX = 0100h (undocumented) +    AX = 0100h (undocumented) 
- CF set on error +  CF set on error 
-     AX = error code (0Fh) (see #01680 at AH=59h/BX=0000h)+    AX = error code (0Fh) (see #01680 at AH=59h/BX=0000h)
  
 ===== Notes ===== ===== Notes =====
  
-  the returned path does not include a drive or the initial backslash +the returned path does not include a drive or the initial backslash 
- many Microsoft products for Windows rely on AX being 0100h on success + 
- under the FlashTek X-32 DOS extender, the buffer pointer is in DS:ESI+many Microsoft products for Windows rely on AX being 0100h on success 
 + 
 +under the FlashTek X-32 DOS extender, the buffer pointer is in DS:ESI
                      
 ===== See also ===== ===== See also =====
  
- AH=19h,AH=3Bh,AH=71h,INT 15/AX=DE25h+AH=[[en:docs:dos:api:int21:19|19h]],AH=[[en:docs:dos:api:int21:3b|3Bh]],AH=[[en:docs:dos:api:int21:71|71h]],INT 15/AX=DE25h
  
 ===== Note ===== ===== Note =====