Changeset 7480 for trunk/src/kernel32/stubs.cpp
- Timestamp:
- Nov 29, 2001, 11:31:07 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/stubs.cpp
r7457 r7480 1 /* $Id: stubs.cpp,v 1.3 4 2001-11-26 14:54:03 sandervlExp $1 /* $Id: stubs.cpp,v 1.35 2001-11-29 10:31:07 phaller Exp $ 2 2 * 3 3 * Win32 KERNEL32 Subsystem for OS/2 … … 29 29 * Defines * 30 30 *****************************************************************************/ 31 32 33 // For DefineDosDevice34 35 #define DDD_RAW_TARGET_PATH 0x0000000136 #define DDD_REMOVE_DEFINITION 0x0000000237 #define DDD_EXACT_MATCH_ON_REMOVE 0x0000000438 #define DDD_NO_BROADCAST_SYSTEM 0x0000000839 31 40 32 … … 717 709 } 718 710 719 /*****************************************************************************720 * Name : BOOL WIN32API DefineDosDeviceA721 * Purpose : The DefineDosDeviceA function lets an application define,722 * redefine, or delete MS-DOS device names.723 * MS-DOS device names are stored as symbolic links in the object724 * name space in 32-bit versions of Windows. The code that converts725 * an MS-DOS path into a corresponding path in 32-bit versions of726 * Windows uses these symbolic links to map MS-DOS devices and drive727 * letters. The DefineDosDevice function provides a mechanism728 * whereby a Win32-based application can modify the symbolic links729 * used to implement the MS-DOS device name space.730 * Parameters: DWORD dwFlags flags specifying aspects of device definition731 * LPCSTR lpDeviceName pointer to MS-DOS device name string732 * LPCSTR lpTargetPath pointer to MS-DOS or path string for733 * 32-bit Windows734 * Variables :735 * Result : If the function succeeds, the return value is nonzero.736 * If the function fails, the return value is zero737 * Remark :738 * Status : UNTESTED STUB739 *740 * Author : Markus Montkowski [Tha, 1998/05/21 17:46]741 *****************************************************************************/742 743 BOOL WIN32API DefineDosDeviceA( DWORD dwFlags, LPCSTR lpDeviceName,744 LPCSTR lpTargetPath )745 {746 747 dprintf(("KERNEL32: DefineDosDeviceA(%08x,%08x,%08x) not implemented\n",748 dwFlags, lpDeviceName, lpTargetPath749 ));750 751 return (FALSE);752 }753 754 /*****************************************************************************755 * Name : BOOL WIN32API DefineDosDeviceW756 * Purpose : UNICODE version of DefineDosDeviceA757 * Parameters: DWORD dwFlags flags specifying aspects of device definition758 * LPCSTR lpDeviceName pointer to MS-DOS device name string759 * LPCSTR lpTargetPath pointer to MS-DOS or path string for760 * 32-bit Windows761 * Variables :762 * Result : If the function succeeds, the return value is nonzero.763 * If the function fails, the return value is zero764 * Remark :765 * Status : UNTESTED STUB766 *767 * Author : Markus Montkowski [Tha, 1998/05/21 17:46]768 *****************************************************************************/769 770 BOOL WIN32API DefineDosDeviceW( DWORD dwFlags, LPCWSTR lpDeviceName,771 LPCWSTR lpTargetPath )772 {773 774 dprintf(("KERNEL32: DefineDosDeviceW(%08x,%08x,%08x) not implemented\n",775 dwFlags, lpDeviceName, lpTargetPath776 ));777 778 return (FALSE);779 }780 711 781 712 /***************************************************************************** … … 1357 1288 1358 1289 /***************************************************************************** 1359 * Name : DWORD QueryDosDeviceA1360 * Purpose : The QueryDosDevice function lets an application obtain information1361 * about MS-DOS device names. The function can obtain the current1362 * mapping for a particular MS-DOS device name. The function can also1363 * obtain a list of all existing MS-DOS device names.1364 * MS-DOS device names are stored as symbolic links in the Windows NT1365 * object name space. The code that converts an MS-DOS path into a1366 * corresponding Windows NT path uses these symbolic links to map1367 * MS-DOS devices and drive letters. The QueryDosDevice function1368 * provides a mechanism whereby a Win32-based application can query1369 * the names of the symbolic links used to implement the MS-DOS device1370 * namespace as well as the value of each specific symbolic link.1371 * Parameters: LPCTSTR lpDeviceName address of MS-DOS device name string1372 * LPTSTR lpTargetPath ddress of buffer for storing query results1373 * DWORD ucchMax maximum storage capacity of buffer1374 * Variables :1375 * Result : pointer to lpTargetPath1376 * Remark :1377 * Status : UNTESTED STUB1378 *1379 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1380 *****************************************************************************/1381 1382 DWORD WIN32API QueryDosDeviceA(LPCTSTR lpDeviceName,1383 LPTSTR lpTargetPath,1384 DWORD ucchMax)1385 {1386 dprintf(("Kernel32: QueryDosDeviceA(%s,%08xh,%08xh) not implemented.\n",1387 lpDeviceName,1388 lpTargetPath,1389 ucchMax));1390 1391 return (0);1392 }1393 1394 1395 /*****************************************************************************1396 * Name : DWORD QueryDosDeviceW1397 * Purpose : The QueryDosDevice function lets an application obtain information1398 * about MS-DOS device names. The function can obtain the current1399 * mapping for a particular MS-DOS device name. The function can also1400 * obtain a list of all existing MS-DOS device names.1401 * MS-DOS device names are stored as symbolic links in the Windows NT1402 * object name space. The code that converts an MS-DOS path into a1403 * corresponding Windows NT path uses these symbolic links to map1404 * MS-DOS devices and drive letters. The QueryDosDevice function1405 * provides a mechanism whereby a Win32-based application can query1406 * the names of the symbolic links used to implement the MS-DOS device1407 * namespace as well as the value of each specific symbolic link.1408 * Parameters: LPCTSTR lpDeviceName address of MS-DOS device name string1409 * LPTSTR lpTargetPath ddress of buffer for storing query results1410 * DWORD ucchMax maximum storage capacity of buffer1411 * Variables :1412 * Result : pointer to lpTargetPath1413 * Remark :1414 * Status : UNTESTED STUB1415 *1416 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1417 *****************************************************************************/1418 1419 DWORD WIN32API QueryDosDeviceW(LPCWSTR lpDeviceName,1420 LPWSTR lpTargetPath,1421 DWORD ucchMax)1422 {1423 dprintf(("Kernel32: QueryDosDeviceW(%s,%08xh,%08xh) not implemented.\n",1424 lpDeviceName,1425 lpTargetPath,1426 ucchMax));1427 1428 return (0);1429 }1430 1431 1432 /*****************************************************************************1433 1290 * Name : DWORD ReadProcessMemory 1434 1291 * Purpose : The ReadProcessMemory function reads memory in a specified process.
Note:
See TracChangeset
for help on using the changeset viewer.