 |
PathBuildRoot ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Creates a root path from a given drive number. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
LPTSTR PathBuildRoot(
LPTSTR szRoot,
int iDrive
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER PathBuildRoot IN shlwapi;
STRING @ szRoot,;
INTEGER iDrive
|
 |
 |
 |
| Parameters: |
 |
szRoot
[out] Pointer to a string that receives the constructed root path. This buffer must be at least four characters in size.
iDrive
[in] Integer that indicates the desired drive number. It should be between 0 and 25. |
 |
 |
| Return value: |
 |
| Returns the address of the constructed root path. If the call fails for any reason (for example, an invalid drive number), szRoot is returned unchanged. |
 |
 |
| Word Index links for the PathBuildRoot : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-10-29 19:18:37 | | Modified: | 2001-11-26 16:03:53 | Visited in last 7 days: 15 |