Add stubs for Get/SetLayout().

This commit is contained in:
Huw D M Davies 1999-11-21 00:49:50 +00:00 committed by Alexandre Julliard
parent f06c8789e3
commit f64e0d7e37
3 changed files with 32 additions and 2 deletions

View file

@ -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*);

View file

@ -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;
}

View file

@ -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 stub GetLayout
321 stdcall 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 stub SetLayout
450 stdcall SetLayout(long long) SetLayout
451 stub SetMagicColors
452 stdcall SetMapMode(long long) SetMapMode
453 stdcall SetMapperFlags(long long) SetMapperFlags