Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
73663071
Commit
73663071
authored
Apr 10, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
Apr 10, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Call InitApp16 (using Callout) for initial process.
parent
a95b4886
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
thunk.c
if1632/thunk.c
+1
-0
callback.h
include/callback.h
+1
-0
callback.c
misc/callback.c
+1
-1
main.c
miscemu/main.c
+4
-1
No files found.
if1632/thunk.c
View file @
73663071
...
...
@@ -888,6 +888,7 @@ void THUNK_InitCallout(void)
GETADDR
(
TranslateMessage16
,
"TranslateMessage"
,
word_l
);
GETADDR
(
DispatchMessage16
,
"DispatchMessage"
,
long_l
);
GETADDR
(
RedrawWindow16
,
"RedrawWindow"
,
word_wlww
);
GETADDR
(
InitApp16
,
"InitApp"
,
word_w
);
GETADDR
(
InitThreadInput16
,
"InitThreadInput"
,
word_ww
);
GETADDR
(
UserYield16
,
"UserYield"
,
word_
);
GETADDR
(
DestroyIcon32
,
"DestroyIcon32"
,
word_ww
);
...
...
include/callback.h
View file @
73663071
...
...
@@ -125,6 +125,7 @@ typedef struct
WORD
WINAPI
(
*
UserSignalProc
)(
UINT
uCode
,
DWORD
dwThreadOrProcessID
,
DWORD
dwFlags
,
HMODULE16
hModule
);
INT16
WINAPI
(
*
InitApp16
)(
HINSTANCE16
hInst
);
HQUEUE16
WINAPI
(
*
InitThreadInput16
)(
WORD
unknown
,
WORD
flags
);
void
WINAPI
(
*
UserYield16
)(
void
);
WORD
WINAPI
(
*
DestroyIcon32
)(
HGLOBAL16
handle
,
UINT16
flags
);
...
...
misc/callback.c
View file @
73663071
...
...
@@ -332,7 +332,7 @@ CALLOUT_TABLE Callout =
DispatchMessage16
,
DispatchMessageA
,
DispatchMessageW
,
RedrawWindow16
,
RedrawWindow
,
UserSignalProc
,
InitThreadInput16
,
Init
App16
,
Init
ThreadInput16
,
UserYield16
,
CURSORICON_Destroy
};
...
...
miscemu/main.c
View file @
73663071
...
...
@@ -59,6 +59,9 @@ void MAIN_EmulatorRun( void )
/* Get pointers to USER routines called by KERNEL */
THUNK_InitCallout
();
/* Call InitApp for initial task */
Callout
.
InitApp16
(
MapHModuleLS
(
0
)
);
/* Add the Default Program if no program on the command line */
if
(
!
MAIN_argv
[
1
])
{
...
...
@@ -76,7 +79,7 @@ void MAIN_EmulatorRun( void )
if
(
MAIN_argc
<=
1
)
{
MAIN_Usage
(
MAIN_argv
[
0
]);
exit
(
1
);
ExitProcess
(
1
);
}
/* Load and run executables given on command line */
...
...
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