Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Felix Münchhalfen
wine
Commits
f64e0d7e
Commit
f64e0d7e
authored
25 years ago
by
Huw D. M. Davies
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add stubs for Get/SetLayout().
parent
f06c8789
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/wingdi.h
+2
-0
2 additions, 0 deletions
include/wingdi.h
objects/dc.c
+28
-0
28 additions, 0 deletions
objects/dc.c
relay32/gdi32.spec
+2
-2
2 additions, 2 deletions
relay32/gdi32.spec
with
32 additions
and
2 deletions
include/wingdi.h
+
2
−
0
View file @
f64e0d7e
...
...
@@ -3188,6 +3188,7 @@ INT WINAPI GetGraphicsMode(HDC);
DWORD
WINAPI
GetKerningPairsA
(
HDC
,
DWORD
,
LPKERNINGPAIR
);
DWORD
WINAPI
GetKerningPairsW
(
HDC
,
DWORD
,
LPKERNINGPAIR
);
#define GetKerningPairs WINELIB_NAME_AW(GetKerningPairs)
DWORD
WINAPI
GetLayout
(
HDC
);
INT
WINAPI
GetMapMode
(
HDC
);
HMETAFILE
WINAPI
GetMetaFileA
(
LPCSTR
);
HMETAFILE
WINAPI
GetMetaFileW
(
LPCWSTR
);
...
...
@@ -3312,6 +3313,7 @@ INT WINAPI SetDIBitsToDevice(HDC,INT,INT,DWORD,DWORD,INT,
INT
,
UINT
,
UINT
,
LPCVOID
,
const
BITMAPINFO
*
,
UINT
);
HENHMETAFILE
WINAPI
SetEnhMetaFileBits
(
UINT
,
const
BYTE
*
);
INT
WINAPI
SetGraphicsMode
(
HDC
,
INT
);
DWORD
WINAPI
SetLayout
(
HDC
,
DWORD
);
INT
WINAPI
SetMapMode
(
HDC
,
INT
);
DWORD
WINAPI
SetMapperFlags
(
HDC
,
DWORD
);
HMETAFILE
WINAPI
SetMetaFileBitsEx
(
UINT
,
const
BYTE
*
);
...
...
This diff is collapsed.
Click to expand it.
objects/dc.c
+
28
−
0
View file @
f64e0d7e
...
...
@@ -1357,3 +1357,31 @@ void WINAPI Resurrection16(HDC16 hDC,
{
MESSAGE
(
"Resurrection(%04x, %04x, %04x, %04x, %04x, %04x, %04x) called. Application left text mode.
\n
"
,
hDC
,
w1
,
w2
,
w3
,
w4
,
w5
,
w6
);
}
/***********************************************************************
* GetLayout (GDI32.321)
*
* Gets left->right or right->left text layout flags of a dc.
* win98 just returns 0 and sets ERROR_CALL_NOT_IMPLEMENTED so we do the same
*
*/
DWORD
WINAPI
GetLayout
(
HDC
hdc
)
{
FIXME
(
"(%08x): stub
\n
"
,
hdc
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
/***********************************************************************
* SetLayout (GDI32.450)
*
* Sets left->right or right->left text layout flags of a dc.
* win98 just returns 0 and sets ERROR_CALL_NOT_IMPLEMENTED so we do the same
*
*/
DWORD
WINAPI
SetLayout
(
HDC
hdc
,
DWORD
layout
)
{
FIXME
(
"(%08x,%08lx): stub
\n
"
,
hdc
,
layout
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
0
;
}
This diff is collapsed.
Click to expand it.
relay32/gdi32.spec
+
2
−
2
View file @
f64e0d7e
...
...
@@ -223,7 +223,7 @@ init MAIN_GdiInit
318 stub GetKerningPairs
319 stdcall GetKerningPairsA(long long ptr) GetKerningPairsA
320 stdcall GetKerningPairsW(long long ptr) GetKerningPairsW
321 st
ub
GetLayout
321 st
dcall GetLayout(long)
GetLayout
322 stub GetLogColorSpaceA
323 stub GetLogColorSpaceW
324 stdcall GetMapMode(long) GetMapMode
...
...
@@ -352,7 +352,7 @@ init MAIN_GdiInit
447 stdcall SetICMMode(long long) SetICMMode
448 stub SetICMProfileA
449 stub SetICMProfileW
450 st
ub
SetLayout
450 st
dcall SetLayout(long long)
SetLayout
451 stub SetMagicColors
452 stdcall SetMapMode(long long) SetMapMode
453 stdcall SetMapperFlags(long long) SetMapperFlags
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment