Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Call this method to search the path for a drive letter within the range of 'A' to 'Z' and return the corresponding drive number.
int GetDriveNumber( ) const;
Return Value
Returns the drive number as an integer from 0 through 25 (corresponding to 'A' through 'Z') if the path has a drive letter, or -1 otherwise.
Remarks
For more information, see PathGetDriveNumber.
Requirements
Header: atlpath.h