en:docs:fapi:dosqcurdir

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:fapi:dosqcurdir [2021/09/17 06:41] prokusheven:docs:fapi:dosqcurdir [2021/12/05 10:59] (current) prokushev
Line 20: Line 20:
   2     B   2     B
   ...   ...
-  +
   * DirPath ([[PBYTE]]) - output : Address of the fully qualified path name of current directory.   * DirPath ([[PBYTE]]) - output : Address of the fully qualified path name of current directory.
   * DirPathLen ([[PUSHORT]]) - input/output : Address of the length of the DirPath buffer. On input, this field contains the length of the directory path buffer in bytes. On output, if an error is returned because the buffer is too small, this field contains the required length.   * DirPathLen ([[PUSHORT]]) - input/output : Address of the length of the DirPath buffer. On input, this field contains the length of the directory path buffer in bytes. On output, if an error is returned because the buffer is too small, this field contains the required length.
Line 44: Line 44:
 For FSDs, the case of the current directory is set according to the DirName passed in, not according to the case of the directories on disk. For example, if the directory "c:\bin" is created and [[DosChDir]] is called with DirName "c:\bin", the current directory returned by DosQCurDir will be "c:\bin". For FSDs, the case of the current directory is set according to the DirName passed in, not according to the case of the directories on disk. For example, if the directory "c:\bin" is created and [[DosChDir]] is called with DirName "c:\bin", the current directory returned by DosQCurDir will be "c:\bin".
  
-Programs running without the NEWFILES bit set are allowed to DosChDir to a non-8.3 filename format directory.+Programs running without the NEWFILES bit set are allowed to [[DosChDir]] to a non-8.3 filename format directory.
  
 [[DosQSysInfo]] must be used by an application to determine the maximum path length supported by OS/2. The returned value should be used to dynamically allocate buffers that are to be used to store paths.  [[DosQSysInfo]] must be used by an application to determine the maximum path length supported by OS/2. The returned value should be used to dynamically allocate buffers that are to be used to store paths.