GetDrive
- Updated2023-02-21
- 1 minute(s) read
GetDrive
int GetDrive (int *currentDriveNumber, int *numberOfDrives);
Purpose
Gets the current default drive number and the total number of logical drives in the system.
Parameters
Output | ||
Name | Type | Description |
currentDriveNumber | int | The drive number of the new default drive. The mapping between the drive number and the logical drive letter is 0 = A, 1 = B, and so on. |
numberOfDrives | int | The total number of drives in the system. The number of drives includes floppy disk drives, hard disk drives, RAM disks, and networked drives. |
Return Value
Name | Type | Description | ||||||||||||
result | int | The result of the call.
|
Additional Information
Library: Utility Library
Include file: utility.h
LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later