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
f64e0d7e
Commit
f64e0d7e
authored
Nov 21, 1999
by
Huw D M Davies
Committed by
Alexandre Julliard
Nov 21, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add stubs for Get/SetLayout().
parent
f06c8789
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
wingdi.h
include/wingdi.h
+2
-0
dc.c
objects/dc.c
+28
-0
gdi32.spec
relay32/gdi32.spec
+2
-2
No files found.
include/wingdi.h
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
*
);
...
...
objects/dc.c
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
;
}
relay32/gdi32.spec
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
...
...
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