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
76d3671b
Commit
76d3671b
authored
Jul 28, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added 'owner' field to 16-bit spec files to specify the name of the
32-bit dll that contains it.
parent
a3502ccf
Hide whitespace changes
Inline
Side-by-side
Showing
48 changed files
with
56 additions
and
0 deletions
+56
-0
avifile.spec
dlls/avifil32/avifile.spec
+1
-0
commdlg.spec
dlls/commdlg/commdlg.spec
+1
-0
dispdib.spec
dlls/gdi/dispdib.spec
+1
-0
gdi.spec
dlls/gdi/gdi.spec
+1
-0
wing.spec
dlls/gdi/wing.spec
+1
-0
comm.spec
dlls/kernel/comm.spec
+1
-0
kernel.spec
dlls/kernel/kernel.spec
+1
-0
stress.spec
dlls/kernel/stress.spec
+1
-0
system.spec
dlls/kernel/system.spec
+1
-0
toolhelp.spec
dlls/kernel/toolhelp.spec
+1
-0
win87em.spec
dlls/kernel/win87em.spec
+1
-0
windebug.spec
dlls/kernel/windebug.spec
+1
-0
wprocs.spec
dlls/kernel/wprocs.spec
+1
-0
lzexpand.spec
dlls/lzexpand/lzexpand.spec
+1
-0
msacm.spec
dlls/msacm/msacm.spec
+1
-0
msvideo.spec
dlls/msvideo/msvideo.spec
+1
-0
compobj.spec
dlls/ole32/compobj.spec
+1
-0
ole2.spec
dlls/ole32/ole2.spec
+1
-0
ole2conv.spec
dlls/ole32/ole2conv.spec
+1
-0
ole2nls.spec
dlls/ole32/ole2nls.spec
+1
-0
ole2prox.spec
dlls/ole32/ole2prox.spec
+1
-0
ole2thk.spec
dlls/ole32/ole2thk.spec
+1
-0
storage.spec
dlls/ole32/storage.spec
+1
-0
ole2disp.spec
dlls/oleaut32/ole2disp.spec
+1
-0
typelib.spec
dlls/oleaut32/typelib.spec
+1
-0
olecli.spec
dlls/olecli/olecli.spec
+1
-0
olesvr.spec
dlls/olesvr/olesvr.spec
+1
-0
rasapi16.spec
dlls/rasapi32/rasapi16.spec
+1
-0
setupx.spec
dlls/setupapi/setupx.spec
+1
-0
shell.spec
dlls/shell32/shell.spec
+1
-0
ddeml.spec
dlls/user/ddeml.spec
+1
-0
display.spec
dlls/user/display.spec
+1
-0
keyboard.spec
dlls/user/keyboard.spec
+1
-0
mouse.spec
dlls/user/mouse.spec
+1
-0
user.spec
dlls/user/user.spec
+1
-0
ver.spec
dlls/version/ver.spec
+1
-0
w32sys.spec
dlls/win32s/w32sys.spec
+1
-0
win32s16.spec
dlls/win32s/win32s16.spec
+1
-0
winaspi.spec
dlls/winaspi/winaspi.spec
+1
-0
wineps16.spec
dlls/wineps/wineps16.spec
+1
-0
mmsystem.spec
dlls/winmm/mmsystem.spec
+1
-0
sound.spec
dlls/winmm/sound.spec
+1
-0
winsock.spec
dlls/winsock/winsock.spec
+1
-0
builtin16.h
include/builtin16.h
+1
-0
build.h
tools/winebuild/build.h
+1
-0
main.c
tools/winebuild/main.c
+1
-0
parser.c
tools/winebuild/parser.c
+9
-0
spec16.c
tools/winebuild/spec16.c
+1
-0
No files found.
dlls/avifil32/avifile.spec
View file @
76d3671b
name avifile
type win16
owner avifil32
1 stub WEP
2 stub DLLGETCLASSOBJECT
...
...
dlls/commdlg/commdlg.spec
View file @
76d3671b
name commdlg
type win16
owner comdlg32
1 pascal16 GetOpenFileName(segptr) GetOpenFileName16
2 pascal16 GetSaveFileName(segptr) GetSaveFileName16
...
...
dlls/gdi/dispdib.spec
View file @
76d3671b
name dispdib
type win16
owner gdi32
1 pascal16 DISPLAYDIB(ptr ptr word) DisplayDib
dlls/gdi/gdi.spec
View file @
76d3671b
...
...
@@ -2,6 +2,7 @@ name gdi
type win16
heap 65488 # 65536 - 16 (instance data) - 32 (stock objects)
file gdi.exe
owner gdi32
1 pascal SetBkColor(word long) SetBkColor16
2 pascal16 SetBkMode(word word) SetBkMode16
...
...
dlls/gdi/wing.spec
View file @
76d3671b
name wing
type win16
owner gdi32
1001 pascal16 WINGCREATEDC() WinGCreateDC16
1002 pascal16 WINGRECOMMENDDIBFORMAT(ptr) WinGRecommendDIBFormat16
...
...
dlls/kernel/comm.spec
View file @
76d3671b
name comm
type win16
owner kernel32
1 stub INICOM
2 stub SETCOM
...
...
dlls/kernel/kernel.spec
View file @
76d3671b
name kernel
type win16
file krnl386.exe
owner kernel32
# 1-207 are the basic functions, those are (with minor variations)
# present in win31, win95 and nt351
...
...
dlls/kernel/stress.spec
View file @
76d3671b
...
...
@@ -2,6 +2,7 @@
#
name stress
type win16
owner kernel32
2 pascal allocmem(long) AllocMem
3 pascal freeallmem() FreeAllMem
...
...
dlls/kernel/system.spec
View file @
76d3671b
name system
type win16
owner kernel32
1 pascal InquireSystem(word word) InquireSystem16
2 pascal16 CreateSystemTimer(word segptr) WIN16_CreateSystemTimer
...
...
dlls/kernel/toolhelp.spec
View file @
76d3671b
name toolhelp
type win16
owner kernel32
50 pascal16 GlobalHandleToSel(word) GlobalHandleToSel16
51 pascal16 GlobalFirst(ptr word) GlobalFirst16
...
...
dlls/kernel/win87em.spec
View file @
76d3671b
name win87em
type win16
owner kernel32
1 register _fpMath() WIN87_fpmath
3 pascal16 __WinEm87Info(ptr word) WIN87_WinEm87Info
...
...
dlls/kernel/windebug.spec
View file @
76d3671b
name windebug
type win16
owner kernel32
1 stub WINDEBUG
2 stub WEP
...
...
dlls/kernel/wprocs.spec
View file @
76d3671b
name wprocs
type win16
owner kernel32
23 pascal UTGlue16(ptr long ptr long) UTGlue16
27 pascal EntryAddrProc(word word) WIN16_NE_GetEntryPoint
...
...
dlls/lzexpand/lzexpand.spec
View file @
76d3671b
name lzexpand
type win16
owner lz32
1 pascal LZCopy(word word) LZCopy16
2 pascal16 LZOpenFile(str ptr word) LZOpenFile16
...
...
dlls/msacm/msacm.spec
View file @
76d3671b
name msacm
type win16
owner msacm32
1 stub WEP
2 stub DRIVERPROC
...
...
dlls/msvideo/msvideo.spec
View file @
76d3671b
name msvideo
type win16
owner msvfw32
2 pascal VideoForWindowsVersion() VideoForWindowsVersion
20 stub VIDEOGETNUMDEVS
...
...
dlls/ole32/compobj.spec
View file @
76d3671b
name compobj
type win16
owner ole32
1 pascal CoBuildVersion() CoBuildVersion
2 pascal CoInitialize(long) CoInitialize16
...
...
dlls/ole32/ole2.spec
View file @
76d3671b
name ole2
type win16
owner ole32
1 pascal OleBuildVersion() OleBuildVersion
2 pascal OleInitialize(ptr) OleInitialize
...
...
dlls/ole32/ole2conv.spec
View file @
76d3671b
name ole2conv
type win16
owner ole32
1 stub GETFILTERINFO
2 stub IMPORTGR
...
...
dlls/ole32/ole2nls.spec
View file @
76d3671b
name ole2nls
type win16
owner ole32
1 pascal GetUserDefaultLCID() GetUserDefaultLCID
2 pascal GetSystemDefaultLCID() GetSystemDefaultLCID
...
...
dlls/ole32/ole2prox.spec
View file @
76d3671b
name ole2prox
type win16
owner ole32
1 stub DLLGETCLASSOBJECT
#2 WEP
...
...
dlls/ole32/ole2thk.spec
View file @
76d3671b
name ole2thk
type win16
owner ole32
1 stub WEP
2 stub ROT16_ISRUNNING16
...
...
dlls/ole32/storage.spec
View file @
76d3671b
...
...
@@ -3,6 +3,7 @@
# 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 @
76d3671b
name ole2disp
type win16
owner oleaut32
1 stub DLLGETCLASSOBJECT
2 pascal SysAllocString(str) SysAllocString16
...
...
dlls/oleaut32/typelib.spec
View file @
76d3671b
name typelib
type win16
owner oleaut32
2 stub CREATETYPELIB
3 pascal LoadTypeLib(ptr ptr) LoadTypeLib16
...
...
dlls/olecli/olecli.spec
View file @
76d3671b
name olecli
type win16
owner olecli32
#1 WEP
2 stub OLEDELETE
...
...
dlls/olesvr/olesvr.spec
View file @
76d3671b
name olesvr
type win16
owner olesvr32
#1 WEP
2 pascal OleRegisterServer(str ptr ptr word word) OleRegisterServer16
...
...
dlls/rasapi32/rasapi16.spec
View file @
76d3671b
name rasapi16
type win16
owner rasapi32
#1 stub WEP
#2 stub DLLENTRYPOINT
...
...
dlls/setupapi/setupx.spec
View file @
76d3671b
name setupx
type win16
owner setupapi
1 stub WEP
2 stub IPOPEN
...
...
dlls/shell32/shell.spec
View file @
76d3671b
name shell
type win16
owner shell32
1 pascal RegOpenKey(long str ptr) RegOpenKey16
2 pascal RegCreateKey(long str ptr) RegCreateKey16
...
...
dlls/user/ddeml.spec
View file @
76d3671b
name ddeml
type win16
owner user32
2 pascal16 DdeInitialize(ptr segptr long long) DdeInitialize16
3 pascal16 DdeUninitialize(long) DdeUninitialize16
...
...
dlls/user/display.spec
View file @
76d3671b
name display
type win16
owner user32
rsrc disp
1 stub BitBlt
...
...
dlls/user/keyboard.spec
View file @
76d3671b
name keyboard
type win16
owner user32
1 pascal16 Inquire(ptr) KEYBOARD_Inquire
2 pascal16 Enable(segptr ptr) WIN16_KEYBOARD_Enable
...
...
dlls/user/mouse.spec
View file @
76d3671b
name mouse
type win16
owner user32
rsrc mouserc
1 pascal16 Inquire(ptr) MOUSE_Inquire
...
...
dlls/user/user.spec
View file @
76d3671b
...
...
@@ -2,6 +2,7 @@ name user
type win16
heap 65520
file user.exe
owner user32
1 pascal16 MessageBox(word str str word) MessageBox16
2 stub OldExitWindows
...
...
dlls/version/ver.spec
View file @
76d3671b
name ver
type win16
owner version
#1 DLLENTRYPOINT
...
...
dlls/win32s/w32sys.spec
View file @
76d3671b
name w32sys
type win16
owner w32skrnl
#1 WEP
2 pascal16 IsPeFormat(str word) IsPeFormat16
...
...
dlls/win32s/win32s16.spec
View file @
76d3671b
name win32s16
type win16
owner w32skrnl
1 stub WEP
2 pascal16 BootTask() BootTask16
...
...
dlls/winaspi/winaspi.spec
View file @
76d3671b
name winaspi
type win16
owner wnaspi32
1 pascal16 GetASPISupportInfo() GetASPISupportInfo16
2 pascal16 SendASPICommand(segptr) SendASPICommand16
...
...
dlls/wineps/wineps16.spec
View file @
76d3671b
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
...
...
dlls/winmm/mmsystem.spec
View file @
76d3671b
name mmsystem
type win16
owner winmm
#1 pascal MMSYSTEM_WEP(word word word ptr) MMSYSTEM_WEP
2 pascal sndPlaySound(ptr word) sndPlaySound16
...
...
dlls/winmm/sound.spec
View file @
76d3671b
name sound
type win16
owner winmm
1 pascal16 OpenSound() OpenSound16
2 pascal16 CloseSound() CloseSound16
...
...
dlls/winsock/winsock.spec
View file @
76d3671b
...
...
@@ -5,6 +5,7 @@
#
name winsock
type win16
owner ws2_32
1 pascal16 accept(word ptr ptr) WINSOCK_accept16
2 pascal16 bind(word ptr word) WINSOCK_bind16
...
...
include/builtin16.h
View file @
76d3671b
...
...
@@ -78,6 +78,7 @@ typedef struct
int
module_size
;
/* Size of the module data */
const
BYTE
*
code_start
;
/* 32-bit address of DLL code */
const
BYTE
*
data_start
;
/* 32-bit address of DLL data */
const
char
*
owner
;
/* 32-bit dll that contains this dll */
const
void
*
rsrc
;
/* resources data */
}
BUILTIN16_DESCRIPTOR
;
...
...
tools/winebuild/build.h
View file @
76d3671b
...
...
@@ -162,6 +162,7 @@ extern char DLLName[80];
extern
char
DLLFileName
[
80
];
extern
char
DLLInitFunc
[
80
];
extern
char
rsrc_name
[
80
];
extern
char
owner_name
[
80
];
extern
char
*
DLLImports
[
MAX_IMPORTS
];
extern
const
char
*
input_file_name
;
extern
const
char
*
output_file_name
;
...
...
tools/winebuild/main.c
View file @
76d3671b
...
...
@@ -46,6 +46,7 @@ char DLLFileName[80];
char
DLLInitFunc
[
80
];
char
*
DLLImports
[
MAX_IMPORTS
];
char
rsrc_name
[
80
];
char
owner_name
[
80
];
const
char
*
input_file_name
;
const
char
*
output_file_name
;
...
...
tools/winebuild/parser.c
View file @
76d3671b
...
...
@@ -467,6 +467,12 @@ SPEC_TYPE ParseTopLevel( FILE *file )
strcpy
(
rsrc_name
,
GetToken
()
);
strcat
(
rsrc_name
,
"_ResourceDescriptor"
);
}
else
if
(
strcmp
(
token
,
"owner"
)
==
0
)
{
if
(
SpecType
!=
SPEC_WIN16
)
fatal_error
(
"Owner only supported for Win16 spec files
\n
"
);
strcpy
(
owner_name
,
GetToken
()
);
}
else
if
(
strcmp
(
token
,
"@"
)
==
0
)
{
if
(
SpecType
!=
SPEC_WIN32
)
...
...
@@ -490,6 +496,9 @@ SPEC_TYPE ParseTopLevel( FILE *file )
}
if
(
SpecType
==
SPEC_INVALID
)
fatal_error
(
"Missing 'type' declaration
\n
"
);
if
(
SpecType
==
SPEC_WIN16
&&
!
owner_name
[
0
])
fatal_error
(
"'owner' not specified for Win16 dll
\n
"
);
current_line
=
0
;
/* no longer parsing the input file */
return
SpecType
;
}
tools/winebuild/spec16.c
View file @
76d3671b
...
...
@@ -707,6 +707,7 @@ void BuildSpec16File( FILE *outfile )
fprintf
(
outfile
,
" sizeof(Module),
\n
"
);
fprintf
(
outfile
,
" (BYTE *)&Code_Segment,
\n
"
);
fprintf
(
outfile
,
" (BYTE *)Data_Segment,
\n
"
);
fprintf
(
outfile
,
"
\"
%s
\"
,
\n
"
,
owner_name
);
fprintf
(
outfile
,
" %s
\n
"
,
rsrc_name
[
0
]
?
rsrc_name
:
"0"
);
fprintf
(
outfile
,
"};
\n
"
);
...
...
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