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
87dbaa9a
Commit
87dbaa9a
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 GdiFreeResources (GDI.609).
parent
b9950124
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
gdi.spec
if1632/gdi.spec
+1
-1
gdiobj.c
objects/gdiobj.c
+9
-0
No files found.
if1632/gdi.spec
View file @
87dbaa9a
...
@@ -378,7 +378,7 @@ file gdi.exe
...
@@ -378,7 +378,7 @@ file gdi.exe
606 pascal16 SetMagicColors(word long word) SetMagicColors16
606 pascal16 SetMagicColors(word long word) SetMagicColors16
607 pascal GetRegionData(word long ptr) GetRegionData16
607 pascal GetRegionData(word long ptr) GetRegionData16
608 stub ExtCreateRegion
608 stub ExtCreateRegion
609
stub GDI
FreeResources
609
pascal16 GdiFreeResources(long) Gdi
FreeResources
610 stub GDISignalProc32
610 stub GDISignalProc32
611 stub GetRandomRgn
611 stub GetRandomRgn
612 pascal16 GetTextCharset(word) GetTextCharset16
612 pascal16 GetTextCharset(word) GetTextCharset16
...
...
objects/gdiobj.c
View file @
87dbaa9a
...
@@ -948,6 +948,15 @@ DWORD WINAPI GdiSeeGdiDo( WORD wReqType, WORD wParam1, WORD wParam2,
...
@@ -948,6 +948,15 @@ DWORD WINAPI GdiSeeGdiDo( WORD wReqType, WORD wParam1, WORD wParam2,
}
}
/***********************************************************************
/***********************************************************************
* GdiFreeResources (GDI.609)
*/
WORD
WINAPI
GdiFreeResources
(
DWORD
reserve
)
{
return
(
WORD
)(
(
int
)
LOCAL_CountFree
(
GDI_HeapSel
)
*
100
/
(
int
)
LOCAL_HeapSize
(
GDI_HeapSel
)
);
}
/***********************************************************************
* MulDiv16 (GDI.128)
* MulDiv16 (GDI.128)
*/
*/
INT16
WINAPI
MulDiv16
(
INT16
foo
,
INT16
bar
,
INT16
baz
)
INT16
WINAPI
MulDiv16
(
INT16
foo
,
INT16
bar
,
INT16
baz
)
...
...
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