Commit 77afd6c4 authored by Alexandre Julliard's avatar Alexandre Julliard

Made some more spec file entries optional or unnecessary.

Fixed a few DLLName/DLLFileName mismatches.
parent cf5188b6
......@@ -141,7 +141,7 @@ LINTS = $(C_SRCS:.c=.ln)
$(WINDRES) -i $< -o $@
.spec.spec.c:
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -spec $<
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -M $(MODULE) -spec $<
.spec.spec.def:
$(LDPATH) $(WINEBUILD) $(DEFS) -o $@ -def $<
......
name advapi32
@ stdcall AbortSystemShutdownA(ptr) AbortSystemShutdownA
@ stdcall AbortSystemShutdownW(ptr) AbortSystemShutdownW
@ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck
......
name avicap32
@ stub capCreateCaptureWindowA
@ stub capCreateCaptureWindowW
@ stdcall capGetDriverDescriptionA(long ptr long ptr long) capGetDriverDescriptionA
......
name avifil32
@ stub AVIBuildFilter
@ stub AVIBuildFilterA
@ stub AVIBuildFilterW
......
name avifile
type win16
owner avifil32
# I'm just using "long" instead of "ptr" for the interface pointers,
# because they are 32-bit pointers, not converted to 16-bit format,
# but the app doesn't really need to know, it should never need to
......
name comcat
init COMCAT_DllEntryPoint
@ stdcall DllCanUnloadNow() COMCAT_DllCanUnloadNow
......
name comctl32
init COMCTL32_LibMain
# Functions exported by the Win95 comctl32.dll
......
name comdlg32
init COMDLG32_DllEntryPoint
@ stdcall ChooseColorA(ptr) ChooseColorA
......
name commdlg
type win16
owner comdlg32
1 pascal16 GetOpenFileName(segptr) GetOpenFileName16
2 pascal16 GetSaveFileName(segptr) GetSaveFileName16
5 pascal16 ChooseColor(ptr) ChooseColor16
......
# Old C runtime library. All functions provided by msvcrt
name crtdll
init CRTDLL_Init
@ forward ??2@YAPAXI@Z msvcrt.??2@YAPAXI@Z
......@@ -527,4 +526,3 @@ init CRTDLL_Init
@ forward wscanf msvcrt.wscanf
@ forward _itow msvcrt._itow
@ forward _ltow msvcrt._ltow
name crypt32
@ stub CertAddCRLContextToStore
@ stub CertAddCTLContextToStore
@ stub CertAddCertificateContextToStore
......
name dciman32
@ stub DCIBeginAccess
@ stdcall DCICloseProvider(long) DCICloseProvider
@ stub DCICreateOffscreen
......
name ddraw
init DDRAW_DllMain
@ stub DDHAL32_VidMemAlloc
......
name devenum
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
......
name dinput
init Init
@ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA
......
name dinput8
@ stdcall DirectInput8Create(long long ptr ptr ptr) DirectInput8Create
@ stdcall DllCanUnloadNow() DINPUT8_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) DINPUT8_DllGetClassObject
......
# First DirectPlay dll. Replaced by dplayx.dll.
name dplay
@ forward DirectPlayCreate dplayx.DirectPlayCreate
@ forward DirectPlayEnumerate dplayx.DirectPlayEnumerate
name dplayx
init DPLAYX_LibMain
1 stdcall DirectPlayCreate(ptr ptr ptr) DirectPlayCreate
......
name dsound
0 stub DirectSoundUnknown
1 stdcall DirectSoundCreate(ptr ptr ptr) DirectSoundCreate8
2 stdcall DirectSoundEnumerateA(ptr ptr) DirectSoundEnumerateA
......
name dispdib
type win16
owner gdi32
1 pascal16 DisplayDib(ptr ptr word) DisplayDib
name gdi
type win16
heap 65488 # 65536 - 16 (instance data) - 32 (stock objects)
file gdi.exe
owner gdi32
heap 65520
rsrc version16.res
1 pascal SetBkColor(word long) SetBkColor16
......
name gdi32
init MAIN_GdiInit
# ordinal exports
......
name wing
type win16
owner gdi32
1001 pascal16 WinGCreateDC() WinGCreateDC16
1002 pascal16 WinGRecommendDIBFormat(ptr) WinGRecommendDIBFormat16
1003 pascal16 WinGCreateBitmap(word ptr ptr) WinGCreateBitmap16
......
name glu32
@ stdcall gluLookAt(double double double double double double double double double) wine_gluLookAt
@ stdcall gluOrtho2D(double double double double) wine_gluOrtho2D
@ stdcall gluPerspective(double double double double) wine_gluPerspective
......
name icmp
@ stdcall IcmpCloseHandle(ptr) IcmpCloseHandle
@ stdcall IcmpCreateFile() IcmpCreateFile
@ stub IcmpParseReplies
......@@ -8,5 +6,3 @@ name icmp
@ stub do_echo_rep
@ stub do_echo_req
@ stub register_icmp
name imagehlp
init IMAGEHLP_LibMain
@ stdcall BindImage(str str str) BindImage
......
name imm
type win16
owner imm32
4 stub IMMGETDEFAULTIMEWND
7 stub IMMGETDESCRIPTIONA
8 stub IMMGETIMEFILENAMEA
......
name imm32
@ stdcall ImmAssociateContext(long long) ImmAssociateContext
@ stdcall ImmConfigureIMEA(long long long ptr) ImmConfigureIMEA
@ stdcall ImmConfigureIMEW(long long long ptr) ImmConfigureIMEW
......
name comm
type win16
owner kernel32
1 stub INICOM
2 stub SETCOM
3 stub SETQUE
......@@ -21,4 +17,3 @@ owner kernel32
19 stub COMMWRITESTRING
20 stub READCOMMSTRING
100 stub ENABLENOTIFICATION
name kernel32
init MAIN_KernelInit
# Functions exported by the Win95 kernel32.dll
......
name kernel
type win16
file krnl386.exe
owner kernel32
rsrc version16.res
# 1-207 are the basic functions, those are (with minor variations)
......
# summary: resource modification dll
#
name stress
type win16
owner kernel32
2 pascal AllocMem(long) AllocMem
3 pascal FreeAllMem() FreeAllMem
6 pascal AllocFileHandles(word) AllocFileHandles
......
name system
type win16
owner kernel32
1 pascal InquireSystem(word word) InquireSystem16
2 pascal16 CreateSystemTimer(word segptr) WIN16_CreateSystemTimer
3 pascal16 KillSystemTimer(word) SYSTEM_KillSystemTimer
......
name toolhelp
type win16
owner kernel32
50 pascal16 GlobalHandleToSel(word) GlobalHandleToSel16
51 pascal16 GlobalFirst(ptr word) GlobalFirst16
52 pascal16 GlobalNext(ptr word) GlobalNext16
......
name win87em
type win16
owner kernel32
1 pascal -register _fpMath() WIN87_fpmath
3 pascal16 __WinEm87Info(ptr word) WIN87_WinEm87Info
4 pascal16 __WinEm87Restore(ptr word) WIN87_WinEm87Restore
......
name windebug
type win16
owner kernel32
1 stub WINDEBUG
2 stub WEP
3 pascal -register WinNotify() WinNotify16
name wprocs
type win16
owner kernel32
# Interrupt vectors 0-255 are ordinals 100-355
# The '-interrupt' keyword takes care of the flags pushed on the stack by the interrupt
117 pascal -interrupt INT_Int11Handler() INT_Int11Handler
......
name lz32
@ stdcall CopyLZFile(long long) CopyLZFile
@ stdcall GetExpandedNameA(str ptr) GetExpandedNameA
@ stdcall GetExpandedNameW(wstr ptr) GetExpandedNameW
......
name lzexpand
type win16
owner lz32
1 pascal LZCopy(word word) LZCopy16
2 pascal16 LZOpenFile(str ptr word) LZOpenFile16
3 pascal16 LZInit(word) LZInit16
......
name mapi32
@ stub BMAPIAddress
@ stub BMAPIDetails
@ stub BMAPIFindNext
......
name mpr
# ordinal exports
1 stub @
2 stub @
......
name imaadp32
file imaadp32.acm
@ stdcall DriverProc (long long long long long) ADPCM_DriverProc
name msacm
type win16
owner msacm32
1 stub WEP
2 stub DRIVERPROC
3 stub ___EXPORTEDSTUB
......
name msacm32
init MSACM32_LibMain
@ stdcall acmDriverAddA(ptr long long long long) acmDriverAddA
......
name msadp32
file msadp32.acm
@ stdcall DriverProc (long long long long long) ADPCM_DriverProc
name msg711
file msg711.acm
@ stdcall DriverProc(long long long long long) G711_DriverProc
name winemp3
file winemp3.acm
@ stdcall DriverProc(long long long long long) MPEG3_DriverProc
name msdmo
@ stub DMOEnum
@ stub DMOGetName
@ stub DMOGetTypes
......@@ -15,4 +13,3 @@ name msdmo
@ stub MoDuplicateMediaType
@ stub MoFreeMediaType
@ stub MoInitMediaType
name msimg32
@ stdcall AlphaBlend(long long long long long long long long long long long) AlphaBlend
@ stub DllInitialize
@ stdcall GradientFill(long ptr long ptr long long) GradientFill
......
name msisys
file msisys.ocx
init MSISYS_DllMain
@ stdcall DllCanUnloadNow() MSISYS_DllCanUnloadNow
......
name msnet32
1 stub @
2 stub @
3 stub @
......@@ -96,4 +94,3 @@ name msnet32
94 stub @
95 stub @
96 stub @
name msrle32
@ stub DriverProc #(long long long long long)
# msvcrt.dll - MS VC++ Run Time Library
name msvcrt
init MSVCRT_Init
@ cdecl $I10_OUTPUT() MSVCRT_I10_OUTPUT
......
# msvcrt20.dll - MS VC++ Run Time Library
name msvcrt20
@ stub ??0Iostream_init@@QAE@AAVios@@H@Z #
@ stub ??0Iostream_init@@QAE@XZ #
@ stub ??0filebuf@@QAE@ABV0@@Z #
......
name msvfw32
# Yes, ICCompress,ICDecompress,MCIWnd* and ICDraw* are cdecl (VFWAPIV).
# The rest is stdcall (VFWAPI) however. -Marcus Meissner, 990124
......
name msvideo
type win16
owner msvfw32
2 pascal VideoForWindowsVersion() VideoForWindowsVersion
20 stub VIDEOGETNUMDEVS
21 stub VIDEOGETERRORTEXT
......
name netapi32
init NETAPI32_LibMain
1 stdcall Netbios(ptr) Netbios
name ntdll
#note that the Zw... functions are alternate names for the
#Nt... functions. (see www.sysinternals.com for details)
#if you change a Nt.. function DON'T FORGET to change the
......
name compobj
type win16
owner ole32
1 pascal CoBuildVersion() CoBuildVersion
2 pascal CoInitialize(long) CoInitialize16
3 pascal CoUninitialize() CoUninitialize16
......
name ole2
type win16
owner ole32
1 pascal OleBuildVersion() OleBuildVersion
2 pascal OleInitialize(ptr) OleInitialize
3 pascal OleUninitialize() OleUninitialize
......
name ole2conv
type win16
owner ole32
1 stub GETFILTERINFO
2 stub IMPORTGR
3 stub GETFILTERPREF
......
name ole2nls
type win16
owner ole32
1 pascal GetUserDefaultLCID() GetUserDefaultLCID16
2 pascal GetSystemDefaultLCID() GetSystemDefaultLCID16
3 pascal16 GetUserDefaultLangID() GetUserDefaultLangID16
......
name ole2prox
type win16
owner ole32
1 stub DLLGETCLASSOBJECT
#2 WEP
#3 ___EXPORTEDSTUB
name ole2thk
type win16
owner ole32
1 stub WEP
2 stub ROT16_ISRUNNING16
3 stub ISWIN32SHANDLE
......
name ole32
init OLE32_DllEntryPoint
1 stub BindMoniker # stdcall (ptr long ptr ptr) return 0,ERR_NOTIMPLEMENTED
......
# Compound Storage DLL.
# (FIXME: some methods are commented out. Commenting them in _WILL_
# result in dataloss. Do it at your own risk.)
name storage
type win16
owner ole32
1 pascal StgCreateDocFileA(str long long ptr) StgCreateDocFile16
2 stub StgCreateDocFileOnILockBytes
......
name ole2disp
type win16
owner oleaut32
1 stub DLLGETCLASSOBJECT
2 pascal SysAllocString(str) SysAllocString16
3 pascal SysReallocString(ptr str) SysReAllocString16
......
name oleaut32
1 stdcall DllGetClassObject(ptr ptr ptr) OLEAUT32_DllGetClassObject
2 stdcall SysAllocString(wstr) SysAllocString
3 stdcall SysReAllocString(ptr wstr) SysReAllocString
......
name typelib
type win16
owner oleaut32
2 stub CREATETYPELIB
3 pascal LoadTypeLib(ptr ptr) LoadTypeLib16
4 stub LHASHVALOFNAMESYS
......
name olecli
type win16
owner olecli32
#1 WEP
2 stub OLEDELETE
3 stub OLESAVETOSTREAM
......
name olecli32
1 stub WEP
2 stub OleDelete
3 forward OleSaveToStream ole32.OleSaveToStream
......
name oledlg
1 stdcall OleUIAddVerbMenuA(ptr str long long long long long long ptr) OleUIAddVerbMenuA
2 stdcall OleUICanConvertOrActivateAs(ptr long long) OleUICanConvertOrActivateAs
3 stdcall OleUIInsertObjectA(ptr) OleUIInsertObjectA
......
name olepro32
248 forward OleIconToCursor OLEAUT32.OleIconToCursor
249 forward OleCreatePropertyFrameIndirect OLEAUT32.OleCreatePropertyFrameIndirect
250 forward OleCreatePropertyFrame OLEAUT32.OleCreatePropertyFrame
......
name olesvr
type win16
owner olesvr32
#1 WEP
2 pascal OleRegisterServer(str ptr ptr word word) OleRegisterServer16
3 pascal OleRevokeServer(long) OleRevokeServer16
......
name olesvr32
1 stub WEP
2 stdcall OleRegisterServer(str ptr ptr long long) OleRegisterServer
3 stub OleRevokeServer
......
name opengl32
init OpenGL32_Init
@ stdcall wglCreateContext(long) wglCreateContext
......
name psapi
@ stdcall EmptyWorkingSet(long) EmptyWorkingSet
@ stdcall EnumDeviceDrivers(ptr long ptr) EnumDeviceDrivers
@ stdcall EnumProcessModules(long ptr long ptr) EnumProcessModules
......
name qcap
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
name quartz
@ stub AMGetErrorTextA
@ stub AMGetErrorTextW
@ stub AmpFactorToDB
......@@ -8,4 +6,3 @@ name quartz
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
name rasapi16
type win16
owner rasapi32
#1 stub WEP
#2 stub DLLENTRYPOINT
3 stub RNA1632_THUNKDATA16
......
name rasapi32
1 stub RasAutodialAddressToNetwork
2 stub RasAutodialEntryToNetwork
3 stub RasConnectionNotificationA
......
name riched32
init RICHED32_LibMain
2 stdcall DllGetVersion (ptr) RICHED32_DllGetVersion
name rpcrt4
init RPCRT4_LibMain
@ stub DceErrorInqTextA
......
name serialui
init SERIALUI_LibMain
2 stdcall EnumPropPages(ptr ptr ptr) SERIALUI_EnumPropPages
......
name setupapi
@ stub AddMiniIconToList
@ stub AddTagToGroupOrderListEntry
@ stub AppendStringToMultiSz
......
name setupx
type win16
owner setupapi
1 stub WEP
2 pascal16 IpOpen(str ptr) IpOpen16
3 stub IpOpenAppend #(str word)
......
name shdocvw
# ordinal exports
101 stub @
102 stub @
......
name shell
type win16
owner shell32
rsrc version16.res
1 pascal RegOpenKey(long str ptr) RegOpenKey16
......
name shell32
init Shell32LibMain
# Functions exported by the Win95 shell32.dll
......
name shfolder
@ forward SHGetFolderPathA shell32.SHGetFolderPathA
@ forward SHGetFolderPathW shell32.SHGetFolderPathW
name shlwapi
init SHLWAPI_LibMain
1 stdcall @(str ptr) SHLWAPI_1
......
name snmpapi
init SNMPAPI_DllMain
@ stub SnmpSvcAddrIsIpx
......
name sti
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
......
name tapi32
@ stdcall lineAccept(long str long) lineAccept
@ stdcall lineAddProvider(str long ptr) lineAddProvider
@ stdcall lineAddToConference(long long) lineAddToConference
......
name ttydrv
init TTYDRV_Init
# GDI driver
......
name twain_32
init TWAIN_LibMain
@ stdcall DSM_Entry(ptr ptr long long long ptr) DSM_Entry
name url
@ stub AddMIMEFileTypesPS
@ stub AutodialHookCallback
@ stub DllCanUnloadNow
......
name urlmon
1 stub CDLGetLongPathNameA
2 stub CDLGetLongPathNameW
@ stub AsyncGetClassBits
......@@ -76,4 +74,3 @@ name urlmon
@ stdcall UrlMkSetSessionOption(long ptr long long) UrlMkSetSessionOption
@ stub WriteHitLogging
@ stub ZonesReInit
name ddeml
type win16
owner user32
2 pascal16 DdeInitialize(ptr segptr long long) DdeInitialize16
3 pascal16 DdeUninitialize(long) DdeUninitialize16
4 pascal DdeConnectList(long word word word ptr) DdeConnectList16
......
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