SilverScreen Solid Modeler

set_drive

set_drive

Previous topic Next topic  

set_drive

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void set_drive ( int drive, int *numdrives )

 

int  drive;       // disk drive number

int *numdrives;   // address of integer to receive number of drives

 

 




Synopsis

#include "silver.h"

 

The set_drive function sets the current default drive to the number specified by drive . argument: 1 = drive A, 2 = drive B, etc. The number of drives in the system is stored into numdrives .

 

 

Parameters

drive is a number specifying drive, with 1 = drive A, 2 = drive B, 3 = drive C, and so on. numdrives is the address of an integer into which the number of drives in the system is to be stored.

 

 

Return Value

none.

 

 

See Also

get_drive