Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1c9b13e9
Commit
1c9b13e9
authored
Jun 05, 1999
by
Robert W Hall
Committed by
Alexandre Julliard
Jun 05, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 2 stubs.
parent
7b5fcc72
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
15 deletions
+49
-15
winnetwk.h
include/winnetwk.h
+16
-13
wnet.h
include/wnet.h
+3
-0
network.c
misc/network.c
+28
-0
mpr.spec
relay32/mpr.spec
+2
-2
No files found.
include/winnetwk.h
View file @
1c9b13e9
...
...
@@ -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
...
...
include/wnet.h
View file @
1c9b13e9
...
...
@@ -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
...
...
misc/network.c
View file @
1c9b13e9
...
...
@@ -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]
*/
...
...
relay32/mpr.spec
View file @
1c9b13e9
...
...
@@ -35,8 +35,8 @@ type win32
0032 stub NPSDeviceGetNumberA
0033 stub NPSDeviceGetStringA
0034 stdcall NPSGetProviderHandleA(long) NPSGetProviderHandleA
0035 st
ub
NPSGetProviderNameA
0036 st
ub
NPSGetSectionNameA
0035 st
dcall NPSGetProviderNameA(long ptr)
NPSGetProviderNameA
0036 st
dcall NPSGetSectionNameA(long ptr)
NPSGetSectionNameA
0037 stub NPSNotifyGetContextA
0038 stub NPSNotifyRegisterA
0039 stub NPSSetCustomTextA
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment