Ignore:
Timestamp:
Nov 29, 2001, 11:31:07 AM (24 years ago)
Author:
phaller
Message:

Split stubs.cpp into dosdevice.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/stubs.cpp

    r7457 r7480  
    1 /* $Id: stubs.cpp,v 1.34 2001-11-26 14:54:03 sandervl Exp $
     1/* $Id: stubs.cpp,v 1.35 2001-11-29 10:31:07 phaller Exp $
    22 *
    33 * Win32 KERNEL32 Subsystem for OS/2
     
    2929 * Defines                                                                   *
    3030 *****************************************************************************/
    31 
    32 
    33 // For DefineDosDevice
    34 
    35 #define DDD_RAW_TARGET_PATH         0x00000001
    36 #define DDD_REMOVE_DEFINITION       0x00000002
    37 #define DDD_EXACT_MATCH_ON_REMOVE   0x00000004
    38 #define DDD_NO_BROADCAST_SYSTEM     0x00000008
    3931
    4032
     
    717709}
    718710
    719 /*****************************************************************************
    720  * Name      : BOOL WIN32API DefineDosDeviceA
    721  * 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 object
    724  *             name space in 32-bit versions of Windows. The code that converts
    725  *             an MS-DOS path into a corresponding path in 32-bit versions of
    726  *             Windows uses these symbolic links to map MS-DOS devices and drive
    727  *             letters. The DefineDosDevice function provides a mechanism
    728  *             whereby a Win32-based application can modify the symbolic links
    729  *             used to implement the MS-DOS device name space.
    730  * Parameters: DWORD dwFlags         flags specifying aspects of device definition
    731  *             LPCSTR lpDeviceName   pointer to MS-DOS device name string
    732  *             LPCSTR lpTargetPath   pointer to MS-DOS or path string for
    733  *                                   32-bit Windows
    734  * Variables :
    735  * Result    : If the function succeeds, the return value is nonzero.
    736  *             If the function fails, the return value is zero
    737  * Remark    :
    738  * Status    : UNTESTED STUB
    739  *
    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, lpTargetPath
    749           ));
    750 
    751   return (FALSE);
    752 }
    753 
    754 /*****************************************************************************
    755  * Name      : BOOL WIN32API DefineDosDeviceW
    756  * Purpose   : UNICODE version of DefineDosDeviceA
    757  * Parameters: DWORD dwFlags         flags specifying aspects of device definition
    758  *             LPCSTR lpDeviceName   pointer to MS-DOS device name string
    759  *             LPCSTR lpTargetPath   pointer to MS-DOS or path string for
    760  *                                   32-bit Windows
    761  * Variables :
    762  * Result    : If the function succeeds, the return value is nonzero.
    763  *             If the function fails, the return value is zero
    764  * Remark    :
    765  * Status    : UNTESTED STUB
    766  *
    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, lpTargetPath
    776           ));
    777 
    778   return (FALSE);
    779 }
    780711
    781712/*****************************************************************************
     
    13571288
    13581289/*****************************************************************************
    1359  * Name      : DWORD QueryDosDeviceA
    1360  * Purpose   : The QueryDosDevice function lets an application obtain information
    1361  *             about MS-DOS device names. The function can obtain the current
    1362  *             mapping for a particular MS-DOS device name. The function can also
    1363  *             obtain a list of all existing MS-DOS device names.
    1364  *             MS-DOS device names are stored as symbolic links in the Windows NT
    1365  *             object name space. The code that converts an MS-DOS path into a
    1366  *             corresponding Windows NT path uses these symbolic links to map
    1367  *             MS-DOS devices and drive letters. The QueryDosDevice function
    1368  *             provides a mechanism whereby a Win32-based application can query
    1369  *             the names of the symbolic links used to implement the MS-DOS device
    1370  *             namespace as well as the value of each specific symbolic link.
    1371  * Parameters: LPCTSTR lpDeviceName address of MS-DOS device name string
    1372  *             LPTSTR  lpTargetPath ddress of buffer for storing query results
    1373  *             DWORD   ucchMax       maximum storage capacity of buffer
    1374  * Variables :
    1375  * Result    : pointer to lpTargetPath
    1376  * Remark    :
    1377  * Status    : UNTESTED STUB
    1378  *
    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 QueryDosDeviceW
    1397  * Purpose   : The QueryDosDevice function lets an application obtain information
    1398  *             about MS-DOS device names. The function can obtain the current
    1399  *             mapping for a particular MS-DOS device name. The function can also
    1400  *             obtain a list of all existing MS-DOS device names.
    1401  *             MS-DOS device names are stored as symbolic links in the Windows NT
    1402  *             object name space. The code that converts an MS-DOS path into a
    1403  *             corresponding Windows NT path uses these symbolic links to map
    1404  *             MS-DOS devices and drive letters. The QueryDosDevice function
    1405  *             provides a mechanism whereby a Win32-based application can query
    1406  *             the names of the symbolic links used to implement the MS-DOS device
    1407  *             namespace as well as the value of each specific symbolic link.
    1408  * Parameters: LPCTSTR lpDeviceName address of MS-DOS device name string
    1409  *             LPTSTR  lpTargetPath ddress of buffer for storing query results
    1410  *             DWORD   ucchMax       maximum storage capacity of buffer
    1411  * Variables :
    1412  * Result    : pointer to lpTargetPath
    1413  * Remark    :
    1414  * Status    : UNTESTED STUB
    1415  *
    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 /*****************************************************************************
    14331290 * Name      : DWORD ReadProcessMemory
    14341291 * Purpose   : The ReadProcessMemory function reads memory in a specified process.
Note: See TracChangeset for help on using the changeset viewer.