Commit d30975d5 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Add a stub implementation of mprapi.dll.

parent 427e488b
...@@ -1574,6 +1574,7 @@ dlls/mlang/tests/Makefile ...@@ -1574,6 +1574,7 @@ dlls/mlang/tests/Makefile
dlls/mmdevldr.vxd/Makefile dlls/mmdevldr.vxd/Makefile
dlls/monodebg.vxd/Makefile dlls/monodebg.vxd/Makefile
dlls/mpr/Makefile dlls/mpr/Makefile
dlls/mprapi/Makefile
dlls/msacm32/Makefile dlls/msacm32/Makefile
dlls/msacm32/tests/Makefile dlls/msacm32/tests/Makefile
dlls/msadp32.acm/Makefile dlls/msadp32.acm/Makefile
......
...@@ -80,6 +80,7 @@ BASEDIRS = \ ...@@ -80,6 +80,7 @@ BASEDIRS = \
mmdevldr.vxd \ mmdevldr.vxd \
monodebg.vxd \ monodebg.vxd \
mpr \ mpr \
mprapi \
msacm32 \ msacm32 \
msadp32.acm \ msadp32.acm \
mscms \ mscms \
...@@ -496,6 +497,7 @@ IMPORT_LIBS = \ ...@@ -496,6 +497,7 @@ IMPORT_LIBS = \
mapi32/libmapi32.$(IMPLIBEXT) \ mapi32/libmapi32.$(IMPLIBEXT) \
mlang/libmlang.$(IMPLIBEXT) \ mlang/libmlang.$(IMPLIBEXT) \
mpr/libmpr.$(IMPLIBEXT) \ mpr/libmpr.$(IMPLIBEXT) \
mprapi/libmprapi.$(IMPLIBEXT) \
msacm32/libmsacm32.$(IMPLIBEXT) \ msacm32/libmsacm32.$(IMPLIBEXT) \
mscms/libmscms.$(IMPLIBEXT) \ mscms/libmscms.$(IMPLIBEXT) \
msdmo/libmsdmo.$(IMPLIBEXT) \ msdmo/libmsdmo.$(IMPLIBEXT) \
...@@ -703,6 +705,9 @@ mlang/libmlang.$(IMPLIBEXT): mlang/mlang.spec $(WINEBUILD) ...@@ -703,6 +705,9 @@ mlang/libmlang.$(IMPLIBEXT): mlang/mlang.spec $(WINEBUILD)
mpr/libmpr.$(IMPLIBEXT): mpr/mpr.spec $(WINEBUILD) mpr/libmpr.$(IMPLIBEXT): mpr/mpr.spec $(WINEBUILD)
@cd mpr && $(MAKE) libmpr.$(IMPLIBEXT) @cd mpr && $(MAKE) libmpr.$(IMPLIBEXT)
mprapi/libmprapi.$(IMPLIBEXT): mprapi/mprapi.spec $(WINEBUILD)
@cd mprapi && $(MAKE) libmprapi.$(IMPLIBEXT)
msacm32/libmsacm32.$(IMPLIBEXT): msacm32/msacm32.spec $(WINEBUILD) msacm32/libmsacm32.$(IMPLIBEXT): msacm32/msacm32.spec $(WINEBUILD)
@cd msacm32 && $(MAKE) libmsacm32.$(IMPLIBEXT) @cd msacm32 && $(MAKE) libmsacm32.$(IMPLIBEXT)
......
Makefile
libmprapi.def
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = mprapi.dll
IMPORTLIB = libmprapi.$(IMPLIBEXT)
IMPORTS = kernel32
C_SRCS = \
mprapi.c
@MAKE_DLL_RULES@
### Dependencies:
/*
* Copyright (C) 2006 Dmitry Timoshkov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "mprapi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(mprapi);
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
{
TRACE("(%p, %ld, %p)\n", hinst, reason, reserved);
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
}
return TRUE;
}
BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR server)
{
FIXME("(%s): stub!\n", debugstr_w(server));
return FALSE;
}
@ stub CompressPhoneNumber
@ stub MprAdminBufferFree
@ stub MprAdminConnectionClearStats
@ stub MprAdminConnectionEnum
@ stub MprAdminConnectionGetInfo
@ stub MprAdminDeregisterConnectionNotification
@ stub MprAdminDeviceEnum
@ stub MprAdminEstablishDomainRasServer
@ stub MprAdminGetErrorString
@ stub MprAdminGetPDCServer
@ stub MprAdminInterfaceConnect
@ stub MprAdminInterfaceCreate
@ stub MprAdminInterfaceDelete
@ stub MprAdminInterfaceDeviceGetInfo
@ stub MprAdminInterfaceDeviceSetInfo
@ stub MprAdminInterfaceDisconnect
@ stub MprAdminInterfaceEnum
@ stub MprAdminInterfaceGetCredentials
@ stub MprAdminInterfaceGetCredentialsEx
@ stub MprAdminInterfaceGetHandle
@ stub MprAdminInterfaceGetInfo
@ stub MprAdminInterfaceQueryUpdateResult
@ stub MprAdminInterfaceSetCredentials
@ stub MprAdminInterfaceSetCredentialsEx
@ stub MprAdminInterfaceSetInfo
@ stub MprAdminInterfaceTransportAdd
@ stub MprAdminInterfaceTransportGetInfo
@ stub MprAdminInterfaceTransportRemove
@ stub MprAdminInterfaceTransportSetInfo
@ stub MprAdminInterfaceUpdatePhonebookInfo
@ stub MprAdminInterfaceUpdateRoutes
@ stub MprAdminIsDomainRasServer
@ stdcall MprAdminIsServiceRunning(wstr)
@ stub MprAdminMIBBufferFree
@ stub MprAdminMIBEntryCreate
@ stub MprAdminMIBEntryDelete
@ stub MprAdminMIBEntryGet
@ stub MprAdminMIBEntryGetFirst
@ stub MprAdminMIBEntryGetNext
@ stub MprAdminMIBEntrySet
@ stub MprAdminMIBServerConnect
@ stub MprAdminMIBServerDisconnect
@ stub MprAdminPortClearStats
@ stub MprAdminPortDisconnect
@ stub MprAdminPortEnum
@ stub MprAdminPortGetInfo
@ stub MprAdminPortReset
@ stub MprAdminRegisterConnectionNotification
@ stub MprAdminSendUserMessage
@ stub MprAdminServerConnect
@ stub MprAdminServerDisconnect
@ stub MprAdminServerGetCredentials
@ stub MprAdminServerGetInfo
@ stub MprAdminServerSetCredentials
@ stub MprAdminTransportCreate
@ stub MprAdminTransportGetInfo
@ stub MprAdminTransportSetInfo
@ stub MprAdminUpgradeUsers
@ stub MprAdminUserClose
@ stub MprAdminUserGetInfo
@ stub MprAdminUserOpen
@ stub MprAdminUserRead
@ stub MprAdminUserReadProfFlags
@ stub MprAdminUserServerConnect
@ stub MprAdminUserServerDisconnect
@ stub MprAdminUserSetInfo
@ stub MprAdminUserWrite
@ stub MprAdminUserWriteProfFlags
@ stub MprConfigBufferFree
@ stub MprConfigGetFriendlyName
@ stub MprConfigGetGuidName
@ stub MprConfigInterfaceCreate
@ stub MprConfigInterfaceDelete
@ stub MprConfigInterfaceEnum
@ stub MprConfigInterfaceGetHandle
@ stub MprConfigInterfaceGetInfo
@ stub MprConfigInterfaceSetInfo
@ stub MprConfigInterfaceTransportAdd
@ stub MprConfigInterfaceTransportEnum
@ stub MprConfigInterfaceTransportGetHandle
@ stub MprConfigInterfaceTransportGetInfo
@ stub MprConfigInterfaceTransportRemove
@ stub MprConfigInterfaceTransportSetInfo
@ stub MprConfigServerBackup
@ stub MprConfigServerConnect
@ stub MprConfigServerDisconnect
@ stub MprConfigServerGetInfo
@ stub MprConfigServerInstall
@ stub MprConfigServerRefresh
@ stub MprConfigServerRestore
@ stub MprConfigTransportCreate
@ stub MprConfigTransportDelete
@ stub MprConfigTransportEnum
@ stub MprConfigTransportGetHandle
@ stub MprConfigTransportGetInfo
@ stub MprConfigTransportSetInfo
@ stub MprDomainQueryAccess
@ stub MprDomainQueryRasServer
@ stub MprDomainRegisterRasServer
@ stub MprDomainSetAccess
@ stub MprGetUsrParams
@ stub MprInfoBlockAdd
@ stub MprInfoBlockFind
@ stub MprInfoBlockQuerySize
@ stub MprInfoBlockRemove
@ stub MprInfoBlockSet
@ stub MprInfoCreate
@ stub MprInfoDelete
@ stub MprInfoDuplicate
@ stub MprInfoRemoveAll
@ stub MprPortSetUsage
@ stub MprSetupIpInIpInterfaceFriendlyNameCreate
@ stub MprSetupIpInIpInterfaceFriendlyNameDelete
@ stub MprSetupIpInIpInterfaceFriendlyNameEnum
@ stub MprSetupIpInIpInterfaceFriendlyNameFree
@ stub RasAdminBufferFree
@ stub RasAdminConnectionClearStats
@ stub RasAdminConnectionEnum
@ stub RasAdminConnectionGetInfo
@ stub RasAdminGetErrorString
@ stub RasAdminGetPDCServer
@ stub RasAdminIsServiceRunning
@ stub RasAdminPortClearStats
@ stub RasAdminPortDisconnect
@ stub RasAdminPortEnum
@ stub RasAdminPortGetInfo
@ stub RasAdminPortReset
@ stub RasAdminServerConnect
@ stub RasAdminServerDisconnect
@ stub RasAdminUserGetInfo
@ stub RasAdminUserSetInfo
@ stub RasPrivilegeAndCallBackNumber
...@@ -180,6 +180,7 @@ WINDOWS_INCLUDES = \ ...@@ -180,6 +180,7 @@ WINDOWS_INCLUDES = \
mmddk.h \ mmddk.h \
mmreg.h \ mmreg.h \
mmsystem.h \ mmsystem.h \
mprapi.h \
msacm.h \ msacm.h \
msacmdlg.h \ msacmdlg.h \
msacmdrv.h \ msacmdrv.h \
......
/*
* Copyright (C) 2006 Dmitry Timoshkov
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_MPRAPI_H
#define __WINE_MPRAPI_H
#include <lmcons.h>
#include <ras.h>
#ifdef __cplusplus
extern "C" {
#endif
BOOL APIENTRY MprAdminIsServiceRunning(LPWSTR);
#ifdef __cplusplus
}
#endif
#endif /* __WINE_MPRAPI_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment