Some stubs added.

This commit is contained in:
Ulrich Weigand 1999-05-17 14:56:23 +00:00 committed by Alexandre Julliard
parent 4b6b1c3fc8
commit 73cf91e00a
2 changed files with 77 additions and 5 deletions

View File

@ -828,6 +828,68 @@ DWORD WINAPI WNetGetUserW(
return WN_NO_NETWORK;
}
/*****************************************************************
* WNetGetProviderNameA [MPR.79]
*/
DWORD WINAPI WNetGetProviderNameA(
DWORD dwNetType,
LPSTR lpProvider,
LPDWORD lpBufferSize)
{
FIXME_(wnet)(": stub\n");
SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK;
}
/*****************************************************************
* WNetGetProviderNameW [MPR.80]
*/
DWORD WINAPI WNetGetProviderNameW(
DWORD dwNetType,
LPWSTR lpProvider,
LPDWORD lpBufferSize)
{
FIXME_(wnet)(": stub\n");
SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK;
}
/*****************************************************************
* WNetUseConnectionA [MPR.100]
*/
DWORD WINAPI WNetUseConnectionA(
HWND hwndOwner,
LPNETRESOURCEA lpNetResource,
LPSTR lpPassword,
LPSTR lpUserID,
DWORD dwFlags,
LPSTR lpAccessName,
LPDWORD lpBufferSize,
LPDWORD lpResult)
{
FIXME_(wnet)(": stub\n");
SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK;
}
/*****************************************************************
* WNetUseConnectionW [MPR.101]
*/
DWORD WINAPI WNetUseConnectionW(
HWND hwndOwner,
LPNETRESOURCEW lpNetResource,
LPWSTR lpPassword,
LPWSTR lpUserID,
DWORD dwFlags,
LPWSTR lpAccessName,
LPDWORD lpBufferSize,
LPDWORD lpResult)
{
FIXME_(wnet)(": stub\n");
SetLastError(WN_NO_NETWORK);
return WN_NO_NETWORK;
}
/*
* FIXME: The following routines should use a private heap ...
@ -863,3 +925,13 @@ BOOL WINAPI MPR_Free( LPVOID lpMem )
return FALSE;
}
/*****************************************************************
* [MPR.25]
*/
BOOL WINAPI _MPR_25( LPBYTE lpMem, INT len )
{
FIXME_(mpr)( "(%p, %d): stub\n", lpMem, len );
return FALSE;
}

View File

@ -25,7 +25,7 @@ type win32
0022 stdcall MPR_Alloc(long) MPR_Alloc
0023 stdcall MPR_ReAlloc(ptr long) MPR_ReAlloc
0024 stdcall MPR_Free(ptr) MPR_Free
0025 stub MPR_25
0025 stdcall MPR_25(ptr long) _MPR_25
0026 stdcall MultinetGetConnectionPerformanceA(ptr ptr) MultinetGetConnectionPerformanceA
0027 stub MultinetGetConnectionPerformanceW
0028 stdcall MultinetGetErrorTextA(long ptr long)MultinetGetErrorTextA
@ -79,8 +79,8 @@ type win32
0076 stub WNetGetLastErrorW
0077 stub WNetGetNetworkInformationA
0078 stub WNetGetNetworkInformationW
0079 stub WNetGetProviderNameA
0080 stub WNetGetProviderNameW
0079 stdcall WNetGetProviderNameA(long ptr ptr) WNetGetProviderNameA
0080 stdcall WNetGetProviderNameW(long ptr ptr) WNetGetProviderNameW
0081 stdcall WNetGetResourceInformationA(ptr ptr ptr ptr) WNetGetResourceInformationA
0082 stub WNetGetResourceInformationW
0083 stub WNetGetResourceParentA
@ -100,8 +100,8 @@ type win32
0097 stub WNetRestoreConnectionW
0098 stub WNetSetConnectionA
0099 stub WNetSetConnectionW
0100 stub WNetUseConnectionA
0101 stub WNetUseConnectionW
0100 stdcall WNetUseConnectionA(long ptr str str long str ptr ptr) WNetUseConnectionA
0101 stdcall WNetUseConnectionW(long ptr wstr wstr long wstr ptr ptr) WNetUseConnectionW
0102 stub WNetVerifyPasswordA
0103 stub WNetVerifyPasswordW