[<<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.


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson