Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Technical Reference - <b>_fscurdrv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _fsCurDrv()
 Return the current DOS drive
------------------------------------------------------------------------------
 C Prototype

     #include "filesys.api"
     BYTE _fsCurDrv(void)

 Returns

     _fsCurDrv() returns the current DOS drive code, where 0 = A, 1 = B,
     2 = C, etc.

 Description

     This function gets the current DOS drive code.  Please refer to the
     documentation of the DISKNAME() function for more information.

 Examples

     .  The following code fragment illustrates the use of
        _fsCurDrv():

        #include "filesys.api"
        .
        .
        .
        BYTE cDrvName;
        cDrvName = 'a' + _fsCurDrv();

 Files  Library is CLIPPER.LIB, header file is Filesys.api.


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson