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
30e2cb16
Commit
30e2cb16
authored
Feb 18, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Move a few more gdiobj functions to gdi16.c.
parent
aa500d26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
74 deletions
+77
-74
gdi16.c
dlls/gdi32/gdi16.c
+77
-0
gdiobj.c
dlls/gdi32/gdiobj.c
+0
-74
No files found.
dlls/gdi32/gdi16.c
View file @
30e2cb16
...
...
@@ -2268,6 +2268,31 @@ BOOL16 WINAPI FastWindowFrame16( HDC16 hdc, const RECT16 *rect,
/***********************************************************************
* GdiInit2 (GDI.403)
*
* See "Undocumented Windows"
*
* PARAMS
* h1 [I] GDI object
* h2 [I] global data
*/
HANDLE16
WINAPI
GdiInit216
(
HANDLE16
h1
,
HANDLE16
h2
)
{
FIXME
(
"(%04x, %04x), stub.
\n
"
,
h1
,
h2
);
if
(
h2
==
0xffff
)
return
0xffff
;
/* undefined return value */
return
h1
;
/* FIXME: should be the memory handle of h1 */
}
/***********************************************************************
* FinalGdiInit (GDI.405)
*/
void
WINAPI
FinalGdiInit16
(
HBRUSH16
hPattern
/* [in] fill pattern of desktop */
)
{
}
/***********************************************************************
* CreateUserBitmap (GDI.407)
*/
HBITMAP16
WINAPI
CreateUserBitmap16
(
INT16
width
,
INT16
height
,
UINT16
planes
,
...
...
@@ -2456,6 +2481,39 @@ HRGN16 WINAPI CreatePolyPolygonRgn16( const POINT16 *points,
/***********************************************************************
* GdiSeeGdiDo (GDI.452)
*/
DWORD
WINAPI
GdiSeeGdiDo16
(
WORD
wReqType
,
WORD
wParam1
,
WORD
wParam2
,
WORD
wParam3
)
{
DWORD
ret
=
~
0U
;
switch
(
wReqType
)
{
case
0x0001
:
/* LocalAlloc */
WARN
(
"LocalAlloc16(%x, %x): ignoring
\n
"
,
wParam1
,
wParam3
);
ret
=
0
;
break
;
case
0x0002
:
/* LocalFree */
WARN
(
"LocalFree16(%x): ignoring
\n
"
,
wParam1
);
ret
=
0
;
break
;
case
0x0003
:
/* LocalCompact */
WARN
(
"LocalCompact16(%x): ignoring
\n
"
,
wParam3
);
ret
=
65000
;
/* lie about the amount of free space */
break
;
case
0x0103
:
/* LocalHeap */
WARN
(
"LocalHeap16(): ignoring
\n
"
);
break
;
default:
WARN
(
"(wReqType=%04x): Unknown
\n
"
,
wReqType
);
break
;
}
return
ret
;
}
/***********************************************************************
* SetObjectOwner (GDI.461)
*/
void
WINAPI
SetObjectOwner16
(
HGDIOBJ16
handle
,
HANDLE16
owner
)
...
...
@@ -3021,6 +3079,25 @@ DWORD WINAPI GetRegionData16( HRGN16 hrgn, DWORD count, LPRGNDATA rgndata )
/***********************************************************************
* GdiFreeResources (GDI.609)
*/
WORD
WINAPI
GdiFreeResources16
(
DWORD
reserve
)
{
return
90
;
/* lie about it, it shouldn't matter */
}
/***********************************************************************
* GdiSignalProc32 (GDI.610)
*/
WORD
WINAPI
GdiSignalProc
(
UINT
uCode
,
DWORD
dwThreadOrProcessID
,
DWORD
dwFlags
,
HMODULE16
hModule
)
{
return
0
;
}
/***********************************************************************
* GetTextCharset (GDI.612)
*/
UINT16
WINAPI
GetTextCharset16
(
HDC16
hdc
)
...
...
dlls/gdi32/gdiobj.c
View file @
30e2cb16
...
...
@@ -1292,80 +1292,6 @@ DWORD WINAPI GdiSetBatchLimit( DWORD limit )
}
/***********************************************************************
* GdiSeeGdiDo (GDI.452)
*/
DWORD
WINAPI
GdiSeeGdiDo16
(
WORD
wReqType
,
WORD
wParam1
,
WORD
wParam2
,
WORD
wParam3
)
{
DWORD
ret
=
~
0U
;
switch
(
wReqType
)
{
case
0x0001
:
/* LocalAlloc */
WARN
(
"LocalAlloc16(%x, %x): ignoring
\n
"
,
wParam1
,
wParam3
);
ret
=
0
;
break
;
case
0x0002
:
/* LocalFree */
WARN
(
"LocalFree16(%x): ignoring
\n
"
,
wParam1
);
ret
=
0
;
break
;
case
0x0003
:
/* LocalCompact */
WARN
(
"LocalCompact16(%x): ignoring
\n
"
,
wParam3
);
ret
=
65000
;
/* lie about the amount of free space */
break
;
case
0x0103
:
/* LocalHeap */
WARN
(
"LocalHeap16(): ignoring
\n
"
);
break
;
default:
WARN
(
"(wReqType=%04x): Unknown
\n
"
,
wReqType
);
break
;
}
return
ret
;
}
/***********************************************************************
* GdiSignalProc32 (GDI.610)
*/
WORD
WINAPI
GdiSignalProc
(
UINT
uCode
,
DWORD
dwThreadOrProcessID
,
DWORD
dwFlags
,
HMODULE16
hModule
)
{
return
0
;
}
/***********************************************************************
* GdiInit2 (GDI.403)
*
* See "Undocumented Windows"
*
* PARAMS
* h1 [I] GDI object
* h2 [I] global data
*/
HANDLE16
WINAPI
GdiInit216
(
HANDLE16
h1
,
HANDLE16
h2
)
{
FIXME
(
"(%04x, %04x), stub.
\n
"
,
h1
,
h2
);
if
(
h2
==
0xffff
)
return
0xffff
;
/* undefined return value */
return
h1
;
/* FIXME: should be the memory handle of h1 */
}
/***********************************************************************
* FinalGdiInit (GDI.405)
*/
void
WINAPI
FinalGdiInit16
(
HBRUSH16
hPattern
/* [in] fill pattern of desktop */
)
{
}
/***********************************************************************
* GdiFreeResources (GDI.609)
*/
WORD
WINAPI
GdiFreeResources16
(
DWORD
reserve
)
{
return
90
;
/* lie about it, it shouldn't matter */
}
/*******************************************************************
* GetColorAdjustment [GDI32.@]
*
...
...
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