en:docs:mvm:api:18

Differences

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

Link to this comparison view

Next revision
Previous revision
en:docs:mvm:api:18 [2024/05/08 03:03] – created prokusheven:docs:mvm:api:18 [2024/11/07 03:58] (current) prokushev
Line 2: Line 2:
  
 ===== Brief ===== ===== Brief =====
 +
 +Get current directory
  
 ===== Input ===== ===== Input =====
  
 +  * DL = drive number (00h = default, 01h = A:, etc)
 +  * DS:SI -> 64-byte buffer for ASCIZ pathname
  
 ===== Return ===== ===== Return =====
  
 +  * CF clear if successful
 +    * AX = 0100h (undocumented)
 +  * CF set on error
 +    * AX = error code (0Fh) (invalid drive)
  
 ===== Notes ===== ===== Notes =====
  
 +the returned path does not include a drive or the initial backslash
  
-===== See also =====+many Microsoft products for Windows rely on AX being 0100h on success
  
 +===== See also =====
  
  
 +{{page>en:templates:svcapi}}