 |
QueryDosDevice ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Retrieves information about MS-DOS device names. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
DWORD QueryDosDevice(
LPCTSTR lpDeviceName, // MS-DOS device name string
LPTSTR lpTargetPath, // query results buffer
DWORD ucchMax // maximum size of buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER QueryDosDevice IN kernel32;
INTEGER lpDeviceName,;
STRING @ lpTargetPath,;
INTEGER ucchMax
|
 |
 |
 |
| Parameters: |
 |
lpDeviceName
[in] Pointer to an MS-DOS device name string specifying the target of the query.
lpTargetPath
[out] Pointer to a buffer that will receive the result of the query.
ucchMax
[in] Specifies the maximum number of TCHARs that can be stored into the buffer pointed to by lpTargetPath. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the number of TCHARs stored into the buffer pointed to by lpTargetPath. |
 |
 |
| My comment: |
 |
| Windows 98/Me: QueryDosDeviceW is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application. |
 |
 |
| Word Index links for the QueryDosDevice : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-03 19:14:48 | | Modified: | 2002-01-03 19:17:13 | Visited in last 7 days: 21 |