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
c812a625
Commit
c812a625
authored
Oct 04, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Oct 05, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mprapi: Add a stub for MprAdminGetErrorString.
parent
c1de9e23
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
1 deletion
+27
-1
mprapi.c
dlls/mprapi/mprapi.c
+26
-0
mprapi.spec
dlls/mprapi/mprapi.spec
+1
-1
No files found.
dlls/mprapi/mprapi.c
View file @
c812a625
...
...
@@ -45,6 +45,32 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
}
/***********************************************************************
* MprAdminGetErrorString (MPRAPI.@)
*
* Return a unicode string for the given mpr errorcode
*
* PARAMS
* mprerror [i] errorcode, for which a description is requested
* localstr [o] pointer, where a buffer with the error description is returned
*
* RETURNS
* Failure: ERROR_MR_MID_NOT_FOUND, when mprerror is not known
* Success: ERROR_SUCCESS, and in localstr a pointer to a buffer from LocalAlloc,
* which contains the error description.
*
* NOTES
* The caller must free the returned buffer with LocalFree
*
*/
DWORD
APIENTRY
MprAdminGetErrorString
(
DWORD
mprerror
,
LPWSTR
*
localstr
)
{
FIXME
(
"(0x%x/%u, %p): stub!
\n
"
,
mprerror
,
mprerror
,
localstr
);
*
localstr
=
NULL
;
return
ERROR_MR_MID_NOT_FOUND
;
}
/***********************************************************************
* MprAdminIsServiceRunning (MPRAPI.@)
*/
BOOL
APIENTRY
MprAdminIsServiceRunning
(
LPWSTR
server
)
...
...
dlls/mprapi/mprapi.spec
View file @
c812a625
...
...
@@ -6,7 +6,7 @@
@ stub MprAdminDeregisterConnectionNotification
@ stub MprAdminDeviceEnum
@ stub MprAdminEstablishDomainRasServer
@ st
ub MprAdminGetErrorString
@ st
dcall MprAdminGetErrorString(long ptr)
@ stub MprAdminGetPDCServer
@ stub MprAdminInterfaceConnect
@ stub MprAdminInterfaceCreate
...
...
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