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
bac5f460
Commit
bac5f460
authored
May 16, 2005
by
Dimi Paun
Committed by
Alexandre Julliard
May 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the standard Local*16() instead of LOCAL_*() functions.
parent
2d9e2a33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
local16.c
dlls/kernel/local16.c
+6
-5
No files found.
dlls/kernel/local16.c
View file @
bac5f460
...
@@ -35,7 +35,6 @@
...
@@ -35,7 +35,6 @@
#include <string.h>
#include <string.h>
#include "wine/winbase16.h"
#include "wine/winbase16.h"
#include "wownt32.h"
#include "wownt32.h"
#include "local.h"
#include "module.h"
#include "module.h"
#include "stackframe.h"
#include "stackframe.h"
#include "toolhelp.h"
#include "toolhelp.h"
...
@@ -1655,12 +1654,14 @@ UINT16 WINAPI LocalShrink16( HGLOBAL16 handle, UINT16 newsize )
...
@@ -1655,12 +1654,14 @@ UINT16 WINAPI LocalShrink16( HGLOBAL16 handle, UINT16 newsize )
DWORD
WINAPI
GetHeapSpaces16
(
HMODULE16
module
)
DWORD
WINAPI
GetHeapSpaces16
(
HMODULE16
module
)
{
{
NE_MODULE
*
pModule
;
NE_MODULE
*
pModule
;
WORD
ds
;
WORD
oldDS
=
CURRENT_DS
;
DWORD
spaces
;
if
(
!
(
pModule
=
NE_GetPtr
(
module
)))
return
0
;
if
(
!
(
pModule
=
NE_GetPtr
(
module
)))
return
0
;
ds
=
CURRENT_DS
=
GlobalHandleToSel16
((
NE_SEG_TABLE
(
pModule
)
+
pModule
->
dgroup
-
1
)
->
hSeg
);
GlobalHandleToSel16
((
NE_SEG_TABLE
(
pModule
)
+
pModule
->
dgroup
-
1
)
->
hSeg
);
spaces
=
MAKELONG
(
LocalCountFree16
(),
LocalHeapSize16
()
);
return
MAKELONG
(
LOCAL_CountFree
(
ds
),
LOCAL_HeapSize
(
ds
)
);
CURRENT_DS
=
oldDS
;
return
spaces
;
}
}
...
...
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