Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
5ef5ead1
Commit
5ef5ead1
authored
Jan 14, 2010
by
Stefan Leichter
Committed by
Alexandre Julliard
Jan 18, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user.exe: Forward WNetGetUser16 to WNetGetUserA of mpr.dll, based on a patch from Andrew Nguyen.
parent
a6573806
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
6 deletions
+23
-6
Makefile.in
dlls/user.exe16/Makefile.in
+1
-1
network.c
dlls/user.exe16/network.c
+20
-3
user.exe16.spec
dlls/user.exe16/user.exe16.spec
+1
-1
winnet16.h
include/wine/winnet16.h
+1
-1
No files found.
dlls/user.exe16/Makefile.in
View file @
5ef5ead1
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
user.exe16
IMPORTS
=
user32 gdi32 kernel32 kernel ntdll
IMPORTS
=
mpr
user32 gdi32 kernel32 kernel ntdll
EXTRADLLFLAGS
=
-Wb
,--subsystem,win16,--main-module,user32.dll,--heap,65520
EXTRARCFLAGS
=
-O
res16
...
...
dlls/user.exe16/network.c
View file @
5ef5ead1
...
...
@@ -30,6 +30,7 @@
#include "windef.h"
#include "winbase.h"
#include "winnetwk.h"
#include "wine/winnet16.h"
#include "wine/debug.h"
...
...
@@ -306,10 +307,26 @@ WORD WINAPI WNetGetCaps16( WORD capability )
/**************************************************************************
* WNetGetUser [USER.516]
*/
WORD
WINAPI
WNetGetUser16
(
LP
CSTR
lpName
,
LP
STR
szUser
,
LPINT16
nBufferSize
)
WORD
WINAPI
WNetGetUser16
(
LPSTR
szUser
,
LPINT16
nBufferSize
)
{
FIXME
(
"(%p, %p, %p): stub
\n
"
,
lpName
,
szUser
,
nBufferSize
);
return
WN16_NOT_SUPPORTED
;
DWORD
lpBufferSize
,
ret
;
if
(
!
szUser
||
!
nBufferSize
)
return
WN16_BAD_POINTER
;
lpBufferSize
=
*
nBufferSize
;
ret
=
WNetGetUserA
(
NULL
,
szUser
,
&
lpBufferSize
);
*
nBufferSize
=
lpBufferSize
;
switch
(
ret
)
{
case
NO_ERROR
:
return
WN16_SUCCESS
;
case
ERROR_MORE_DATA
:
return
WN16_MORE_DATA
;
default:
FIXME
(
"Untranslated return value %d
\n
"
,
ret
);
}
return
ret
;
}
...
...
dlls/user.exe16/user.exe16.spec
View file @
5ef5ead1
...
...
@@ -463,7 +463,7 @@
513 pascal -ret16 WNetGetCaps(word) WNetGetCaps16
514 pascal -ret16 WNetDeviceMode(word) WNetDeviceMode16
515 pascal -ret16 WNetBrowseDialog(word word ptr) WNetBrowseDialog16
516 pascal -ret16 WNetGetUser(ptr ptr
ptr
) WNetGetUser16
516 pascal -ret16 WNetGetUser(ptr ptr) WNetGetUser16
517 pascal -ret16 WNetAddConnection(str str str) WNetAddConnection16
518 pascal -ret16 WNetCancelConnection(str word) WNetCancelConnection16
519 pascal -ret16 WNetGetError(ptr) WNetGetError16
...
...
include/wine/winnet16.h
View file @
5ef5ead1
...
...
@@ -199,7 +199,7 @@ WORD WINAPI WNetGetCaps16(WORD);
* Get User
*/
WORD
WINAPI
WNetGetUser16
(
LP
CSTR
,
LP
STR
,
LPINT16
);
WORD
WINAPI
WNetGetUser16
(
LPSTR
,
LPINT16
);
/*
...
...
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