Esempio n. 1
0
static drive_type dosDoGetDriveType( int drv )
#endif
{
    int         dl;
    drive_type  rc;

    dl = toupper( drv ) - 'A' + 1;
    rc = CheckRemovable( dl );
    if( rc == DRIVE_IS_FIXED ) {
        if( CheckRemote( dl ) ) {
            rc = DRIVE_IS_REMOTE;
        }
    }
    return( rc );

} /* doGetDriveType */
Esempio n. 2
0
/*
 * DoGetDriveType - get the type of drive A-Z
 */
drive_type DoGetDriveType( int drv )
{
    return( CheckRemovable( drv - 'A' + 1 ) );

} /* DoGetDriveType */
Esempio n. 3
0
static drive_type getDriveType( char drv )
{
    return( CheckRemovable( drv - 'A' + 1 ) );
}
Esempio n. 4
0
/*
 * DoGetDriveType - get the type of drive A-Z
 */
drive_type DoGetDriveType( int drv )
{
    return( (drive_type)CheckRemovable( (unsigned char)( drv - 'A' + 1 ) ) );

} /* DoGetDriveType */