mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
Move GetTextCharset & Info to text.c. This part of a Wine port.
svn path=/trunk/; revision=20949
This commit is contained in:
parent
d74beaf81f
commit
6d1c5612cc
3 changed files with 36 additions and 32 deletions
|
@ -15,6 +15,7 @@
|
|||
/* SDK/DDK/NDK Headers. */
|
||||
#include <windows.h>
|
||||
#include <ndk/ntndk.h>
|
||||
#include <wingdi.h>
|
||||
#include <winddi.h>
|
||||
#include <d3dnthal.h>
|
||||
#include <prntfont.h>
|
||||
|
|
|
@ -257,38 +257,6 @@ GetTextCharacterExtra(
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
GetTextCharset(
|
||||
HDC hdc
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
GetTextCharsetInfo(
|
||||
HDC hdc,
|
||||
LPFONTSIGNATURE lpSig,
|
||||
DWORD dwFlags
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#include "precomp.h"
|
||||
|
||||
|
||||
#define UNIMPLEMENTED DbgPrint("GDI32: %s is unimplemented, please try again later.\n", __FUNCTION__);
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -46,6 +50,37 @@ TextOutW(
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
GetTextCharset(
|
||||
HDC hdc
|
||||
)
|
||||
{
|
||||
/* MSDN docs say this is equivalent */
|
||||
return GetTextCharsetInfo(hdc, NULL, 0);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int
|
||||
STDCALL
|
||||
GetTextCharsetInfo(
|
||||
HDC hdc,
|
||||
LPFONTSIGNATURE lpSig,
|
||||
DWORD dwFlags
|
||||
)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue