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
7c4b1403
Commit
7c4b1403
authored
Jul 30, 2001
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed HTASK/HTASK16 handle mismatch.
parent
e54cf7b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
task.h
include/task.h
+2
-2
module.c
loader/ne/module.c
+1
-1
task.c
loader/task.c
+3
-2
No files found.
include/task.h
View file @
7c4b1403
...
...
@@ -146,8 +146,8 @@ typedef struct _THHOOK
extern
THHOOK
*
pThhook
;
extern
void
TASK_CreateMainTask
(
void
);
extern
HTASK
TASK_SpawnTask
(
struct
_NE_MODULE
*
pModule
,
WORD
cmdShow
,
LPCSTR
cmdline
,
BYTE
len
,
HANDLE
*
hThread
);
extern
HTASK
16
TASK_SpawnTask
(
struct
_NE_MODULE
*
pModule
,
WORD
cmdShow
,
LPCSTR
cmdline
,
BYTE
len
,
HANDLE
*
hThread
);
extern
void
TASK_ExitTask
(
void
);
extern
HTASK16
TASK_GetNextTask
(
HTASK16
hTask
);
extern
TDB
*
TASK_GetPtr
(
HTASK16
hTask
);
...
...
loader/ne/module.c
View file @
7c4b1403
...
...
@@ -987,7 +987,7 @@ static HINSTANCE16 NE_CreateThread( NE_MODULE *pModule, WORD cmdShow, LPCSTR cmd
{
HANDLE
hThread
;
TDB
*
pTask
;
HTASK
hTask
;
HTASK
16
hTask
;
HINSTANCE16
instance
=
0
;
if
(
!
(
hTask
=
TASK_SpawnTask
(
pModule
,
cmdShow
,
cmdline
+
1
,
*
cmdline
,
&
hThread
)))
...
...
loader/task.c
View file @
7c4b1403
...
...
@@ -54,7 +54,7 @@ THHOOK *pThhook = &DefaultThhook;
static
UINT16
nTaskCount
=
0
;
static
HTASK
initial_task
;
static
HTASK
16
initial_task
;
/***********************************************************************
* TASK_InstallTHHook
...
...
@@ -437,7 +437,8 @@ static DWORD CALLBACK task_start( TDB *pTask )
*
* Spawn a new 16-bit task.
*/
HTASK
TASK_SpawnTask
(
NE_MODULE
*
pModule
,
WORD
cmdShow
,
LPCSTR
cmdline
,
BYTE
len
,
HANDLE
*
hThread
)
HTASK16
TASK_SpawnTask
(
NE_MODULE
*
pModule
,
WORD
cmdShow
,
LPCSTR
cmdline
,
BYTE
len
,
HANDLE
*
hThread
)
{
TDB
*
pTask
;
...
...
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