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
23e9b040
Commit
23e9b040
authored
Dec 01, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Dec 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented GlobalChangeLockCount (KERNEL.365).
parent
416d39e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
13 deletions
+20
-13
thunk.c
if1632/thunk.c
+0
-13
global.c
memory/global.c
+20
-0
No files found.
if1632/thunk.c
View file @
23e9b040
...
...
@@ -1444,16 +1444,3 @@ void WINAPI CBClientThunkSL( CONTEXT *context )
EAX_reg
(
context
)
=
CALL32_CBClient
(
proc
,
args
);
}
/***********************************************************************
* KERNEL_365 (KERNEL.365)
*
* This is declared as a register function as it has to preserve
* *all* registers, even AX/DX !
*
*/
void
WINAPI
KERNEL_365
(
CONTEXT
*
context
)
{
LPWORD
args
=
PTR_SEG_OFF_TO_LIN
(
SS_reg
(
context
),
SP_reg
(
context
)
);
TRACE
(
thunk
,
"(%04X, %d): stub!
\n
"
,
args
[
3
],
(
INT16
)
args
[
2
]
);
}
memory/global.c
View file @
23e9b040
...
...
@@ -534,6 +534,26 @@ BOOL16 WINAPI GlobalUnlock16(
return
pArena
->
lockCount
;
}
/***********************************************************************
* GlobalChangeLockCount (KERNEL.365)
*
* This is declared as a register function as it has to preserve
* *all* registers, even AX/DX !
*
*/
void
WINAPI
GlobalChangeLockCount
(
CONTEXT
*
context
)
{
LPWORD
args
=
PTR_SEG_OFF_TO_LIN
(
SS_reg
(
context
),
SP_reg
(
context
)
);
HGLOBAL16
handle
=
(
HGLOBAL16
)
args
[
3
];
INT16
delta
=
(
INT16
)
args
[
2
];
if
(
delta
==
1
)
GlobalLock16
(
handle
);
else
if
(
delta
==
-
1
)
GlobalUnlock16
(
handle
);
else
ERR
(
global
,
"(%04X, %d): strange delta value
\n
"
,
handle
,
delta
);
}
/***********************************************************************
* GlobalSize16 (KERNEL.20)
...
...
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