Changeset 1589 for trunk/src/mpr/MPR.CPP


Ignore:
Timestamp:
Nov 4, 1999, 11:32:36 AM (26 years ago)
Author:
phaller
Message:

Add: undocumented function stubs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mpr/MPR.CPP

    r584 r1589  
    1 /* $Id: MPR.CPP,v 1.4 1999-08-19 16:52:23 phaller Exp $ */
     1/* $Id: MPR.CPP,v 1.5 1999-11-04 10:32:35 phaller Exp $ */
    22
    33/*
     
    2323#include <heapstring.h>
    2424#include <misc.h>
    25 #include "mpr.h"
     25#include <winnetwk.h>
    2626
    2727// Undocumented Stuff
    2828// MPR.DLL of Windows NT
    2929
    30 // MultinetGetConnectionPerformanceA
    31 // MultinetGetConnectionPerformanceW
    3230// MultinetGetErrorTextA
    3331// MultinetGetErrorTextW
     
    6866// WNetSetConnectionA
    6967// WNetSetConnectionW
    70 // WNetSetLastErrorA      PH: implemented
    71 // WNetSetLastErrorW      PH: implemented
    7268// WNetSupportGlobalEnum
    73 // WNetUseConnectionA
    74 // WNetUseConnectionW
    7569
    7670
     
    8680} MPRGLOBALS;
    8781
     82
     83/*****************************************************************************
     84 * Purpose:    The MultinetGetConnectionPerformance finctuion returns information
     85 *             about the expected performance of a connection used to access a
     86 *             network resource.
     87 * Parameters: LPNETRESOURCEA            lpNetResource
     88 *             LPNETCONNECTIONINFOSTRUCT lpNetConnectInfoStruct
     89 * Variables :
     90 * Result    : API-Returncode
     91 * Remark    : not documented
     92 * Status    : UNTESTED
     93 *
     94 * Author    : Patrick Haller [Thu, 1999/11/04 19:55]
     95 *****************************************************************************/
     96
     97ODINFUNCTION2(DWORD,                  MultinetGetConnectionPerformanceA,
     98              LPNETRESOURCEA,         lpNetResource,
     99              LPNETCONNECTINFOSTRUCT, lpNetConnectInfoStruct)
     100{
     101  dprintf(("MPR:MultinetGetConnectionPerformanceA not implemented.\n"));
     102  return (ERROR_NO_NETWORK);
     103}
     104
     105
     106/*****************************************************************************
     107 * Purpose:    The MultinetGetConnectionPerformance finctuion returns information
     108 *             about the expected performance of a connection used to access a
     109 *             network resource.
     110 * Parameters: LPNETRESOURCEW            lpNetResource
     111 *             LPNETCONNECTIONINFOSTRUCT lpNetConnectInfoStruct
     112 * Variables :
     113 * Result    : API-Returncode
     114 * Remark    : not documented
     115 * Status    : UNTESTED
     116 *
     117 * Author    : Patrick Haller [Thu, 1999/11/04 19:55]
     118 *****************************************************************************/
     119
     120ODINFUNCTION2(DWORD,                  MultinetGetConnectionPerformanceW,
     121              LPNETRESOURCEW,         lpNetResource,
     122              LPNETCONNECTINFOSTRUCT, lpNetConnectInfoStruct)
     123{
     124  dprintf(("MPR:MultinetGetConnectionPerformanceW not implemented.\n"));
     125  return (ERROR_NO_NETWORK);
     126}
    88127
    89128
     
    106145 *****************************************************************************/
    107146
    108 ODINFUNCTION4(DWORD, OS2WNetAddConnection2A,
     147ODINFUNCTION4(DWORD, WNetAddConnection2A,
    109148              LPNETRESOURCEA, lpNetResource,
    110149              LPCSTR, lpPassword,
     
    135174 *****************************************************************************/
    136175
    137 ODINFUNCTION4(DWORD, OS2WNetAddConnection2W,
     176ODINFUNCTION4(DWORD, WNetAddConnection2W,
    138177              LPNETRESOURCEW, lpNetResource,
    139178              LPCWSTR, lpPassword,
     
    166205 *****************************************************************************/
    167206
    168 ODINFUNCTION5(DWORD, OS2WNetAddConnection3A,
     207ODINFUNCTION5(DWORD, WNetAddConnection3A,
    169208              HWND, hwndOwner,
    170209              LPNETRESOURCEA, lpNetResource,
     
    197236 *****************************************************************************/
    198237
    199 ODINFUNCTION5(DWORD, OS2WNetAddConnection3W,
     238ODINFUNCTION5(DWORD, WNetAddConnection3W,
    200239              HWND, hwndOwner,
    201240              LPNETRESOURCEW, lpNetResource,
     
    224263 *****************************************************************************/
    225264
    226 ODINFUNCTION3(DWORD, OS2WNetAddConnectionA,
     265ODINFUNCTION3(DWORD, WNetAddConnectionA,
    227266              LPCSTR, lpRemoteName,
    228267              LPCSTR, lpPassword,
     
    249288 *****************************************************************************/
    250289
    251 ODINFUNCTION3(DWORD, OS2WNetAddConnectionW,
     290ODINFUNCTION3(DWORD, WNetAddConnectionW,
    252291              LPCWSTR, lpRemoteName,
    253292              LPCWSTR, lpPassword,
     
    275314 *****************************************************************************/
    276315
    277 ODINFUNCTION3(DWORD, OS2WNetCancelConnection2A,
     316ODINFUNCTION3(DWORD, WNetCancelConnection2A,
    278317              LPTSTR, lpszName,
    279318              DWORD, fdwConnection,
     
    301340 *****************************************************************************/
    302341
    303 ODINFUNCTION3(DWORD, OS2WNetCancelConnection2W,
     342ODINFUNCTION3(DWORD, WNetCancelConnection2W,
    304343              LPWSTR, lpszName,
    305344              DWORD, fdwConnection,
     
    324363 *****************************************************************************/
    325364
    326 ODINFUNCTION2(DWORD, OS2WNetCancelConnectionA,
     365ODINFUNCTION2(DWORD, WNetCancelConnectionA,
    327366              LPTSTR, lpszName,
    328367              BOOL, fForce)
     
    346385 *****************************************************************************/
    347386
    348 ODINFUNCTION2(DWORD, OS2WNetCancelConnectionW,
     387ODINFUNCTION2(DWORD, WNetCancelConnectionW,
    349388              LPWSTR, lpszName,
    350389              BOOL, fForce)
     
    368407 *****************************************************************************/
    369408
    370 ODINFUNCTION1(DWORD, OS2WNetCloseEnum,
     409ODINFUNCTION1(DWORD, WNetCloseEnum,
    371410              HANDLE, hEnum)
    372411{
     
    389428 *****************************************************************************/
    390429
    391 ODINFUNCTION2(DWORD, OS2WNetConnectionDialog,
     430ODINFUNCTION2(DWORD, WNetConnectionDialog,
    392431              HWND, hwnd,
    393432              DWORD, fdwResourceType)
     
    411450 *****************************************************************************/
    412451
    413 ODINFUNCTION2(DWORD, OS2WNetDisconnectDialog,
     452ODINFUNCTION2(DWORD, WNetDisconnectDialog,
    414453              HWND, hwnd,
    415454              DWORD, fdwResourceType)
     
    435474 *****************************************************************************/
    436475
    437 ODINFUNCTION4(DWORD, OS2WNetEnumResourceA,
     476ODINFUNCTION4(DWORD, WNetEnumResourceA,
    438477              HANDLE, hEnum,
    439478              LPDWORD, lpcEntries,
     
    461500 *****************************************************************************/
    462501
    463 ODINFUNCTION4(DWORD, OS2WNetEnumResourceW,
     502ODINFUNCTION4(DWORD, WNetEnumResourceW,
    464503              HANDLE, hEnum,
    465504              LPDWORD, lpcEntries,
     
    486525 *****************************************************************************/
    487526
    488 ODINFUNCTION3(DWORD, OS2WNetGetConnectionA,
     527ODINFUNCTION3(DWORD, WNetGetConnectionA,
    489528              LPTSTR, lpszLocalName,
    490529              LPTSTR, lpszRemoteName,
     
    510549 *****************************************************************************/
    511550
    512 ODINFUNCTION3(DWORD, OS2WNetGetConnectionW,
     551ODINFUNCTION3(DWORD, WNetGetConnectionW,
    513552              LPWSTR, lpszLocalName,
    514553              LPWSTR, lpszRemoteName,
     
    536575 *****************************************************************************/
    537576
    538 ODINFUNCTION5(DWORD, OS2WNetGetLastErrorA,
     577ODINFUNCTION5(DWORD, WNetGetLastErrorA,
    539578              LPDWORD, lpdwErrorCode,
    540579              LPTSTR, lpszDescription,
     
    580619 *****************************************************************************/
    581620
    582 ODINFUNCTION5(DWORD, OS2WNetGetLastErrorW,
     621ODINFUNCTION5(DWORD, WNetGetLastErrorW,
    583622              LPDWORD, lpdwErrorCode,
    584623              LPWSTR, lpszDescription,
     
    630669 *****************************************************************************/
    631670
    632 ODINFUNCTION4(DWORD, OS2WNetGetResourceInformationA,
     671ODINFUNCTION4(DWORD, WNetGetResourceInformationA,
    633672              LPNETRESOURCEA, lpNetResource,
    634673              LPVOID, lpBuffer,
     
    664703 *****************************************************************************/
    665704
    666 ODINFUNCTION4(DWORD, OS2WNetGetResourceInformationW,
     705ODINFUNCTION4(DWORD, WNetGetResourceInformationW,
    667706              LPNETRESOURCEW, lpNetResource,
    668707              LPVOID, lpBuffer,
     
    696735 *****************************************************************************/
    697736
    698 ODINFUNCTION3(DWORD, OS2WNetGetResourceParentA,
     737ODINFUNCTION3(DWORD, WNetGetResourceParentA,
    699738              LPNETRESOURCEA, lpNetResource,
    700739              LPVOID, lpBuffer,
     
    722761 *****************************************************************************/
    723762
    724 ODINFUNCTION3(DWORD, OS2WNetGetResourceParentW,
     763ODINFUNCTION3(DWORD, WNetGetResourceParentW,
    725764              LPNETRESOURCEW, lpNetResource,
    726765              LPVOID, lpBuffer,
     
    748787 *****************************************************************************/
    749788
    750 ODINFUNCTION4(DWORD, OS2WNetGetUniversalNameA,
     789ODINFUNCTION4(DWORD, WNetGetUniversalNameA,
    751790              LPCSTR, lpLocalPath,
    752791              DWORD, dwInfoLevel,
     
    775814 *****************************************************************************/
    776815
    777 ODINFUNCTION4(DWORD, OS2WNetGetUniversalNameW,
     816ODINFUNCTION4(DWORD, WNetGetUniversalNameW,
    778817              LPCWSTR, lpLocalPath,
    779818              DWORD, dwInfoLevel,
     
    800839 *****************************************************************************/
    801840
    802 ODINFUNCTION3(DWORD, OS2WNetGetUserA,
     841ODINFUNCTION3(DWORD, WNetGetUserA,
    803842              LPTSTR, lpszLocalName,
    804843              LPTSTR, lpszUserName,
     
    824863 *****************************************************************************/
    825864
    826 ODINFUNCTION3(DWORD, OS2WNetGetUserW,
     865ODINFUNCTION3(DWORD, WNetGetUserW,
    827866              LPWSTR, lpszLocalName,
    828867              LPWSTR, lpszUserName,
     
    850889 *****************************************************************************/
    851890
    852 ODINFUNCTION5(DWORD, OS2WNetOpenEnumA,
     891ODINFUNCTION5(DWORD, WNetOpenEnumA,
    853892              DWORD, fdwScope,
    854893              DWORD, fdwType,
     
    878917 *****************************************************************************/
    879918
    880 ODINFUNCTION5(DWORD, OS2WNetOpenEnumW,
     919ODINFUNCTION5(DWORD, WNetOpenEnumW,
    881920              DWORD, fdwScope,
    882921              DWORD, fdwType,
     
    904943 *****************************************************************************/
    905944
    906 ODINFUNCTION3(DWORD, OS2WNetSetLastErrorA,
     945ODINFUNCTION3(DWORD, WNetSetLastErrorA,
    907946              DWORD, dwErrorCode,
    908947              LPTSTR, lpszDescription,
     
    930969 *****************************************************************************/
    931970
    932 ODINFUNCTION3(DWORD, OS2WNetSetLastErrorW,
     971ODINFUNCTION3(DWORD, WNetSetLastErrorW,
    933972              DWORD, dwErrorCode,
    934973              LPWSTR, lpszDescription,
     
    941980
    942981
     982/*****************************************************************************
     983 * Purpose:    The WNetUSeConnectionA function is used to establish a connection
     984 *             to a network object, especially for browsing. The function may
     985 *             optionally prompt the user for login or authentification.
     986 * Parameters: HWND           hwndOwner
     987 *             LPNETRESOURCEA lpNetResource
     988 *             LPSTR          lpPassword
     989 *             LPSTR          lpUserID
     990 *             DWORD          dwFlags
     991 *             LPSTR          lpAccessName
     992 *             LPDWORD        lpBufferSize
     993 *             LPDWORD        lpResult
     994 * Variables :
     995 * Result    : API-Returncode
     996 * Remark    : not documented
     997 * Status    : UNTESTED
     998 *
     999 * Author    : Patrick Haller [Thu, 1999/11/04 19:55]
     1000 *****************************************************************************/
     1001
     1002ODINFUNCTION8(DWORD,         WNetUseConnectionA,
     1003              HWND,          hwndOwner,
     1004              LPNETRESOURCEA,lpNetResource,
     1005              LPSTR,         lpPassword,
     1006              LPSTR,         lpUserID,
     1007              DWORD,         dwFlags,
     1008              LPSTR,         lpAccessName,
     1009              LPDWORD,       lpBufferSize,
     1010              LPDWORD,       lpResult)
     1011{
     1012  dprintf(("MPR:WNetUseConnectionA not implemented.\n"));
     1013  return (ERROR_NO_NETWORK);
     1014}
     1015
     1016
     1017/*****************************************************************************
     1018 * Purpose:    The WNetUSeConnectionW function is used to establish a connection
     1019 *             to a network object, especially for browsing. The function may
     1020 *             optionally prompt the user for login or authentification.
     1021 * Parameters: HWND           hwndOwner
     1022 *             LPNETRESOURCEW lpNetResource
     1023 *             LPWSTR         lpPassword
     1024 *             LPWSTR         lpUserID
     1025 *             DWORD          dwFlags
     1026 *             LPWSTR         lpAccessName
     1027 *             LPDWORD        lpBufferSize
     1028 *             LPDWORD        lpResult
     1029 * Variables :
     1030 * Result    : API-Returncode
     1031 * Remark    : not documented
     1032 * Status    : UNTESTED
     1033 *
     1034 * Author    : Patrick Haller [Thu, 1999/11/04 19:55]
     1035 *****************************************************************************/
     1036
     1037ODINFUNCTION8(DWORD,         WNetUseConnectionW,
     1038              HWND,          hwndOwner,
     1039              LPNETRESOURCEW,lpNetResource,
     1040              LPWSTR,        lpPassword,
     1041              LPWSTR,        lpUserID,
     1042              DWORD,         dwFlags  ,
     1043              LPWSTR,        lpAccessName,
     1044              LPDWORD,       lpBufferSize,
     1045              LPDWORD,       lpResult)
     1046{
     1047  dprintf(("MPR:WNetUseConnectionW not implemented.\n"));
     1048  return (ERROR_NO_NETWORK);
     1049}
     1050
Note: See TracChangeset for help on using the changeset viewer.