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
85a7ff40
Commit
85a7ff40
authored
Oct 11, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Oct 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GlobalFix16 is supposed to return selector to the memory area.
parent
0b597bce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
windows.h
include/windows.h
+1
-1
global.c
memory/global.c
+4
-2
No files found.
include/windows.h
View file @
85a7ff40
...
...
@@ -8234,7 +8234,7 @@ UINT32 WINAPI GlobalGetAtomName32W(ATOM,LPWSTR,INT32);
DWORD
WINAPI
GlobalHandle16
(
WORD
);
HGLOBAL32
WINAPI
GlobalHandle32
(
LPCVOID
);
#define GlobalHandle WINELIB_NAME(GlobalHandle)
VOI
D
WINAPI
GlobalFix16
(
HGLOBAL16
);
WOR
D
WINAPI
GlobalFix16
(
HGLOBAL16
);
VOID
WINAPI
GlobalFix32
(
HGLOBAL32
);
#define GlobalFix WINELIB_NAME(GlobalFix)
LPVOID
WINAPI
GlobalLock16
(
HGLOBAL16
);
...
...
memory/global.c
View file @
85a7ff40
...
...
@@ -808,14 +808,16 @@ WORD WINAPI GlobalPageUnlock( HGLOBAL16 handle )
/***********************************************************************
* GlobalFix16 (KERNEL.197)
*/
void
WINAPI
GlobalFix16
(
HGLOBAL16
handle
)
WORD
WINAPI
GlobalFix16
(
HGLOBAL16
handle
)
{
TRACE
(
global
,
"%04x
\n
"
,
handle
);
if
(
!
VALID_HANDLE
(
handle
))
{
WARN
(
global
,
"Invalid handle 0x%04x passed to GlobalFix16!
\n
"
,
handle
);
return
;
return
0
;
}
GET_ARENA_PTR
(
handle
)
->
lockCount
++
;
return
GlobalHandleToSel
(
handle
);
}
...
...
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