 |
PathGetDriveNumber ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Searches a path for a drive letter within the range of "A" to "Z" and returns the corresponding drive number. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int PathGetDriveNumber(
LPCTSTR lpsz
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER PathGetDriveNumber IN shlwapi;
STRING lpsz
|
 |
 |
 |
| Parameters: |
 |
lpsz
[in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to be searched. |
 |
 |
| Return value: |
 |
| Returns 0 through 25 (corresponding to "A" through "Z") if the path has a drive letter, or -1 otherwise. |
 |
 |
| Word Index links for the PathGetDriveNumber : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-10-29 19:15:39 | | Modified: | 2001-11-26 16:03:52 | Visited in last 7 days: 9 |