Move GetTextCharset & Info to text.c. This part of a Wine port.

svn path=/trunk/; revision=20949
This commit is contained in:
James Tabor 2006-01-20 00:52:35 +00:00
parent d74beaf81f
commit 6d1c5612cc
3 changed files with 36 additions and 32 deletions

View file

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

View file

@ -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
*/

View file

@ -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
*/