Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
77afd6c4
Commit
77afd6c4
authored
Jun 21, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
parent
cf5188b6
Hide whitespace changes
Inline
Side-by-side
Showing
146 changed files
with
162 additions
and
533 deletions
+162
-533
Make.rules.in
Make.rules.in
+1
-1
advapi32.spec
dlls/advapi32/advapi32.spec
+0
-2
avicap32.spec
dlls/avicap32/avicap32.spec
+0
-2
avifil32.spec
dlls/avifil32/avifil32.spec
+0
-2
avifile.spec
dlls/avifil32/avifile.spec
+0
-4
comcat.spec
dlls/comcat/comcat.spec
+0
-1
comctl32.spec
dlls/comctl32/comctl32.spec
+0
-1
comdlg32.spec
dlls/commdlg/comdlg32.spec
+0
-1
commdlg.spec
dlls/commdlg/commdlg.spec
+0
-4
crtdll.spec
dlls/crtdll/crtdll.spec
+0
-2
crypt32.spec
dlls/crypt32/crypt32.spec
+0
-2
dciman32.spec
dlls/dciman32/dciman32.spec
+0
-2
ddraw.spec
dlls/ddraw/ddraw.spec
+0
-1
devenum.spec
dlls/devenum/devenum.spec
+0
-2
dinput.spec
dlls/dinput/dinput.spec
+0
-1
dinput8.spec
dlls/dinput8/dinput8.spec
+0
-2
dplay.spec
dlls/dplay/dplay.spec
+0
-1
dplayx.spec
dlls/dplayx/dplayx.spec
+0
-1
dsound.spec
dlls/dsound/dsound.spec
+0
-2
dispdib.spec
dlls/gdi/dispdib.spec
+0
-4
gdi.exe.spec
dlls/gdi/gdi.exe.spec
+1
-5
gdi32.spec
dlls/gdi/gdi32.spec
+0
-1
wing.spec
dlls/gdi/wing.spec
+0
-4
glu32.spec
dlls/glu32/glu32.spec
+0
-2
icmp.spec
dlls/icmp/icmp.spec
+0
-4
imagehlp.spec
dlls/imagehlp/imagehlp.spec
+0
-1
imm.spec
dlls/imm32/imm.spec
+0
-4
imm32.spec
dlls/imm32/imm32.spec
+0
-2
comm.spec
dlls/kernel/comm.spec
+0
-5
kernel32.spec
dlls/kernel/kernel32.spec
+0
-1
krnl386.exe.spec
dlls/kernel/krnl386.exe.spec
+0
-3
stress.spec
dlls/kernel/stress.spec
+0
-4
system.spec
dlls/kernel/system.spec
+0
-4
toolhelp.spec
dlls/kernel/toolhelp.spec
+0
-4
win87em.spec
dlls/kernel/win87em.spec
+0
-4
windebug.spec
dlls/kernel/windebug.spec
+0
-4
wprocs.spec
dlls/kernel/wprocs.spec
+0
-4
lz32.spec
dlls/lzexpand/lz32.spec
+0
-2
lzexpand.spec
dlls/lzexpand/lzexpand.spec
+0
-4
mapi32.spec
dlls/mapi32/mapi32.spec
+0
-2
mpr.spec
dlls/mpr/mpr.spec
+0
-2
imaadp32.acm.spec
dlls/msacm/imaadp32/imaadp32.acm.spec
+0
-3
msacm.spec
dlls/msacm/msacm.spec
+0
-4
msacm32.spec
dlls/msacm/msacm32.spec
+0
-1
msadp32.acm.spec
dlls/msacm/msadp32/msadp32.acm.spec
+0
-3
msg711.acm.spec
dlls/msacm/msg711/msg711.acm.spec
+0
-3
winemp3.acm.spec
dlls/msacm/winemp3/winemp3.acm.spec
+0
-3
msdmo.spec
dlls/msdmo/msdmo.spec
+0
-3
msimg32.spec
dlls/msimg32/msimg32.spec
+0
-2
msisys.ocx.spec
dlls/msisys/msisys.ocx.spec
+0
-2
msnet32.spec
dlls/msnet32/msnet32.spec
+0
-3
msrle32.spec
dlls/msrle32/msrle32.spec
+0
-3
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+0
-1
msvcrt20.spec
dlls/msvcrt20/msvcrt20.spec
+0
-2
msvfw32.spec
dlls/msvideo/msvfw32.spec
+0
-2
msvideo.spec
dlls/msvideo/msvideo.spec
+0
-4
netapi32.spec
dlls/netapi32/netapi32.spec
+0
-2
ntdll.spec
dlls/ntdll/ntdll.spec
+0
-2
odbc32.spec
dlls/odbc32/odbc32.spec
+99
-101
compobj.spec
dlls/ole32/compobj.spec
+0
-4
ole2.spec
dlls/ole32/ole2.spec
+0
-4
ole2conv.spec
dlls/ole32/ole2conv.spec
+0
-4
ole2nls.spec
dlls/ole32/ole2nls.spec
+0
-4
ole2prox.spec
dlls/ole32/ole2prox.spec
+0
-4
ole2thk.spec
dlls/ole32/ole2thk.spec
+0
-4
ole32.spec
dlls/ole32/ole32.spec
+0
-1
storage.spec
dlls/ole32/storage.spec
+0
-3
ole2disp.spec
dlls/oleaut32/ole2disp.spec
+0
-4
oleaut32.spec
dlls/oleaut32/oleaut32.spec
+0
-2
typelib.spec
dlls/oleaut32/typelib.spec
+0
-4
olecli.spec
dlls/olecli/olecli.spec
+0
-4
olecli32.spec
dlls/olecli/olecli32.spec
+0
-2
oledlg.spec
dlls/oledlg/oledlg.spec
+0
-2
olepro32.spec
dlls/olepro32/olepro32.spec
+0
-2
olesvr.spec
dlls/olesvr/olesvr.spec
+0
-4
olesvr32.spec
dlls/olesvr/olesvr32.spec
+0
-2
opengl32.spec
dlls/opengl32/opengl32.spec
+0
-1
psapi.spec
dlls/psapi/psapi.spec
+0
-2
qcap.spec
dlls/qcap/qcap.spec
+0
-3
quartz.spec
dlls/quartz/quartz.spec
+0
-3
rasapi16.spec
dlls/rasapi32/rasapi16.spec
+0
-4
rasapi32.spec
dlls/rasapi32/rasapi32.spec
+0
-2
riched32.spec
dlls/richedit/riched32.spec
+0
-1
rpcrt4.spec
dlls/rpcrt4/rpcrt4.spec
+0
-1
serialui.spec
dlls/serialui/serialui.spec
+0
-1
setupapi.spec
dlls/setupapi/setupapi.spec
+0
-2
setupx.spec
dlls/setupapi/setupx.spec
+0
-4
shdocvw.spec
dlls/shdocvw/shdocvw.spec
+0
-2
shell.spec
dlls/shell32/shell.spec
+0
-3
shell32.spec
dlls/shell32/shell32.spec
+0
-1
shfolder.spec
dlls/shfolder/shfolder.spec
+0
-2
shlwapi.spec
dlls/shlwapi/shlwapi.spec
+0
-1
snmpapi.spec
dlls/snmpapi/snmpapi.spec
+0
-1
sti.spec
dlls/sti/sti.spec
+0
-2
tapi32.spec
dlls/tapi32/tapi32.spec
+0
-2
ttydrv.spec
dlls/ttydrv/ttydrv.spec
+0
-1
twain_32.spec
dlls/twain/twain_32.spec
+0
-1
url.spec
dlls/url/url.spec
+0
-2
urlmon.spec
dlls/urlmon/urlmon.spec
+0
-3
ddeml.spec
dlls/user/ddeml.spec
+0
-4
display.spec
dlls/user/display.spec
+0
-4
keyboard.spec
dlls/user/keyboard.spec
+0
-5
mouse.spec
dlls/user/mouse.spec
+0
-3
user.exe.spec
dlls/user/user.exe.spec
+0
-4
user32.spec
dlls/user/user32.spec
+0
-1
ver.spec
dlls/version/ver.spec
+0
-5
version.spec
dlls/version/version.spec
+0
-2
w32skrnl.spec
dlls/win32s/w32skrnl.spec
+0
-2
w32sys.spec
dlls/win32s/w32sys.spec
+0
-4
win32s16.spec
dlls/win32s/win32s16.spec
+0
-4
winaspi.spec
dlls/winaspi/winaspi.spec
+5
-9
wnaspi32.spec
dlls/winaspi/wnaspi32.spec
+0
-1
winedos.spec
dlls/winedos/winedos.spec
+0
-1
wineps.spec
dlls/wineps/wineps.spec
+0
-1
wineps16.spec
dlls/wineps/wineps16.spec
+0
-4
wininet.spec
dlls/wininet/wininet.spec
+0
-1
joystick.drv.spec
dlls/winmm/joystick/joystick.drv.spec
+0
-3
mcianim.drv.spec
dlls/winmm/mcianim/mcianim.drv.spec
+0
-3
mciavi.drv.spec
dlls/winmm/mciavi/mciavi.drv.spec
+0
-2
mcicda.drv.spec
dlls/winmm/mcicda/mcicda.drv.spec
+0
-3
mciseq.drv.spec
dlls/winmm/mciseq/mciseq.drv.spec
+0
-3
mciwave.drv.spec
dlls/winmm/mciwave/mciwave.drv.spec
+0
-3
midimap.drv.spec
dlls/winmm/midimap/midimap.drv.spec
+0
-3
mmsystem.spec
dlls/winmm/mmsystem.spec
+0
-4
sound.spec
dlls/winmm/sound.spec
+0
-4
msacm.drv.spec
dlls/winmm/wavemap/msacm.drv.spec
+0
-3
winearts.drv.spec
dlls/winmm/winearts/winearts.drv.spec
+0
-3
wineoss.drv.spec
dlls/winmm/wineoss/wineoss.drv.spec
+0
-3
winmm.spec
dlls/winmm/winmm.spec
+0
-1
winnls.spec
dlls/winnls/winnls.spec
+0
-4
winnls32.spec
dlls/winnls/winnls32.spec
+0
-2
winsock.spec
dlls/winsock/winsock.spec
+0
-4
ws2_32.spec
dlls/winsock/ws2_32.spec
+0
-1
winspool.drv.spec
dlls/winspool/winspool.drv.spec
+0
-2
wintrust.spec
dlls/wintrust/wintrust.spec
+0
-2
wow32.spec
dlls/wow32/wow32.spec
+0
-2
wsock32.spec
dlls/wsock32/wsock32.spec
+0
-2
x11drv.spec
dlls/x11drv/x11drv.spec
+0
-1
Makefile.in
miscemu/Makefile.in
+3
-0
wine.spec
miscemu/wine.spec
+0
-1
README
tools/winebuild/README
+14
-16
import.c
tools/winebuild/import.c
+5
-8
main.c
tools/winebuild/main.c
+14
-1
parser.c
tools/winebuild/parser.c
+2
-32
spec16.c
tools/winebuild/spec16.c
+12
-8
spec32.c
tools/winebuild/spec32.c
+6
-7
No files found.
Make.rules.in
View file @
77afd6c4
...
...
@@ -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 $<
...
...
dlls/advapi32/advapi32.spec
View file @
77afd6c4
name advapi32
@ stdcall AbortSystemShutdownA(ptr) AbortSystemShutdownA
@ stdcall AbortSystemShutdownW(ptr) AbortSystemShutdownW
@ stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck
...
...
dlls/avicap32/avicap32.spec
View file @
77afd6c4
name avicap32
@ stub capCreateCaptureWindowA
@ stub capCreateCaptureWindowW
@ stdcall capGetDriverDescriptionA(long ptr long ptr long) capGetDriverDescriptionA
...
...
dlls/avifil32/avifil32.spec
View file @
77afd6c4
name avifil32
@ stub AVIBuildFilter
@ stub AVIBuildFilterA
@ stub AVIBuildFilterW
...
...
dlls/avifil32/avifile.spec
View file @
77afd6c4
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
...
...
dlls/comcat/comcat.spec
View file @
77afd6c4
name comcat
init COMCAT_DllEntryPoint
@ stdcall DllCanUnloadNow() COMCAT_DllCanUnloadNow
...
...
dlls/comctl32/comctl32.spec
View file @
77afd6c4
name comctl32
init COMCTL32_LibMain
# Functions exported by the Win95 comctl32.dll
...
...
dlls/commdlg/comdlg32.spec
View file @
77afd6c4
name comdlg32
init COMDLG32_DllEntryPoint
@ stdcall ChooseColorA(ptr) ChooseColorA
...
...
dlls/commdlg/commdlg.spec
View file @
77afd6c4
name commdlg
type win16
owner comdlg32
1 pascal16 GetOpenFileName(segptr) GetOpenFileName16
2 pascal16 GetSaveFileName(segptr) GetSaveFileName16
5 pascal16 ChooseColor(ptr) ChooseColor16
...
...
dlls/crtdll/crtdll.spec
View file @
77afd6c4
# 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
dlls/crypt32/crypt32.spec
View file @
77afd6c4
name crypt32
@ stub CertAddCRLContextToStore
@ stub CertAddCTLContextToStore
@ stub CertAddCertificateContextToStore
...
...
dlls/dciman32/dciman32.spec
View file @
77afd6c4
name dciman32
@ stub DCIBeginAccess
@ stdcall DCICloseProvider(long) DCICloseProvider
@ stub DCICreateOffscreen
...
...
dlls/ddraw/ddraw.spec
View file @
77afd6c4
name ddraw
init DDRAW_DllMain
@ stub DDHAL32_VidMemAlloc
...
...
dlls/devenum/devenum.spec
View file @
77afd6c4
name devenum
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
...
...
dlls/dinput/dinput.spec
View file @
77afd6c4
name dinput
init Init
@ stdcall DirectInputCreateA(long long ptr ptr) DirectInputCreateA
...
...
dlls/dinput8/dinput8.spec
View file @
77afd6c4
name dinput8
@ stdcall DirectInput8Create(long long ptr ptr ptr) DirectInput8Create
@ stdcall DllCanUnloadNow() DINPUT8_DllCanUnloadNow
@ stdcall DllGetClassObject(ptr ptr ptr) DINPUT8_DllGetClassObject
...
...
dlls/dplay/dplay.spec
View file @
77afd6c4
# First DirectPlay dll. Replaced by dplayx.dll.
name dplay
@ forward DirectPlayCreate dplayx.DirectPlayCreate
@ forward DirectPlayEnumerate dplayx.DirectPlayEnumerate
dlls/dplayx/dplayx.spec
View file @
77afd6c4
name dplayx
init DPLAYX_LibMain
1 stdcall DirectPlayCreate(ptr ptr ptr) DirectPlayCreate
...
...
dlls/dsound/dsound.spec
View file @
77afd6c4
name dsound
0 stub DirectSoundUnknown
1 stdcall DirectSoundCreate(ptr ptr ptr) DirectSoundCreate8
2 stdcall DirectSoundEnumerateA(ptr ptr) DirectSoundEnumerateA
...
...
dlls/gdi/dispdib.spec
View file @
77afd6c4
name dispdib
type win16
owner gdi32
1 pascal16 DisplayDib(ptr ptr word) DisplayDib
dlls/gdi/gdi.exe.spec
View file @
77afd6c4
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
...
...
dlls/gdi/gdi32.spec
View file @
77afd6c4
name gdi32
init MAIN_GdiInit
# ordinal exports
...
...
dlls/gdi/wing.spec
View file @
77afd6c4
name wing
type win16
owner gdi32
1001 pascal16 WinGCreateDC() WinGCreateDC16
1002 pascal16 WinGRecommendDIBFormat(ptr) WinGRecommendDIBFormat16
1003 pascal16 WinGCreateBitmap(word ptr ptr) WinGCreateBitmap16
...
...
dlls/glu32/glu32.spec
View file @
77afd6c4
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
...
...
dlls/icmp/icmp.spec
View file @
77afd6c4
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
dlls/imagehlp/imagehlp.spec
View file @
77afd6c4
name imagehlp
init IMAGEHLP_LibMain
@ stdcall BindImage(str str str) BindImage
...
...
dlls/imm32/imm.spec
View file @
77afd6c4
name imm
type win16
owner imm32
4 stub IMMGETDEFAULTIMEWND
7 stub IMMGETDESCRIPTIONA
8 stub IMMGETIMEFILENAMEA
...
...
dlls/imm32/imm32.spec
View file @
77afd6c4
name imm32
@ stdcall ImmAssociateContext(long long) ImmAssociateContext
@ stdcall ImmConfigureIMEA(long long long ptr) ImmConfigureIMEA
@ stdcall ImmConfigureIMEW(long long long ptr) ImmConfigureIMEW
...
...
dlls/kernel/comm.spec
View file @
77afd6c4
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
dlls/kernel/kernel32.spec
View file @
77afd6c4
name kernel32
init MAIN_KernelInit
# Functions exported by the Win95 kernel32.dll
...
...
dlls/kernel/krnl386.exe.spec
View file @
77afd6c4
name kernel
type win16
file krnl386.exe
owner kernel32
rsrc version16.res
# 1-207 are the basic functions, those are (with minor variations)
...
...
dlls/kernel/stress.spec
View file @
77afd6c4
# summary: resource modification dll
#
name stress
type win16
owner kernel32
2 pascal AllocMem(long) AllocMem
3 pascal FreeAllMem() FreeAllMem
6 pascal AllocFileHandles(word) AllocFileHandles
...
...
dlls/kernel/system.spec
View file @
77afd6c4
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
...
...
dlls/kernel/toolhelp.spec
View file @
77afd6c4
name toolhelp
type win16
owner kernel32
50 pascal16 GlobalHandleToSel(word) GlobalHandleToSel16
51 pascal16 GlobalFirst(ptr word) GlobalFirst16
52 pascal16 GlobalNext(ptr word) GlobalNext16
...
...
dlls/kernel/win87em.spec
View file @
77afd6c4
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
...
...
dlls/kernel/windebug.spec
View file @
77afd6c4
name windebug
type win16
owner kernel32
1 stub WINDEBUG
2 stub WEP
3 pascal -register WinNotify() WinNotify16
dlls/kernel/wprocs.spec
View file @
77afd6c4
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
...
...
dlls/lzexpand/lz32.spec
View file @
77afd6c4
name lz32
@ stdcall CopyLZFile(long long) CopyLZFile
@ stdcall GetExpandedNameA(str ptr) GetExpandedNameA
@ stdcall GetExpandedNameW(wstr ptr) GetExpandedNameW
...
...
dlls/lzexpand/lzexpand.spec
View file @
77afd6c4
name lzexpand
type win16
owner lz32
1 pascal LZCopy(word word) LZCopy16
2 pascal16 LZOpenFile(str ptr word) LZOpenFile16
3 pascal16 LZInit(word) LZInit16
...
...
dlls/mapi32/mapi32.spec
View file @
77afd6c4
name mapi32
@ stub BMAPIAddress
@ stub BMAPIDetails
@ stub BMAPIFindNext
...
...
dlls/mpr/mpr.spec
View file @
77afd6c4
name mpr
# ordinal exports
1 stub @
2 stub @
...
...
dlls/msacm/imaadp32/imaadp32.acm.spec
View file @
77afd6c4
name imaadp32
file imaadp32.acm
@ stdcall DriverProc (long long long long long) ADPCM_DriverProc
dlls/msacm/msacm.spec
View file @
77afd6c4
name msacm
type win16
owner msacm32
1 stub WEP
2 stub DRIVERPROC
3 stub ___EXPORTEDSTUB
...
...
dlls/msacm/msacm32.spec
View file @
77afd6c4
name msacm32
init MSACM32_LibMain
@ stdcall acmDriverAddA(ptr long long long long) acmDriverAddA
...
...
dlls/msacm/msadp32/msadp32.acm.spec
View file @
77afd6c4
name msadp32
file msadp32.acm
@ stdcall DriverProc (long long long long long) ADPCM_DriverProc
dlls/msacm/msg711/msg711.acm.spec
View file @
77afd6c4
name msg711
file msg711.acm
@ stdcall DriverProc(long long long long long) G711_DriverProc
dlls/msacm/winemp3/winemp3.acm.spec
View file @
77afd6c4
name winemp3
file winemp3.acm
@ stdcall DriverProc(long long long long long) MPEG3_DriverProc
dlls/msdmo/msdmo.spec
View file @
77afd6c4
name msdmo
@ stub DMOEnum
@ stub DMOGetName
@ stub DMOGetTypes
...
...
@@ -15,4 +13,3 @@ name msdmo
@ stub MoDuplicateMediaType
@ stub MoFreeMediaType
@ stub MoInitMediaType
dlls/msimg32/msimg32.spec
View file @
77afd6c4
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
...
...
dlls/msisys/msisys.ocx.spec
View file @
77afd6c4
name msisys
file msisys.ocx
init MSISYS_DllMain
@ stdcall DllCanUnloadNow() MSISYS_DllCanUnloadNow
...
...
dlls/msnet32/msnet32.spec
View file @
77afd6c4
name msnet32
1 stub @
2 stub @
3 stub @
...
...
@@ -96,4 +94,3 @@ name msnet32
94 stub @
95 stub @
96 stub @
dlls/msrle32/msrle32.spec
View file @
77afd6c4
name msrle32
@ stub DriverProc #(long long long long long)
dlls/msvcrt/msvcrt.spec
View file @
77afd6c4
# msvcrt.dll - MS VC++ Run Time Library
name msvcrt
init MSVCRT_Init
@ cdecl $I10_OUTPUT() MSVCRT_I10_OUTPUT
...
...
dlls/msvcrt20/msvcrt20.spec
View file @
77afd6c4
# 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 #
...
...
dlls/msvideo/msvfw32.spec
View file @
77afd6c4
name msvfw32
# Yes, ICCompress,ICDecompress,MCIWnd* and ICDraw* are cdecl (VFWAPIV).
# The rest is stdcall (VFWAPI) however. -Marcus Meissner, 990124
...
...
dlls/msvideo/msvideo.spec
View file @
77afd6c4
name msvideo
type win16
owner msvfw32
2 pascal VideoForWindowsVersion() VideoForWindowsVersion
20 stub VIDEOGETNUMDEVS
21 stub VIDEOGETERRORTEXT
...
...
dlls/netapi32/netapi32.spec
View file @
77afd6c4
name netapi32
init NETAPI32_LibMain
1 stdcall Netbios(ptr) Netbios
dlls/ntdll/ntdll.spec
View file @
77afd6c4
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
...
...
dlls/odbc32/odbc32.spec
View file @
77afd6c4
name odbc32
init MAIN_OdbcInit
00
1 stdcall SQLAllocConnect(long ptr) SQLAllocConnect
00
2 stdcall SQLAllocEnv(ptr) SQLAllocEnv
00
3 stdcall SQLAllocStmt(long ptr) SQLAllocStmt
00
4 stdcall SQLBindCol(long long long ptr long ptr) SQLBindCol
00
5 stdcall SQLCancel(long) SQLCancel
00
6 stdcall SQLColAttributes(long long long ptr long ptr ptr) SQLColAttributes
00
7 stdcall SQLConnect(long str long str long str long) SQLConnect
00
8 stdcall SQLDescribeCol(long long str long ptr ptr ptr ptr ptr) SQLDescribeCol
00
9 stdcall SQLDisconnect(long) SQLDisconnect
0
10 stdcall SQLError(long long long str ptr str long ptr) SQLError
0
11 stdcall SQLExecDirect(long str long) SQLExecDirect
0
12 stdcall SQLExecute(long) SQLExecute
0
13 stdcall SQLFetch(long) SQLFetch
0
14 stdcall SQLFreeConnect(long) SQLFreeConnect
0
15 stdcall SQLFreeEnv(long) SQLFreeEnv
0
16 stdcall SQLFreeStmt(long long ) SQLFreeStmt
0
17 stdcall SQLGetCursorName(long str long ptr) SQLGetCursorName
0
18 stdcall SQLNumResultCols(long ptr) SQLNumResultCols
0
19 stdcall SQLPrepare(long str long) SQLPrepare
0
20 stdcall SQLRowCount(long ptr) SQLRowCount
0
21 stdcall SQLSetCursorName(long str long) SQLSetCursorName
0
22 stdcall SQLSetParam(long long long long long long ptr ptr) SQLSetParam
0
23 stdcall SQLTransact(long long long) SQLTransact
0
24 stdcall SQLAllocHandle(long long ptr) SQLAllocHandle
0
25 stdcall SQLBindParam(long long long long long long ptr ptr) SQLBindParam
0
26 stdcall SQLCloseCursor(long) SQLCloseCursor
0
27 stdcall SQLColAttribute(long long long ptr long ptr ptr) SQLColAttribute
0
28 stdcall SQLCopyDesc(long long) SQLCopyDesc
0
29 stdcall SQLEndTran(long long long) SQLEndTran
0
30 stdcall SQLFetchScroll(long long long) SQLFetchScroll
0
31 stdcall SQLFreeHandle(long long) SQLFreeHandle
0
32 stdcall SQLGetConnectAttr(long long ptr long ptr) SQLGetConnectAttr
0
33 stdcall SQLGetDescField(long long long ptr long ptr) SQLGetDescField
0
34 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr) SQLGetDescRec
0
35 stdcall SQLGetDiagField(long long long long ptr long ptr) SQLGetDiagField
0
36 stdcall SQLGetDiagRec(long long long str ptr str long ptr) SQLGetDiagRec
0
37 stdcall SQLGetEnvAttr(long long ptr long ptr) SQLGetEnvAttr
0
38 stdcall SQLGetStmtAttr(long long ptr long ptr) SQLGetStmtAttr
0
39 stdcall SQLSetConnectAttr(long long ptr long) SQLSetConnectAttr
0
40 stdcall SQLColumns(long str long str long str long str long) SQLColumns
0
41 stdcall SQLDriverConnect(long long str long str long str long) SQLDriverConnect
0
42 stdcall SQLGetConnectOption(long long ptr) SQLGetConnectOption
0
43 stdcall SQLGetData(long long long ptr long ptr) SQLGetData
0
44 stdcall SQLGetFunctions(long long ptr) SQLGetFunctions
0
45 stdcall SQLGetInfo(long long ptr long ptr) SQLGetInfo
0
46 stdcall SQLGetStmtOption(long long ptr) SQLGetStmtOption
0
47 stdcall SQLGetTypeInfo(long long) SQLGetTypeInfo
0
48 stdcall SQLParamData(long ptr) SQLParamData
0
49 stdcall SQLPutData(long ptr long) SQLPutData
0
50 stdcall SQLSetConnectOption(long long long) SQLSetConnectOption
0
51 stdcall SQLSetStmtOption(long long long) SQLSetStmtOption
0
52 stdcall SQLSpecialColumns(long long str long str long str long long long) SQLSpecialColumns
0
53 stdcall SQLStatistics(long str long str long str long long long) SQLStatistics
0
54 stdcall SQLTables(long str long str long str long str long) SQLTables
0
55 stdcall SQLBrowseConnect(long str long str long ptr) SQLBrowseConnect
0
56 stdcall SQLColumnPrivileges(long str long str long str long str long) SQLColumnPrivileges
0
57 stdcall SQLDataSources(long long str long ptr str long ptr) SQLDataSources
0
58 stdcall SQLDescribeParam(long long ptr ptr ptr ptr) SQLDescribeParam
0
59 stdcall SQLExtendedFetch(long long long ptr ptr) SQLExtendedFetch
0
60 stdcall SQLForeignKeys(long str long str long str long str long str long str long) SQLForeignKeys
0
61 stdcall SQLMoreResults(long) SQLMoreResults
0
62 stdcall SQLNativeSql(long str long str long ptr) SQLNativeSql
0
63 stdcall SQLNumParams(long ptr) SQLNumParams
0
64 stdcall SQLParamOptions(long long ptr) SQLParamOptions
0
65 stdcall SQLPrimaryKeys(long str long str long str long) SQLPrimaryKeys
0
66 stdcall SQLProcedureColumns(long str long str long str long str long) SQLProcedureColumns
0
67 stdcall SQLProcedures(long str long str long str long) SQLProcedures
0
68 stdcall SQLSetPos(long long long long) SQLSetPos
0
69 stdcall SQLSetScrollOptions(long long long long) SQLSetScrollOptions
0
70 stdcall SQLTablePrivileges(long str long str long str long) SQLTablePrivileges
0
71 stdcall SQLDrivers(long long str long ptr str long ptr) SQLDrivers
0
72 stdcall SQLBindParameter(long long long long long long long ptr long ptr) SQLBindParameter
0
73 stdcall SQLSetDescField(long long long ptr long) SQLSetDescField
0
74 stdcall SQLSetDescRec(long long long long long long long ptr ptr ptr) SQLSetDescRec
0
75 stdcall SQLSetEnvAttr(long long ptr long) SQLSetEnvAttr
0
76 stdcall SQLSetStmtAttr(long long ptr long) SQLSetStmtAttr
0
77 stdcall SQLAllocHandleStd(long long ptr) SQLAllocHandleStd
0
78 stdcall SQLBulkOperations(long long) SQLBulkOperations
0
79 stub CloseODBCPerfData
0
80 stub CollectODBCPerfData
0
81 stub CursorLibLockDbc
0
82 stub CursorLibLockDesc
0
83 stub CursorLibLockStmt
0
84 stub ODBCGetTryWaitValue
0
85 stub CursorLibTransact
0
86 stub ODBSetTryWaitValue
0
87 stub LockHandle
0
88 stub ODBCInternalConnectW
0
89 stub ODBCSharedPerfMon
0
90 stub ODBCSharedVSFlag
0
91 stub OpenODBCPerfData
0
92 stub PostComponentError
0
93 stub PostODBCComponentError
0
94 stub PostODBCError
0
95 stub SearchStatusCode
0
96 stub VFreeErrors
0
97 stub VRetrieveDriverErrorsRowCol
0
98 stub ValidateErrorQueue
0
99 stub SQLColAttributesW
1 stdcall SQLAllocConnect(long ptr) SQLAllocConnect
2 stdcall SQLAllocEnv(ptr) SQLAllocEnv
3 stdcall SQLAllocStmt(long ptr) SQLAllocStmt
4 stdcall SQLBindCol(long long long ptr long ptr) SQLBindCol
5 stdcall SQLCancel(long) SQLCancel
6 stdcall SQLColAttributes(long long long ptr long ptr ptr) SQLColAttributes
7 stdcall SQLConnect(long str long str long str long) SQLConnect
8 stdcall SQLDescribeCol(long long str long ptr ptr ptr ptr ptr) SQLDescribeCol
9 stdcall SQLDisconnect(long) SQLDisconnect
10 stdcall SQLError(long long long str ptr str long ptr) SQLError
11 stdcall SQLExecDirect(long str long) SQLExecDirect
12 stdcall SQLExecute(long) SQLExecute
13 stdcall SQLFetch(long) SQLFetch
14 stdcall SQLFreeConnect(long) SQLFreeConnect
15 stdcall SQLFreeEnv(long) SQLFreeEnv
16 stdcall SQLFreeStmt(long long ) SQLFreeStmt
17 stdcall SQLGetCursorName(long str long ptr) SQLGetCursorName
18 stdcall SQLNumResultCols(long ptr) SQLNumResultCols
19 stdcall SQLPrepare(long str long) SQLPrepare
20 stdcall SQLRowCount(long ptr) SQLRowCount
21 stdcall SQLSetCursorName(long str long) SQLSetCursorName
22 stdcall SQLSetParam(long long long long long long ptr ptr) SQLSetParam
23 stdcall SQLTransact(long long long) SQLTransact
24 stdcall SQLAllocHandle(long long ptr) SQLAllocHandle
25 stdcall SQLBindParam(long long long long long long ptr ptr) SQLBindParam
26 stdcall SQLCloseCursor(long) SQLCloseCursor
27 stdcall SQLColAttribute(long long long ptr long ptr ptr) SQLColAttribute
28 stdcall SQLCopyDesc(long long) SQLCopyDesc
29 stdcall SQLEndTran(long long long) SQLEndTran
30 stdcall SQLFetchScroll(long long long) SQLFetchScroll
31 stdcall SQLFreeHandle(long long) SQLFreeHandle
32 stdcall SQLGetConnectAttr(long long ptr long ptr) SQLGetConnectAttr
33 stdcall SQLGetDescField(long long long ptr long ptr) SQLGetDescField
34 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr) SQLGetDescRec
35 stdcall SQLGetDiagField(long long long long ptr long ptr) SQLGetDiagField
36 stdcall SQLGetDiagRec(long long long str ptr str long ptr) SQLGetDiagRec
37 stdcall SQLGetEnvAttr(long long ptr long ptr) SQLGetEnvAttr
38 stdcall SQLGetStmtAttr(long long ptr long ptr) SQLGetStmtAttr
39 stdcall SQLSetConnectAttr(long long ptr long) SQLSetConnectAttr
40 stdcall SQLColumns(long str long str long str long str long) SQLColumns
41 stdcall SQLDriverConnect(long long str long str long str long) SQLDriverConnect
42 stdcall SQLGetConnectOption(long long ptr) SQLGetConnectOption
43 stdcall SQLGetData(long long long ptr long ptr) SQLGetData
44 stdcall SQLGetFunctions(long long ptr) SQLGetFunctions
45 stdcall SQLGetInfo(long long ptr long ptr) SQLGetInfo
46 stdcall SQLGetStmtOption(long long ptr) SQLGetStmtOption
47 stdcall SQLGetTypeInfo(long long) SQLGetTypeInfo
48 stdcall SQLParamData(long ptr) SQLParamData
49 stdcall SQLPutData(long ptr long) SQLPutData
50 stdcall SQLSetConnectOption(long long long) SQLSetConnectOption
51 stdcall SQLSetStmtOption(long long long) SQLSetStmtOption
52 stdcall SQLSpecialColumns(long long str long str long str long long long) SQLSpecialColumns
53 stdcall SQLStatistics(long str long str long str long long long) SQLStatistics
54 stdcall SQLTables(long str long str long str long str long) SQLTables
55 stdcall SQLBrowseConnect(long str long str long ptr) SQLBrowseConnect
56 stdcall SQLColumnPrivileges(long str long str long str long str long) SQLColumnPrivileges
57 stdcall SQLDataSources(long long str long ptr str long ptr) SQLDataSources
58 stdcall SQLDescribeParam(long long ptr ptr ptr ptr) SQLDescribeParam
59 stdcall SQLExtendedFetch(long long long ptr ptr) SQLExtendedFetch
60 stdcall SQLForeignKeys(long str long str long str long str long str long str long) SQLForeignKeys
61 stdcall SQLMoreResults(long) SQLMoreResults
62 stdcall SQLNativeSql(long str long str long ptr) SQLNativeSql
63 stdcall SQLNumParams(long ptr) SQLNumParams
64 stdcall SQLParamOptions(long long ptr) SQLParamOptions
65 stdcall SQLPrimaryKeys(long str long str long str long) SQLPrimaryKeys
66 stdcall SQLProcedureColumns(long str long str long str long str long) SQLProcedureColumns
67 stdcall SQLProcedures(long str long str long str long) SQLProcedures
68 stdcall SQLSetPos(long long long long) SQLSetPos
69 stdcall SQLSetScrollOptions(long long long long) SQLSetScrollOptions
70 stdcall SQLTablePrivileges(long str long str long str long) SQLTablePrivileges
71 stdcall SQLDrivers(long long str long ptr str long ptr) SQLDrivers
72 stdcall SQLBindParameter(long long long long long long long ptr long ptr) SQLBindParameter
73 stdcall SQLSetDescField(long long long ptr long) SQLSetDescField
74 stdcall SQLSetDescRec(long long long long long long long ptr ptr ptr) SQLSetDescRec
75 stdcall SQLSetEnvAttr(long long ptr long) SQLSetEnvAttr
76 stdcall SQLSetStmtAttr(long long ptr long) SQLSetStmtAttr
77 stdcall SQLAllocHandleStd(long long ptr) SQLAllocHandleStd
78 stdcall SQLBulkOperations(long long) SQLBulkOperations
79 stub CloseODBCPerfData
80 stub CollectODBCPerfData
81 stub CursorLibLockDbc
82 stub CursorLibLockDesc
83 stub CursorLibLockStmt
84 stub ODBCGetTryWaitValue
85 stub CursorLibTransact
86 stub ODBSetTryWaitValue
87 stub LockHandle
88 stub ODBCInternalConnectW
89 stub ODBCSharedPerfMon
90 stub ODBCSharedVSFlag
91 stub OpenODBCPerfData
92 stub PostComponentError
93 stub PostODBCComponentError
94 stub PostODBCError
95 stub SearchStatusCode
96 stub VFreeErrors
97 stub VRetrieveDriverErrorsRowCol
98 stub ValidateErrorQueue
99 stub SQLColAttributesW
100 stub SQLConnectW
101 stub SQLDescribeColW
102 stub SQLErrorW
...
...
@@ -175,4 +174,3 @@ init MAIN_OdbcInit
172 stub SQLSetStmtAttrA
173 stub ODBCSharedTraceFlag
174 stub ODBCQualifyFileDSNW
dlls/ole32/compobj.spec
View file @
77afd6c4
name compobj
type win16
owner ole32
1 pascal CoBuildVersion() CoBuildVersion
2 pascal CoInitialize(long) CoInitialize16
3 pascal CoUninitialize() CoUninitialize16
...
...
dlls/ole32/ole2.spec
View file @
77afd6c4
name ole2
type win16
owner ole32
1 pascal OleBuildVersion() OleBuildVersion
2 pascal OleInitialize(ptr) OleInitialize
3 pascal OleUninitialize() OleUninitialize
...
...
dlls/ole32/ole2conv.spec
View file @
77afd6c4
name ole2conv
type win16
owner ole32
1 stub GETFILTERINFO
2 stub IMPORTGR
3 stub GETFILTERPREF
...
...
dlls/ole32/ole2nls.spec
View file @
77afd6c4
name ole2nls
type win16
owner ole32
1 pascal GetUserDefaultLCID() GetUserDefaultLCID16
2 pascal GetSystemDefaultLCID() GetSystemDefaultLCID16
3 pascal16 GetUserDefaultLangID() GetUserDefaultLangID16
...
...
dlls/ole32/ole2prox.spec
View file @
77afd6c4
name ole2prox
type win16
owner ole32
1 stub DLLGETCLASSOBJECT
#2 WEP
#3 ___EXPORTEDSTUB
dlls/ole32/ole2thk.spec
View file @
77afd6c4
name ole2thk
type win16
owner ole32
1 stub WEP
2 stub ROT16_ISRUNNING16
3 stub ISWIN32SHANDLE
...
...
dlls/ole32/ole32.spec
View file @
77afd6c4
name ole32
init OLE32_DllEntryPoint
1 stub BindMoniker # stdcall (ptr long ptr ptr) return 0,ERR_NOTIMPLEMENTED
...
...
dlls/ole32/storage.spec
View file @
77afd6c4
# 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
...
...
dlls/oleaut32/ole2disp.spec
View file @
77afd6c4
name ole2disp
type win16
owner oleaut32
1 stub DLLGETCLASSOBJECT
2 pascal SysAllocString(str) SysAllocString16
3 pascal SysReallocString(ptr str) SysReAllocString16
...
...
dlls/oleaut32/oleaut32.spec
View file @
77afd6c4
name oleaut32
1 stdcall DllGetClassObject(ptr ptr ptr) OLEAUT32_DllGetClassObject
2 stdcall SysAllocString(wstr) SysAllocString
3 stdcall SysReAllocString(ptr wstr) SysReAllocString
...
...
dlls/oleaut32/typelib.spec
View file @
77afd6c4
name typelib
type win16
owner oleaut32
2 stub CREATETYPELIB
3 pascal LoadTypeLib(ptr ptr) LoadTypeLib16
4 stub LHASHVALOFNAMESYS
...
...
dlls/olecli/olecli.spec
View file @
77afd6c4
name olecli
type win16
owner olecli32
#1 WEP
2 stub OLEDELETE
3 stub OLESAVETOSTREAM
...
...
dlls/olecli/olecli32.spec
View file @
77afd6c4
name olecli32
1 stub WEP
2 stub OleDelete
3 forward OleSaveToStream ole32.OleSaveToStream
...
...
dlls/oledlg/oledlg.spec
View file @
77afd6c4
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
...
...
dlls/olepro32/olepro32.spec
View file @
77afd6c4
name olepro32
248 forward OleIconToCursor OLEAUT32.OleIconToCursor
249 forward OleCreatePropertyFrameIndirect OLEAUT32.OleCreatePropertyFrameIndirect
250 forward OleCreatePropertyFrame OLEAUT32.OleCreatePropertyFrame
...
...
dlls/olesvr/olesvr.spec
View file @
77afd6c4
name olesvr
type win16
owner olesvr32
#1 WEP
2 pascal OleRegisterServer(str ptr ptr word word) OleRegisterServer16
3 pascal OleRevokeServer(long) OleRevokeServer16
...
...
dlls/olesvr/olesvr32.spec
View file @
77afd6c4
name olesvr32
1 stub WEP
2 stdcall OleRegisterServer(str ptr ptr long long) OleRegisterServer
3 stub OleRevokeServer
...
...
dlls/opengl32/opengl32.spec
View file @
77afd6c4
name opengl32
init OpenGL32_Init
@ stdcall wglCreateContext(long) wglCreateContext
...
...
dlls/psapi/psapi.spec
View file @
77afd6c4
name psapi
@ stdcall EmptyWorkingSet(long) EmptyWorkingSet
@ stdcall EnumDeviceDrivers(ptr long ptr) EnumDeviceDrivers
@ stdcall EnumProcessModules(long ptr long ptr) EnumProcessModules
...
...
dlls/qcap/qcap.spec
View file @
77afd6c4
name qcap
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
dlls/quartz/quartz.spec
View file @
77afd6c4
name quartz
@ stub AMGetErrorTextA
@ stub AMGetErrorTextW
@ stub AmpFactorToDB
...
...
@@ -8,4 +6,3 @@ name quartz
@ stub DllGetClassObject
@ stub DllRegisterServer
@ stub DllUnregisterServer
dlls/rasapi32/rasapi16.spec
View file @
77afd6c4
name rasapi16
type win16
owner rasapi32
#1 stub WEP
#2 stub DLLENTRYPOINT
3 stub RNA1632_THUNKDATA16
...
...
dlls/rasapi32/rasapi32.spec
View file @
77afd6c4
name rasapi32
1 stub RasAutodialAddressToNetwork
2 stub RasAutodialEntryToNetwork
3 stub RasConnectionNotificationA
...
...
dlls/richedit/riched32.spec
View file @
77afd6c4
name riched32
init RICHED32_LibMain
2 stdcall DllGetVersion (ptr) RICHED32_DllGetVersion
dlls/rpcrt4/rpcrt4.spec
View file @
77afd6c4
name rpcrt4
init RPCRT4_LibMain
@ stub DceErrorInqTextA
...
...
dlls/serialui/serialui.spec
View file @
77afd6c4
name serialui
init SERIALUI_LibMain
2 stdcall EnumPropPages(ptr ptr ptr) SERIALUI_EnumPropPages
...
...
dlls/setupapi/setupapi.spec
View file @
77afd6c4
name setupapi
@ stub AddMiniIconToList
@ stub AddTagToGroupOrderListEntry
@ stub AppendStringToMultiSz
...
...
dlls/setupapi/setupx.spec
View file @
77afd6c4
name setupx
type win16
owner setupapi
1 stub WEP
2 pascal16 IpOpen(str ptr) IpOpen16
3 stub IpOpenAppend #(str word)
...
...
dlls/shdocvw/shdocvw.spec
View file @
77afd6c4
name shdocvw
# ordinal exports
101 stub @
102 stub @
...
...
dlls/shell32/shell.spec
View file @
77afd6c4
name shell
type win16
owner shell32
rsrc version16.res
1 pascal RegOpenKey(long str ptr) RegOpenKey16
...
...
dlls/shell32/shell32.spec
View file @
77afd6c4
name shell32
init Shell32LibMain
# Functions exported by the Win95 shell32.dll
...
...
dlls/shfolder/shfolder.spec
View file @
77afd6c4
name shfolder
@ forward SHGetFolderPathA shell32.SHGetFolderPathA
@ forward SHGetFolderPathW shell32.SHGetFolderPathW
dlls/shlwapi/shlwapi.spec
View file @
77afd6c4
name shlwapi
init SHLWAPI_LibMain
1 stdcall @(str ptr) SHLWAPI_1
...
...
dlls/snmpapi/snmpapi.spec
View file @
77afd6c4
name snmpapi
init SNMPAPI_DllMain
@ stub SnmpSvcAddrIsIpx
...
...
dlls/sti/sti.spec
View file @
77afd6c4
name sti
@ stub DllCanUnloadNow
@ stub DllGetClassObject
@ stub DllRegisterServer
...
...
dlls/tapi32/tapi32.spec
View file @
77afd6c4
name tapi32
@ stdcall lineAccept(long str long) lineAccept
@ stdcall lineAddProvider(str long ptr) lineAddProvider
@ stdcall lineAddToConference(long long) lineAddToConference
...
...
dlls/ttydrv/ttydrv.spec
View file @
77afd6c4
name ttydrv
init TTYDRV_Init
# GDI driver
...
...
dlls/twain/twain_32.spec
View file @
77afd6c4
name twain_32
init TWAIN_LibMain
@ stdcall DSM_Entry(ptr ptr long long long ptr) DSM_Entry
dlls/url/url.spec
View file @
77afd6c4
name url
@ stub AddMIMEFileTypesPS
@ stub AutodialHookCallback
@ stub DllCanUnloadNow
...
...
dlls/urlmon/urlmon.spec
View file @
77afd6c4
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
dlls/user/ddeml.spec
View file @
77afd6c4
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
...
...
dlls/user/display.spec
View file @
77afd6c4
name display
type win16
owner user32
rsrc resources/display.res
1 stub BitBlt
...
...
@@ -59,4 +56,3 @@ rsrc resources/display.res
502 stub ORDINAL_ONLY2
600 stub InkReady
601 stub GetLPDevice
dlls/user/keyboard.spec
View file @
77afd6c4
name keyboard
type win16
owner user32
1 pascal16 Inquire(ptr) KEYBOARD_Inquire
2 pascal16 Enable(segptr ptr) KEYBOARD_Enable
3 pascal16 Disable() KEYBOARD_Disable
...
...
@@ -22,4 +18,3 @@ owner user32
135 pascal16 OemToAnsiBuff(ptr ptr word) OemToAnsiBuff16
#136 pascal EnableKbSysReq
#137 pascal GetBiosKeyProc
dlls/user/mouse.spec
View file @
77afd6c4
name mouse
type win16
owner user32
rsrc resources/mouse.res
1 pascal16 Inquire(ptr) MOUSE_Inquire
...
...
dlls/user/user.exe.spec
View file @
77afd6c4
name user
type win16
heap 65520
file user.exe
owner user32
rsrc resources/version16.res
1 pascal16 MessageBox(word str str word) MessageBox16
...
...
dlls/user/user32.spec
View file @
77afd6c4
name user32
init UserClientDllInitialize
@ stdcall ActivateKeyboardLayout(long long) ActivateKeyboardLayout
...
...
dlls/version/ver.spec
View file @
77afd6c4
name ver
type win16
owner version
#1 DLLENTRYPOINT
2 pascal GetFileResourceSize(str str str ptr) GetFileResourceSize16
3 pascal GetFileResource(str str str long long ptr) GetFileResource16
6 pascal GetFileVersionInfoSize(str ptr) GetFileVersionInfoSize16
...
...
dlls/version/version.spec
View file @
77afd6c4
name version
@ stdcall GetFileVersionInfoA(str long long ptr) GetFileVersionInfoA
@ stdcall GetFileVersionInfoSizeA(str ptr) GetFileVersionInfoSizeA
@ stdcall GetFileVersionInfoSizeW(wstr ptr) GetFileVersionInfoSizeW
...
...
dlls/win32s/w32skrnl.spec
View file @
77afd6c4
name w32skrnl
1 stub _kSetEnvironmentVariable@8
2 stub _SzFromImte@4
3 stdcall GetCurrentTask32() GetCurrentTask32
...
...
dlls/win32s/w32sys.spec
View file @
77afd6c4
name w32sys
type win16
owner w32skrnl
#1 WEP
2 pascal16 IsPeFormat(str word) IsPeFormat16
3 stub EXECPE
...
...
dlls/win32s/win32s16.spec
View file @
77afd6c4
name win32s16
type win16
owner w32skrnl
1 stub WEP
2 pascal16 BootTask() BootTask16
3 stub CREATEPROCESS
...
...
dlls/winaspi/winaspi.spec
View file @
77afd6c4
name winaspi
type win16
owner wnaspi32
1 pascal16 GetASPISupportInfo() GetASPISupportInfo16
2 pascal16 SendASPICommand(segptr) SendASPICommand16
3 pascal16 InsertInASPIChain(word segptr) InsertInASPIChain16
4 pascal GETASPIDLLVERSION() GetASPIDLLVersion16
5 stub ___EXPORTEDSTUB
1 pascal16 GetASPISupportInfo() GetASPISupportInfo16
2 pascal16 SendASPICommand(segptr) SendASPICommand16
3 pascal16 InsertInASPIChain(word segptr) InsertInASPIChain16
4 pascal GETASPIDLLVERSION() GetASPIDLLVersion16
5 stub ___EXPORTEDSTUB
dlls/winaspi/wnaspi32.spec
View file @
77afd6c4
name wnaspi32
init WNASPI32_LibMain
# we have several ordinal clashes here, it seems...
...
...
dlls/winedos/winedos.spec
View file @
77afd6c4
name winedos
init DOSVM_Init
@ stdcall LoadDosExe(str long) MZ_LoadImage
...
...
dlls/wineps/wineps.spec
View file @
77afd6c4
name wineps
init PSDRV_Init
# GDI driver
...
...
dlls/wineps/wineps16.spec
View file @
77afd6c4
name wineps16
type win16
owner wineps
13 pascal16 DeviceMode(word word str str) PSDRV_DeviceMode16
90 pascal16 ExtDeviceMode(word word ptr str str ptr str word) PSDRV_ExtDeviceMode16
91 pascal DeviceCapabilities(str str word ptr ptr) PSDRV_DeviceCapabilities16
...
...
dlls/wininet/wininet.spec
View file @
77afd6c4
name wininet
init WININET_LibMain
@ stub InternetInitializeAutoProxyDll
...
...
dlls/winmm/joystick/joystick.drv.spec
View file @
77afd6c4
name joystick
file joystick.drv
@ stdcall DriverProc(long long long long long) JSTCK_DriverProc
dlls/winmm/mcianim/mcianim.drv.spec
View file @
77afd6c4
name mcianim
file mcianim.drv
@ stdcall DriverProc(long long long long long) MCIANIM_DriverProc
dlls/winmm/mciavi/mciavi.drv.spec
View file @
77afd6c4
name mciavi
file mciavi.drv
init MCIAVI_LibMain
@ stdcall DriverProc(long long long long long) MCIAVI_DriverProc
dlls/winmm/mcicda/mcicda.drv.spec
View file @
77afd6c4
name mcicda
file mcicda.drv
@ stdcall DriverProc(long long long long long) MCICDA_DriverProc
dlls/winmm/mciseq/mciseq.drv.spec
View file @
77afd6c4
name mciseq
file mciseq.drv
@ stdcall DriverProc(long long long long long) MCIMIDI_DriverProc
dlls/winmm/mciwave/mciwave.drv.spec
View file @
77afd6c4
name mciwave
file mciwave.drv
@ stdcall DriverProc(long long long long long) MCIWAVE_DriverProc
dlls/winmm/midimap/midimap.drv.spec
View file @
77afd6c4
name midimap
file midimap.drv
@ stdcall DriverProc(long long long long long) MIDIMAP_DriverProc
@ stdcall modMessage(long long long long long) MIDIMAP_modMessage
dlls/winmm/mmsystem.spec
View file @
77afd6c4
name mmsystem
type win16
owner winmm
#1 pascal MMSYSTEM_WEP(word word word ptr) MMSYSTEM_WEP
2 pascal sndPlaySound(ptr word) sndPlaySound16
3 pascal PlaySound(ptr word long) PlaySound16
...
...
dlls/winmm/sound.spec
View file @
77afd6c4
name sound
type win16
owner winmm
1 pascal16 OpenSound() OpenSound16
2 pascal16 CloseSound() CloseSound16
3 pascal16 SetVoiceQueueSize(word word) SetVoiceQueueSize16
...
...
dlls/winmm/wavemap/msacm.drv.spec
View file @
77afd6c4
name msacmmap
file msacm.drv
@ stdcall DriverProc(long long long long long) WAVEMAP_DriverProc
@ stdcall widMessage(long long long long long) WAVEMAP_widMessage
@ stdcall wodMessage(long long long long long) WAVEMAP_wodMessage
dlls/winmm/winearts/winearts.drv.spec
View file @
77afd6c4
name winearts
file winearts.drv
@ stdcall DriverProc(long long long long long) ARTS_DriverProc
@ stdcall wodMessage(long long long long long) ARTS_wodMessage
dlls/winmm/wineoss/wineoss.drv.spec
View file @
77afd6c4
name wineoss
file wineoss.drv
1 stdcall DriverProc(long long long long long) OSS_DriverProc
2 stdcall auxMessage(long long long long long) OSS_auxMessage
3 stdcall mixMessage(long long long long long) OSS_mixMessage
...
...
dlls/winmm/winmm.spec
View file @
77afd6c4
name winmm
init WINMM_LibMain
# ordinal exports
...
...
dlls/winnls/winnls.spec
View file @
77afd6c4
name winnls
type win16
owner winnls32
1 stub WINNLSINQUIRE
2 stub HOOKKEYBOARDMESSAGE
#3 stub ___EXPORTEDSTUB
...
...
dlls/winnls/winnls32.spec
View file @
77afd6c4
name winnls32
1 stub WINNLS32EnableIME
2 stub WINNLS32GetEnableStatus
3 stub WINNLS32GetIMEHotKey
...
...
dlls/winsock/winsock.spec
View file @
77afd6c4
name winsock
type win16
owner ws2_32
1 pascal16 accept(word ptr ptr) WINSOCK_accept16
2 pascal16 bind(word ptr word) WINSOCK_bind16
3 pascal16 closesocket(word) WINSOCK_closesocket16
...
...
dlls/winsock/ws2_32.spec
View file @
77afd6c4
...
...
@@ -2,7 +2,6 @@
#
# Export table information obtained from Windows 2000 ws2_32.dll
name ws2_32
init WS_LibMain
# EXPORTS ***********
...
...
dlls/winspool/winspool.drv.spec
View file @
77afd6c4
name winspool
file winspool.drv
init WINSPOOL_EntryPoint
100 stub @
...
...
dlls/wintrust/wintrust.spec
View file @
77afd6c4
name wintrust
@ stdcall WinVerifyTrust(long ptr ptr) WinVerifyTrust
dlls/wow32/wow32.spec
View file @
77afd6c4
name wow32
# ordinal exports
1 forward WOWGetDescriptor kernel32.K32WOWGetDescriptor
...
...
dlls/wsock32/wsock32.spec
View file @
77afd6c4
name wsock32
1 forward accept ws2_32.accept
2 forward bind ws2_32.bind
3 forward closesocket ws2_32.closesocket
...
...
dlls/x11drv/x11drv.spec
View file @
77afd6c4
name x11drv
init X11DRV_Init
# GDI driver
...
...
miscemu/Makefile.in
View file @
77afd6c4
...
...
@@ -21,6 +21,9 @@ ALL_OBJS = $(SPEC_SRCS:.spec=.spec.o) $(OBJS)
$(MODULE)
:
$(ALL_OBJS)
$(CC)
-o
$@
$(ALL_OBJS)
-L
$(DLLDIR)
$
(
LDIMPORTS:%
=
-l
%
)
$(LIBWINE)
$(LIBUNICODE)
$(LIBS)
$(LDFLAGS)
wine.spec.c
:
wine.spec
$(LDPATH)
$(WINEBUILD)
$(DEFS)
-o
$@
-spec
$(SRCDIR)
/wine.spec
-L
$(DLLDIR)
$
(
IMPORTS:%
=
-l
%
)
install
::
$(MODULE)
$(MKINSTALLDIRS)
$(bindir)
$(INSTALL_PROGRAM)
wine
$(bindir)
/wine
...
...
miscemu/wine.spec
View file @
77afd6c4
name wine
mode guiexe
init wine_initial_task
tools/winebuild/README
View file @
77afd6c4
Spec file format
----------------
name NAME
type win16|win32
[name NAME]
[file WINFILENAME]
[mode dll|cuiexe|guiexe|cuiexe_unicode|guiexe_unicode]
[heap SIZE]
[stack SIZE]
[init FUNCTION]
[rsrc RESFILE]
[ignore ([SYMBOL [SYMBOL...]])]
...
...
@@ -29,9 +27,17 @@ ORDINAL forward [FLAGS] EXPORTNAME SYMBOLNAME
General:
========
"name" and "type" fields are mandatory. Specific ordinal
declarations are optional, but the default handler will print an error
message.
All declarations are optional; reasonable defaults will be used for
anything that isn't specified.
"name" is the internal name of the module. It is only used in Win16
modules. The default is to use the base name of the spec file (without
any extension). This is used for KERNEL, since it lives in
KRNL386.EXE. It shouldn't be needed otherwise.
"file" gives the name of the file containing the dll. If not specified
it is determined from the name of the source spec file. Normally you
shouldn't ever need to specify it explicitly.
"mode" specifies whether it is the spec file for a dll or the main exe.
This is only valid for Win32 spec files.
...
...
@@ -39,13 +45,6 @@ This is only valid for Win32 spec files.
"heap" is the size of the module local heap (only valid for Win16
modules); default is no local heap.
"stack" is the stack size for Win32 exe modules, in kilobytes; default
size is 1024 (1Mb stack).
"file" gives the name of the Windows file that is replaced by the
builtin. <name>.DLL is assumed if none is given. (This is important
for kernel, which lives in the Windows file KRNL386.EXE).
"init" specifies a function which will be called when this dll
is loaded. This is only valid for Win32 modules.
...
...
@@ -142,7 +141,7 @@ Equate ordinals:
================
This type defines an ordinal as an absolute value.
"EXPORTNAME" will be the name available for dynamic linking.
"EXPORTNAME" will be the name available for dynamic linking.
"DATA" can be a decimal number or a hex number preceeded by "0x".
Extern ordinals:
...
...
@@ -158,6 +157,5 @@ Forwarded ordinals:
This type defines an entry that is forwarded to another entry
point (kind of a symbolic link). "EXPORTNAME" will forward to the
entry point "SYMBOLNAME" that must be of the form "DLL.Function". This
entry point "SYMBOLNAME" that must be of the form "DLL.Function". This
type only works with Win32.
tools/winebuild/import.c
View file @
77afd6c4
...
...
@@ -116,16 +116,13 @@ static char *open_library( const char *name )
static
void
read_exported_symbols
(
const
char
*
name
,
struct
import
*
imp
)
{
FILE
*
f
;
char
buffer
[
1024
];
char
buffer
[
1024
]
,
prefix
[
80
]
;
char
*
fullname
,
*
cmdline
;
const
char
*
ext
;
int
size
,
err
;
imp
->
exports
=
NULL
;
imp
->
nb_exports
=
size
=
0
;
if
(
!
(
ext
=
strrchr
(
name
,
'.'
)))
ext
=
name
+
strlen
(
name
);
if
(
!
(
fullname
=
open_library
(
name
)))
return
;
cmdline
=
xmalloc
(
strlen
(
fullname
)
+
7
);
sprintf
(
cmdline
,
"nm -D %s"
,
fullname
);
...
...
@@ -134,15 +131,15 @@ static void read_exported_symbols( const char *name, struct import *imp )
if
(
!
(
f
=
popen
(
cmdline
,
"r"
)))
fatal_error
(
"Cannot execute '%s'
\n
"
,
cmdline
);
sprintf
(
prefix
,
"__wine_dllexport_%s"
,
make_c_identifier
(
name
)
);
while
(
fgets
(
buffer
,
sizeof
(
buffer
),
f
))
{
char
*
p
=
buffer
+
strlen
(
buffer
)
-
1
;
if
(
p
<
buffer
)
continue
;
if
(
*
p
==
'\n'
)
*
p
--
=
0
;
if
(
!
(
p
=
strstr
(
buffer
,
"__wine_dllexport_"
)))
continue
;
p
+=
17
;
if
(
strncmp
(
p
,
name
,
ext
-
name
))
continue
;
p
+=
ext
-
name
;
if
(
!
(
p
=
strstr
(
buffer
,
prefix
)))
continue
;
p
+=
strlen
(
prefix
);
if
(
*
p
++
!=
'_'
)
continue
;
if
(
imp
->
nb_exports
==
size
)
...
...
tools/winebuild/main.c
View file @
77afd6c4
...
...
@@ -119,6 +119,7 @@ static void do_f_flags( const char *arg );
static
void
do_define
(
const
char
*
arg
);
static
void
do_include
(
const
char
*
arg
);
static
void
do_exe_mode
(
const
char
*
arg
);
static
void
do_module
(
const
char
*
arg
);
static
void
do_spec
(
const
char
*
arg
);
static
void
do_def
(
const
char
*
arg
);
static
void
do_exe
(
const
char
*
arg
);
...
...
@@ -142,6 +143,7 @@ static const struct option_descr option_table[] =
{
"-D"
,
1
,
do_define
,
"-D sym Ignored for C flags compatibility"
},
{
"-I"
,
1
,
do_include
,
"-I dir Ignored for C flags compatibility"
},
{
"-m"
,
1
,
do_exe_mode
,
"-m mode Set the executable mode (cui|gui|cuiw|guiw)"
},
{
"-M"
,
1
,
do_module
,
"-M module Set the name of the main (Win32) module for a Win16 dll"
},
{
"-L"
,
1
,
do_lib
,
"-L directory Look for imports libraries in 'directory'"
},
{
"-l"
,
1
,
do_import
,
"-l lib.dll Import the specified library"
},
{
"-dl"
,
1
,
do_dimport
,
"-dl lib.dll Delay-import the specified library"
},
...
...
@@ -207,9 +209,16 @@ static void do_include( const char *arg )
static
void
do_spec
(
const
char
*
arg
)
{
char
*
p
;
if
(
exec_mode
!=
MODE_NONE
||
!
arg
[
0
])
do_usage
();
exec_mode
=
MODE_SPEC
;
open_input
(
arg
);
if
((
p
=
strrchr
(
arg
,
'/'
)))
strcpy
(
DLLFileName
,
p
+
1
);
else
strcpy
(
DLLFileName
,
arg
);
if
((
p
=
strrchr
(
DLLFileName
,
'.'
))
&&
!
strcmp
(
p
,
".spec"
))
*
p
=
0
;
if
(
!
strchr
(
DLLFileName
,
'.'
))
strcat
(
DLLFileName
,
".dll"
);
}
static
void
do_def
(
const
char
*
arg
)
...
...
@@ -227,7 +236,6 @@ static void do_exe( const char *arg )
exec_mode
=
MODE_EXE
;
if
((
p
=
strrchr
(
arg
,
'/'
)))
p
++
;
else
p
=
arg
;
strcpy
(
DLLName
,
p
);
strcpy
(
DLLFileName
,
p
);
if
(
!
strchr
(
DLLFileName
,
'.'
))
strcat
(
DLLFileName
,
".exe"
);
if
(
SpecMode
==
SPEC_MODE_DLL
)
SpecMode
=
SPEC_MODE_GUIEXE
;
...
...
@@ -242,6 +250,11 @@ static void do_exe_mode( const char *arg )
else
do_usage
();
}
static
void
do_module
(
const
char
*
arg
)
{
strcpy
(
owner_name
,
arg
);
}
static
void
do_glue
(
const
char
*
arg
)
{
if
(
exec_mode
!=
MODE_NONE
||
!
arg
[
0
])
do_usage
();
...
...
tools/winebuild/parser.c
View file @
77afd6c4
...
...
@@ -495,6 +495,8 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
input_file
=
file
;
current_line
=
1
;
if
(
owner_name
[
0
])
SpecType
=
SPEC_WIN16
;
while
((
token
=
GetToken
(
1
))
!=
NULL
)
{
if
(
strcmp
(
token
,
"name"
)
==
0
)
...
...
@@ -505,13 +507,6 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
{
strcpy
(
DLLFileName
,
GetToken
(
0
));
}
else
if
(
strcmp
(
token
,
"type"
)
==
0
)
{
token
=
GetToken
(
0
);
if
(
!
strcmp
(
token
,
"win16"
))
SpecType
=
SPEC_WIN16
;
else
if
(
!
strcmp
(
token
,
"win32"
))
SpecType
=
SPEC_WIN32
;
else
fatal_error
(
"Type must be 'win16' or 'win32'
\n
"
);
}
else
if
(
strcmp
(
token
,
"mode"
)
==
0
)
{
token
=
GetToken
(
0
);
...
...
@@ -528,12 +523,6 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
if
(
!
IsNumberString
(
token
))
fatal_error
(
"Expected number after heap
\n
"
);
DLLHeapSize
=
atoi
(
token
);
}
else
if
(
strcmp
(
token
,
"stack"
)
==
0
)
{
token
=
GetToken
(
0
);
if
(
!
IsNumberString
(
token
))
fatal_error
(
"Expected number after stack
\n
"
);
stack_size
=
atoi
(
token
);
}
else
if
(
strcmp
(
token
,
"init"
)
==
0
)
{
if
(
SpecType
==
SPEC_WIN16
)
...
...
@@ -549,12 +538,6 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
}
else
GetToken
(
0
);
/* skip it */
}
else
if
(
strcmp
(
token
,
"owner"
)
==
0
)
{
if
(
SpecType
!=
SPEC_WIN16
)
fatal_error
(
"Owner only supported for Win16 spec files
\n
"
);
strcpy
(
owner_name
,
GetToken
(
0
)
);
}
else
if
(
strcmp
(
token
,
"ignore"
)
==
0
)
{
if
(
SpecType
!=
SPEC_WIN32
)
...
...
@@ -575,19 +558,6 @@ SPEC_TYPE ParseTopLevel( FILE *file, int def_only )
fatal_error
(
"Expected name, id, length or ordinal
\n
"
);
}
if
(
!
DLLFileName
[
0
])
{
if
(
SpecMode
==
SPEC_MODE_DLL
)
{
strcpy
(
DLLFileName
,
DLLName
);
/* Append .dll to name if no extension present */
if
(
!
strrchr
(
DLLFileName
,
'.'
))
strcat
(
DLLFileName
,
".dll"
);
}
else
sprintf
(
DLLFileName
,
"%s.exe"
,
DLLName
);
}
if
(
SpecType
==
SPEC_WIN16
&&
!
owner_name
[
0
])
fatal_error
(
"'owner' not specified for Win16 dll
\n
"
);
...
...
tools/winebuild/spec16.c
View file @
77afd6c4
...
...
@@ -199,6 +199,7 @@ static int BuildModule16( FILE *outfile, int max_code_offset,
/* First entry is module name */
*
pstr
=
strlen
(
DLLName
);
strcpy
(
pstr
+
1
,
DLLName
);
strupper
(
pstr
+
1
);
pstr
+=
*
pstr
+
1
;
*
pstr
++
=
0
;
*
pstr
++
=
0
;
...
...
@@ -588,7 +589,7 @@ static void output_stub_funcs( FILE *outfile )
fprintf
(
outfile
,
" rec.flags = %d;
\n
"
,
EH_NONCONTINUABLE
);
fprintf
(
outfile
,
" rec.rec = 0;
\n
"
);
fprintf
(
outfile
,
" rec.params = 2;
\n
"
);
fprintf
(
outfile
,
" rec.info[0] =
dllname;
\n
"
);
fprintf
(
outfile
,
" rec.info[0] =
\"
%s
\"
;
\n
"
,
DLLFileName
);
fprintf
(
outfile
,
" rec.info[1] = func;
\n
"
);
fprintf
(
outfile
,
"#ifdef __GNUC__
\n
"
);
fprintf
(
outfile
,
" rec.addr = __builtin_return_address(1);
\n
"
);
...
...
@@ -639,9 +640,13 @@ void BuildSpec16File( FILE *outfile )
data
=
(
unsigned
char
*
)
xmalloc
(
0x10000
);
memset
(
data
,
0
,
16
);
data_offset
=
16
;
strupper
(
DLLName
);
fprintf
(
outfile
,
"static const char dllname[] =
\"
%s
\"
;
\n\n
"
,
DLLName
);
if
(
!
DLLName
[
0
])
/* set default name from file name */
{
char
*
p
;
strcpy
(
DLLName
,
DLLFileName
);
if
((
p
=
strrchr
(
DLLName
,
'.'
)))
*
p
=
0
;
}
output_stub_funcs
(
outfile
);
...
...
@@ -683,7 +688,7 @@ void BuildSpec16File( FILE *outfile )
char
profile
[
101
];
strcpy
(
profile
,
get_function_name
(
typelist
[
i
]
));
BuildCallFrom16Func
(
outfile
,
profile
,
DLLName
);
BuildCallFrom16Func
(
outfile
,
profile
,
DLL
File
Name
);
}
#endif
...
...
@@ -780,7 +785,7 @@ void BuildSpec16File( FILE *outfile )
#ifdef __i386__
fprintf
(
outfile
,
" { 0x68, __wine_%s_CallFrom16_%s, 0x9a, __wine_call_from_16_%s,
\n
"
,
make_c_identifier
(
DLLName
),
profile
,
make_c_identifier
(
DLL
File
Name
),
profile
,
(
typelist
[
i
]
->
flags
&
(
FLAG_REGISTER
|
FLAG_INTERRUPT
))
?
"regs"
:
typelist
[
i
]
->
type
==
TYPE_PASCAL_16
?
"word"
:
"long"
);
if
(
argsize
)
...
...
@@ -878,8 +883,8 @@ void BuildSpec16File( FILE *outfile )
/* Output the DLL constructor */
sprintf
(
constructor
,
"__wine_spec_%s_init"
,
make_c_identifier
(
DLLName
)
);
sprintf
(
destructor
,
"__wine_spec_%s_fini"
,
make_c_identifier
(
DLLName
)
);
sprintf
(
constructor
,
"__wine_spec_%s_init"
,
make_c_identifier
(
DLL
File
Name
)
);
sprintf
(
destructor
,
"__wine_spec_%s_fini"
,
make_c_identifier
(
DLL
File
Name
)
);
output_dll_init
(
outfile
,
constructor
,
destructor
);
fprintf
(
outfile
,
...
...
@@ -942,4 +947,3 @@ void BuildGlue( FILE *outfile, FILE *infile )
fclose
(
infile
);
}
tools/winebuild/spec32.c
View file @
77afd6c4
...
...
@@ -53,12 +53,12 @@ static const char *make_internal_name( const ORDDEF *odp, const char *prefix )
if
(
odp
->
name
[
0
])
{
char
*
p
;
sprintf
(
buffer
,
"__wine_%s_%s_%s"
,
prefix
,
DLLName
,
odp
->
name
);
sprintf
(
buffer
,
"__wine_%s_%s_%s"
,
prefix
,
DLL
File
Name
,
odp
->
name
);
/* make sure name is a legal C identifier */
for
(
p
=
buffer
;
*
p
;
p
++
)
if
(
!
isalnum
(
*
p
)
&&
*
p
!=
'_'
)
break
;
if
(
!*
p
)
return
buffer
;
}
sprintf
(
buffer
,
"__wine_%s_%s_%d"
,
prefix
,
make_c_identifier
(
DLLName
),
odp
->
ordinal
);
sprintf
(
buffer
,
"__wine_%s_%s_%d"
,
prefix
,
make_c_identifier
(
DLL
File
Name
),
odp
->
ordinal
);
return
buffer
;
}
...
...
@@ -310,9 +310,9 @@ static int output_exports( FILE *outfile, int nr_exports )
if
(
!
isalnum
(
*
p
)
&&
*
p
!=
'_'
&&
*
p
!=
'.'
)
break
;
if
(
*
p
)
continue
;
fprintf
(
outfile
,
"
\"\\
t.globl "
PREFIX
"__wine_dllexport_%s_%s
\\
n
\"\n
"
,
make_c_identifier
(
DLLName
),
Names
[
i
]
->
name
);
make_c_identifier
(
DLL
File
Name
),
Names
[
i
]
->
name
);
fprintf
(
outfile
,
"
\"
"
PREFIX
"__wine_dllexport_%s_%s:
\\
n
\"\n
"
,
make_c_identifier
(
DLLName
),
Names
[
i
]
->
name
);
make_c_identifier
(
DLL
File
Name
),
Names
[
i
]
->
name
);
}
fprintf
(
outfile
,
"
\"\\
t.long 0xffffffff
\\
n
\"\n
"
);
...
...
@@ -475,7 +475,6 @@ void output_dll_init( FILE *outfile, const char *constructor, const char *destru
{
fprintf
(
outfile
,
"asm(
\"\\
t.section
\t
.fini ,
\\\"
ax
\\\"\\
n
\"\n
"
);
fprintf
(
outfile
,
"
\"\\
tbl "
PREFIX
"%s
\\
n
\"\n
"
,
destructor
);
DLLName
);
fprintf
(
outfile
,
"
\"\\
t.previous
\\
n
\"
);
\n
"
);
}
#else
...
...
@@ -527,7 +526,7 @@ void BuildSpec32File( FILE *outfile )
fprintf
(
outfile
,
"
\"
.align %d
\\
n
\"\n
"
,
get_alignment
(
page_size
)
);
fprintf
(
outfile
,
"
\"
"
PREFIX
"pe_header:
\\
t.fill %ld,1,0
\\
n
\\
t
\"
);
\n
"
,
page_size
);
fprintf
(
outfile
,
"static const char dllname[] =
\"
%s
\"
;
\n\n
"
,
DLLName
);
fprintf
(
outfile
,
"static const char dllname[] =
\"
%s
\"
;
\n\n
"
,
DLL
File
Name
);
fprintf
(
outfile
,
"extern int __wine_spec_exports[];
\n\n
"
);
#ifdef __i386__
...
...
@@ -775,7 +774,7 @@ void BuildSpec32File( FILE *outfile )
/* Output the DLL constructor */
sprintf
(
constructor
,
"__wine_spec_%s_init"
,
make_c_identifier
(
DLLName
)
);
sprintf
(
constructor
,
"__wine_spec_%s_init"
,
make_c_identifier
(
DLL
File
Name
)
);
output_dll_init
(
outfile
,
constructor
,
NULL
);
fprintf
(
outfile
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment