[MPRAPI] Add MprConfigServerConnect stub

This stub is required to make WinXPs ifmon.dll work when the user runs netsh.exe and changes into the interface context.
This commit is contained in:
Eric Kohl
2026-05-01 12:19:15 +02:00
parent 54422db2b8
commit 62537b39b7
2 changed files with 18 additions and 1 deletions

View File

@@ -81,3 +81,20 @@ BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR server)
return FALSE;
}
/***********************************************************************
* MprConfigServerConnect (MPRAPI.@)
*/
DWORD
APIENTRY
MprConfigServerConnect(
_In_ LPWSTR lpwsServerName,
_Out_ HANDLE *phMprConfig)
{
FIXME("(%s %p): stub!\n", debugstr_w(lpwsServerName), phMprConfig);
if (phMprConfig == NULL)
return ERROR_INVALID_PARAMETER;
return ERROR_SUCCESS;
}

View File

@@ -82,7 +82,7 @@
@ stub MprConfigInterfaceTransportRemove
@ stub MprConfigInterfaceTransportSetInfo
@ stub MprConfigServerBackup
@ stub MprConfigServerConnect
@ stdcall MprConfigServerConnect(wstr ptr)
@ stub MprConfigServerDisconnect
@ stub MprConfigServerGetInfo
@ stub MprConfigServerInstall