Added 2 stubs.

oldstable
Robert W Hall 1999-06-05 11:51:40 +00:00 committed by Alexandre Julliard
parent 7b5fcc722f
commit 1c9b13e9d6
4 changed files with 49 additions and 15 deletions

View File

@ -66,19 +66,22 @@ typedef struct {
} NETCONNECTINFOSTRUCT,*LPNETCONNECTINFOSTRUCT;
UINT WINAPI WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
UINT WINAPI WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
#define WNetAddConnection2 WINELIB_NAME_AW(WNetAddConnection2_)
UINT WINAPI WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
UINT WINAPI WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
#define WNetAddConnection3 WINELIB_NAME_AW(WNetAddConnection3_)
UINT WINAPI WNetConnectionDialog1(HWND,DWORD);
UINT WINAPI WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA);
UINT WINAPI WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW);
#define WNetConnectionDialog1 WINELIB_NAME_AW(WNetConnectionDialog1_)
UINT WINAPI MultinetGetErrorTextA(DWORD,DWORD,DWORD);
UINT WINAPI MultinetGetErrorTextW(DWORD,DWORD,DWORD);
#define MultinetGetErrorText WINELIB_NAME_AW(MultinetGetErrorText_)
UINT WINAPI WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
UINT WINAPI WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
#define WNetAddConnection2 WINELIB_NAME_AW(WNetAddConnection2)
UINT WINAPI WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
UINT WINAPI WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
#define WNetAddConnection3 WINELIB_NAME_AW(WNetAddConnection3)
UINT WINAPI WNetConnectionDialog1(HWND,DWORD);
UINT WINAPI WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA);
UINT WINAPI WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW);
#define WNetConnectionDialog1 WINELIB_NAME_AW(WNetConnectionDialog1)
UINT WINAPI MultinetGetErrorTextA(DWORD,DWORD,DWORD);
UINT WINAPI MultinetGetErrorTextW(DWORD,DWORD,DWORD);
#define MultinetGetErrorText WINELIB_NAME_AW(MultinetGetErrorText)
DWORD WINAPI NPSGetSectionNameA(DWORD,LPCSTR*);
DWORD WINAPI NPSGetSectionNameW(DWORD,LPCWSTR*);
#define NPSGetSectionName WINELIB_NAME_AW(NPSGetSectionName)
#define RESOURCETYPE_ANY 0x00000000
#define RESOURCETYPE_DISK 0x00000001

View File

@ -5,6 +5,8 @@
#ifndef __WINE_WNET_H
#define __WINE_WNET_H
#include "winerror.h"
#define WNDN_MKDIR 1
#define WNDN_RMDIR 2
#define WNDN_MVDIR 3
@ -23,6 +25,7 @@
#define WN_OUT_OF_MEMORY 0x000B
#define WN_CANCEL 0x000C
#define WN_CONTINUE 0x000D
#define WN_BAD_HANDLE ERROR_INVALID_HANDLE
#define WN_NOT_CONNECTED 0x0030
#define WN_OPEN_FILES 0x0031
#define WN_BAD_NETNAME 0x0032

View File

@ -767,6 +767,34 @@ DWORD WINAPI NPSGetProviderHandleA(DWORD x) {
return 0;
}
/****************************************************************
* NPSGetProviderNameA [MPR.35]
* 'DWORD x' replaces 'HPROVIDER hProvider'
* FAR omitted in lpszProviderName def
*/
DWORD WINAPI NPSGetProviderNameA(
DWORD x,
LPCSTR * lpszProviderName) {
FIXME_(mpr)("(0x%08lx),stub!\n",x);
/* return WN_SUCCESS;
*/
return WN_BAD_HANDLE;
}
/*****************************************************************
* NPSGetSectionNameA [MPR.36]
* 'DWORD x' replaces 'HPROVIDER hProvider'
* FAR omitted in lpszSectionName def
*/
DWORD WINAPI NPSGetSectionNameA(
DWORD x,
LPCSTR * lpszSectionName) {
FIXME_(mpr)("(0x%08lx),stub!\n",x);
/* return WN_SUCCESS;
*/
return WN_BAD_HANDLE;
}
/*****************************************************************
* WNetCancelConnection232A [MPR.53]
*/

View File

@ -35,8 +35,8 @@ type win32
0032 stub NPSDeviceGetNumberA
0033 stub NPSDeviceGetStringA
0034 stdcall NPSGetProviderHandleA(long) NPSGetProviderHandleA
0035 stub NPSGetProviderNameA
0036 stub NPSGetSectionNameA
0035 stdcall NPSGetProviderNameA(long ptr) NPSGetProviderNameA
0036 stdcall NPSGetSectionNameA(long ptr) NPSGetSectionNameA
0037 stub NPSNotifyGetContextA
0038 stub NPSNotifyRegisterA
0039 stub NPSSetCustomTextA