mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 21:04:55 +00:00
mprapi: Add a stub for MprAdminGetErrorString.
This commit is contained in:
parent
c1de9e2380
commit
c812a6253d
|
@ -44,6 +44,32 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* 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.@)
|
* MprAdminIsServiceRunning (MPRAPI.@)
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
@ stub MprAdminDeregisterConnectionNotification
|
@ stub MprAdminDeregisterConnectionNotification
|
||||||
@ stub MprAdminDeviceEnum
|
@ stub MprAdminDeviceEnum
|
||||||
@ stub MprAdminEstablishDomainRasServer
|
@ stub MprAdminEstablishDomainRasServer
|
||||||
@ stub MprAdminGetErrorString
|
@ stdcall MprAdminGetErrorString(long ptr)
|
||||||
@ stub MprAdminGetPDCServer
|
@ stub MprAdminGetPDCServer
|
||||||
@ stub MprAdminInterfaceConnect
|
@ stub MprAdminInterfaceConnect
|
||||||
@ stub MprAdminInterfaceCreate
|
@ stub MprAdminInterfaceCreate
|
||||||
|
|
Loading…
Reference in a new issue