[Toc][Index]

DosQSysInfo


Bindings:  C, MASM 

This call returns values of static system variables. 
 DosQSysInfo    (Index, DataBuf, DataBufLen) 
 
 Index (USHORT) - input 
    Ordinal of the system variable to return. 
    Index = 0 indicates maximum path length.  The maximum path length is 
    returned in the first word of the DataBuf. 
 DataBuf (PBYTE) - output 
    Address where the system returns the variable value. 
 DataBufLen (USHORT) - input 
    Length of the data buffer. 
 rc (USHORT) - return 
    Return code descriptions include: 
    0         NO_ERROR 
    87        ERROR_INVALID_PARAMETER 
    111       ERROR_BUFFER_OVERFLOW 
 
 Remarks 
 An OS/2 application may want to reference file objects managed by an 
 installable file system that supports long file names. Because some 
 installable file systems may support longer names than others, an 
 application should issue DosQSysInfo upon initialization. 
 DosQSysInfo returns the maximum path length supported by the file system 
 currently installed. The path length includes the drive specifier (d:), 
 the leading "\" and the trailing null character. 
 The value returned by DosQSysInfo can be used to allocate buffers for 
 storing path names returned by requests, for example, to DosFindFirst and 
 DosFindNext. 

Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs