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
93e268ef
Commit
93e268ef
authored
Mar 01, 2004
by
Juan Lang
Committed by
Alexandre Julliard
Mar 01, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implement NetpNetbiosStatusToApiStatus.
parent
50403097
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
1 deletion
+46
-1
netapi32.c
dlls/netapi32/netapi32.c
+45
-0
netapi32.spec
dlls/netapi32/netapi32.spec
+1
-1
No files found.
dlls/netapi32/netapi32.c
View file @
93e268ef
...
...
@@ -77,3 +77,48 @@ NET_API_STATUS WINAPI NetStatisticsGet(LPWSTR server, LPWSTR service,
TRACE
(
"(%p, %p, %ld, %ld, %p)
\n
"
,
server
,
service
,
level
,
options
,
bufptr
);
return
NERR_InternalError
;
}
DWORD
WINAPI
NetpNetBiosStatusToApiStatus
(
DWORD
nrc
)
{
DWORD
ret
;
switch
(
nrc
)
{
case
NRC_GOODRET
:
ret
=
NO_ERROR
;
break
;
case
NRC_NORES
:
ret
=
NERR_NoNetworkResource
;
break
;
case
NRC_DUPNAME
:
ret
=
NERR_AlreadyExists
;
break
;
case
NRC_NAMTFUL
:
ret
=
NERR_TooManyNames
;
break
;
case
NRC_ACTSES
:
ret
=
NERR_DeleteLater
;
break
;
case
NRC_REMTFUL
:
ret
=
ERROR_REM_NOT_LIST
;
break
;
case
NRC_NOCALL
:
ret
=
NERR_NameNotFound
;
break
;
case
NRC_NOWILD
:
ret
=
ERROR_INVALID_PARAMETER
;
break
;
case
NRC_INUSE
:
ret
=
NERR_DuplicateName
;
break
;
case
NRC_NAMERR
:
ret
=
ERROR_INVALID_PARAMETER
;
break
;
case
NRC_NAMCONF
:
ret
=
NERR_DuplicateName
;
break
;
default:
ret
=
NERR_NetworkError
;
}
return
ret
;
}
dlls/netapi32/netapi32.spec
View file @
93e268ef
...
...
@@ -242,7 +242,7 @@
@ stub NetpNetBiosReceive
@ stub NetpNetBiosReset
@ stub NetpNetBiosSend
@ st
ub NetpNetBiosStatusToApiStatus
@ st
dcall NetpNetBiosStatusToApiStatus(long)
@ stub NetpNtStatusToApiStatus
@ stub NetpOpenConfigData
@ stub NetpPackString
...
...
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