Added blank winmm.dll with one stub to try and get bochs working.

svn path=/trunk/; revision=3557
This commit is contained in:
Steven Edwards 2002-09-24 18:45:32 +00:00
parent 2e6e06f683
commit 230dc66a3a
6 changed files with 118 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# $Id: makefile
PATH_TO_TOP = ../..
TARGET_TYPE = dynlink
TARGET_NAME = winmm
TARGET_BASE = 0x777c0000
TARGET_CFLAGS =
TARGET_SDKLIBS = ntdll.a kernel32.a
TARGET_OBJECTS = \
dllmain.o \
misc\stubs.o
include $(PATH_TO_TOP)/rules.mak
include $(TOOLS_PATH)/helper.mk

View file

@ -0,0 +1,36 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS Media API DLL
* FILE: dllmain.c
* PURPOSE: DLL entry
* PROGRAMMERS: Steven Edwards (isolation@users.sourceforge.net)
* REVISIONS:
* SAE 9-24-02 Created
*/
#include <ddk/ntddk.h>
#include <windows.h>
#define NDEBUG
#include <debug.h>
INT STDCALL
DllMain(PVOID hinstDll,
ULONG dwReason,
PVOID reserved)
{
DbgPrint("WINMM: DllMain() called\n");
switch (dwReason)
{
case DLL_PROCESS_ATTACH:
break;
case DLL_PROCESS_DETACH:
break;
}
DbgPrint("WINMM: DllMain() done\n");
return TRUE;
}

View file

@ -0,0 +1,15 @@
/*
The stubs here are totaly wrong so please help a brother out
and fix this shit. sedwards 9-24-02
*/
#include <windows.h>
DECLARE_HANDLE(HWAVEOUT); // mmsystem.h
UINT WINAPI
waveOutReset(HWAVEOUT hWaveOut)
{
DbgPrint("waveOutReset unimplemented\n");
return 1;
}

View file

@ -0,0 +1,4 @@
LIBRARY WINMM.DLL
EXPORTS
; add more exports as needed
waveOutReset@4

View file

@ -0,0 +1,4 @@
LIBRARY WINMM.DLL
EXPORTS
; add more exports as needed
waveOutReset=waveOutReset@4

View file

@ -0,0 +1,38 @@
#include <defines.h>
#include <reactos/resource.h>
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
VS_VERSION_INFO VERSIONINFO
FILEVERSION RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
PRODUCTVERSION RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", RES_STR_COMPANY_NAME
VALUE "FileDescription", "ReactOS MCI API Library\0"
VALUE "FileVersion", RES_STR_FILE_VERSION
VALUE "InternalName", "winmm\0"
VALUE "LegalCopyright", RES_STR_LEGAL_COPYRIGHT
VALUE "OriginalFilename", "winmm.dll\0"
VALUE "ProductName", RES_STR_PRODUCT_NAME
VALUE "ProductVersion", RES_STR_PRODUCT_VERSION
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END