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
f3215eba
Commit
f3215eba
authored
Oct 19, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get/SetFastQueue16 should use HQUEUE16 handles.
parent
6fa2ac69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
winbase16.h
include/wine/winbase16.h
+2
-2
task.c
loader/task.c
+4
-4
No files found.
include/wine/winbase16.h
View file @
f3215eba
...
...
@@ -197,7 +197,7 @@ SEGPTR WINAPI GetDOSEnvironment16(void);
HMODULE16
WINAPI
GetExePtr
(
HANDLE16
);
WORD
WINAPI
GetExeVersion16
(
void
);
WORD
WINAPI
GetExpWinVer16
(
HMODULE16
);
H
ANDLE
WINAPI
GetFastQueue16
(
void
);
H
QUEUE16
WINAPI
GetFastQueue16
(
void
);
DWORD
WINAPI
GetHeapSpaces16
(
HMODULE16
);
INT16
WINAPI
GetInstanceData16
(
HINSTANCE16
,
WORD
,
INT16
);
BOOL16
WINAPI
GetModuleName16
(
HINSTANCE16
,
LPSTR
,
INT16
);
...
...
@@ -237,7 +237,7 @@ VOID WINAPI WIN32_OldYield16(void);
VOID
WINAPI
PostEvent16
(
HTASK16
);
WORD
WINAPI
PrestoChangoSelector16
(
WORD
,
WORD
);
WORD
WINAPI
SelectorAccessRights16
(
WORD
,
WORD
,
WORD
);
void
WINAPI
SetFastQueue16
(
DWORD
,
H
ANDLE
);
void
WINAPI
SetFastQueue16
(
DWORD
,
H
QUEUE16
);
VOID
WINAPI
SetPriority16
(
HTASK16
,
INT16
);
FARPROC16
WINAPI
SetResourceHandler16
(
HINSTANCE16
,
LPCSTR
,
FARPROC16
);
WORD
WINAPI
SetSelectorLimit16
(
WORD
,
DWORD
);
...
...
loader/task.c
View file @
f3215eba
...
...
@@ -1044,7 +1044,7 @@ HQUEUE16 WINAPI GetThreadQueue16( DWORD thread )
/***********************************************************************
* SetFastQueue (KERNEL.624)
*/
VOID
WINAPI
SetFastQueue16
(
DWORD
thread
,
H
ANDLE
hQueue
)
VOID
WINAPI
SetFastQueue16
(
DWORD
thread
,
H
QUEUE16
hQueue
)
{
TEB
*
teb
=
NULL
;
if
(
!
thread
)
...
...
@@ -1054,15 +1054,15 @@ VOID WINAPI SetFastQueue16( DWORD thread, HANDLE hQueue )
else
if
(
IsTask16
(
(
HTASK16
)
thread
)
)
teb
=
(
TASK_GetPtr
(
(
HANDLE16
)
thread
))
->
teb
;
if
(
teb
)
teb
->
queue
=
(
HQUEUE16
)
hQueue
;
if
(
teb
)
teb
->
queue
=
hQueue
;
}
/***********************************************************************
* GetFastQueue (KERNEL.625)
*/
H
ANDLE
WINAPI
GetFastQueue16
(
void
)
H
QUEUE16
WINAPI
GetFastQueue16
(
void
)
{
H
ANDLE
ret
=
(
HANDLE
)
NtCurrentTeb
()
->
queue
;
H
QUEUE16
ret
=
NtCurrentTeb
()
->
queue
;
if
(
!
ret
)
FIXME
(
"(): should initialize thread-local queue, expect failure!
\n
"
);
return
ret
;
...
...
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