reactos/win32ss/gdi/eng/string.c
Hermès Bélusca-Maïto e1ef078741 Create this branch to work on loading of different Kernel-Debugger DLL providers, and see whether it is possible to move KDBG from ntoskrnl to a new DLL called, say, KDROSDBG.DLL.
The idea then would be to have the following behaviour (when specifying the following options in the kernel command line):

/DEBUGPORT=COMi --> load KDCOM.DLL and use COMi port (i == 1,2,3,4) if possible.
/DEBUGPORT=FOO  --> load KDFOO.DLL (useful for KDUSB.DLL, KD1394.DLL, KDBAZIS.DLL for VirtualKD, etc...)
/DEBUGPORT=ROSDBG:[COMi|SCREEN|FILE|GDB|...] --> load KDROSDBG.DLL which contains the ROS kernel debugger, and use COMi or SCREEN or... as output port.

svn path=/branches/kd++/; revision=58883
2013-04-28 13:26:45 +00:00

90 lines
1.3 KiB
C

#include <win32k.h>
#define NDEBUG
#include <debug.h>
BOOL
APIENTRY
STROBJ_bEnum(
IN STROBJ *pstro,
OUT ULONG *pc,
OUT PGLYPHPOS *ppgpos
)
{
// www.osr.com/ddk/graphics/gdifncs_65uv.htm
UNIMPLEMENTED;
return FALSE;
}
DWORD
APIENTRY
STROBJ_dwGetCodePage ( IN STROBJ *pstro )
{
// www.osr.com/ddk/graphics/gdifncs_9jmv.htm
PSTRGDI pStrGdi = (PSTRGDI) pstro;
return pStrGdi->dwCodePage;
}
VOID
APIENTRY
STROBJ_vEnumStart ( IN STROBJ *pstro )
{
// www.osr.com/ddk/graphics/gdifncs_32uf.htm
UNIMPLEMENTED;
}
/*
* @unimplemented
*/
BOOL APIENTRY
STROBJ_bEnumPositionsOnly(
IN STROBJ *StringObj,
OUT ULONG *Count,
OUT PGLYPHPOS *Pos)
{
UNIMPLEMENTED;
return (BOOL) DDI_ERROR;
}
/*
* @unimplemented
*/
BOOL APIENTRY
STROBJ_bGetAdvanceWidths(
IN STROBJ *StringObj,
IN ULONG First,
IN ULONG Count,
OUT POINTQF *Widths)
{
UNIMPLEMENTED;
return FALSE;
}
/*
* @implemented
*/
FIX APIENTRY
STROBJ_fxBreakExtra(
IN STROBJ *StringObj)
{
PSTRGDI pStrGdi = (PSTRGDI) StringObj;
if (pStrGdi->StrObj.flAccel & SO_BREAK_EXTRA) return pStrGdi->fxBreakExtra;
return (FIX) 0;
}
/*
* @implemented
*/
FIX APIENTRY
STROBJ_fxCharacterExtra(
IN STROBJ *StringObj)
{
PSTRGDI pStrGdi = (PSTRGDI) StringObj;
if (pStrGdi->StrObj.flAccel & SO_CHARACTER_EXTRA) return pStrGdi->fxExtra;
return (FIX) 0;
}
/* EOF */