You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
962 B
48 lines
962 B
#include "precomp.hxx"
|
|
|
|
#include "lkrcust.h"
|
|
|
|
#include "..\samples\str-num\str-num.h"
|
|
|
|
BOOL
|
|
WINAPI
|
|
CStringTest_TableDump(
|
|
IN CLKRHashTable* pht,
|
|
IN INT nVerbose)
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
|
|
|
|
BOOL
|
|
WINAPI
|
|
CNumberTest_TableDump(
|
|
IN CLKRHashTable* pht,
|
|
IN INT nVerbose)
|
|
{
|
|
return TRUE;
|
|
}
|
|
|
|
|
|
|
|
BOOL
|
|
WINAPI
|
|
CTest_RecordDump(
|
|
IN const void* pvRecord,
|
|
IN DWORD dwSignature,
|
|
IN INT nVerbose)
|
|
{
|
|
// Don't want to provide CTest ctor, so use CPP_VAR macros
|
|
DEFINE_CPP_VAR(CTest, test);
|
|
CTest* pTest = GET_CPP_VAR_PTR(CTest, test);
|
|
|
|
// Copy the CTest from the debuggee's memory
|
|
ReadMemory(pvRecord, pTest, sizeof(test), NULL);
|
|
|
|
dprintf("%p (%08x): m_n=%d, m_sz=\"%s\", m_fWhatever=%d, m_cRefs=%d\n",
|
|
pvRecord, dwSignature, pTest->m_n, pTest->m_sz,
|
|
(int) pTest->m_fWhatever, pTest->m_cRefs);
|
|
|
|
return TRUE;
|
|
}
|