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
3b6af707
Commit
3b6af707
authored
Feb 23, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386: GetCodeHandle returns a DWORD.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
16943efa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
krnl386.exe16.spec
dlls/krnl386.exe16/krnl386.exe16.spec
+1
-1
task.c
dlls/krnl386.exe16/task.c
+2
-2
winbase16.h
include/wine/winbase16.h
+1
-1
No files found.
dlls/krnl386.exe16/krnl386.exe16.spec
View file @
3b6af707
...
...
@@ -94,7 +94,7 @@
90 pascal -ret16 lstrlen(str) lstrlen16
91 pascal -register InitTask() InitTask16
92 pascal GetTempDrive(word) GetTempDrive
93 pascal
-ret16
GetCodeHandle(segptr) GetCodeHandle16
93 pascal GetCodeHandle(segptr) GetCodeHandle16
94 pascal -ret16 DefineHandleTable(word) DefineHandleTable16
95 pascal -ret16 LoadLibrary(str) LoadLibrary16
96 pascal -ret16 FreeLibrary(word) FreeLibrary16
...
...
dlls/krnl386.exe16/task.c
View file @
3b6af707
...
...
@@ -984,14 +984,14 @@ static BOOL TASK_GetCodeSegment( FARPROC16 proc, NE_MODULE **ppModule,
/**********************************************************************
* GetCodeHandle (KERNEL.93)
*/
HANDLE16
WINAPI
GetCodeHandle16
(
FARPROC16
proc
)
DWORD
WINAPI
GetCodeHandle16
(
FARPROC16
proc
)
{
SEGTABLEENTRY
*
pSeg
;
if
(
!
TASK_GetCodeSegment
(
proc
,
NULL
,
&
pSeg
,
NULL
)
)
return
0
;
return
pSeg
->
hSeg
;
return
MAKELONG
(
pSeg
->
hSeg
,
GlobalHandleToSel16
(
pSeg
->
hSeg
)
)
;
}
/**********************************************************************
...
...
include/wine/winbase16.h
View file @
3b6af707
...
...
@@ -357,7 +357,7 @@ VOID WINAPI FarSetOwner16(HGLOBAL16,HANDLE16);
FARPROC16
WINAPI
FileCDR16
(
FARPROC16
);
WORD
WINAPI
FreeSelector16
(
WORD
);
HANDLE16
WINAPI
GetAtomHandle16
(
ATOM
);
HANDLE16
WINAPI
GetCodeHandle16
(
FARPROC16
);
DWORD
WINAPI
GetCodeHandle16
(
FARPROC16
);
BOOL16
WINAPI
GetCodeInfo16
(
FARPROC16
,
SEGINFO
*
);
DWORD
WINAPI
GetCurrentPDB16
(
void
);
HTASK16
WINAPI
GetCurrentTask
(
void
);
...
...
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