中国开发网: 论坛: 程序员情感CBD: 贴子 259743
老玉米
你不是玩.net吗,来,开源给你。
//Get The real object-point of the fuction argument
PVOID* pValueVoid = (PVOID*)(pValues);
PBYTE pObjectByte = (PBYTE)(*pValueVoid);

ULONG Offset;

for(ULONG Index_offset=0; Index_offset < ContextProp->GetOffsetCount(); Index_offset++)
{
Offset = ContextProp->GetOffset(Index_offset);
pValueVoid = (PVOID*)((unsigned long)pObjectByte+Offset);
pObjectByte = (PBYTE)(*pValueVoid);
}

//_WRITE_OBJ_STRING_(pObjectByte)

PBYTE pNewObjectByte = NULL;

WCHAR* pString = DecodeString(pObjectByte,&pNewObjectByte);

if (pNewObjectByte)
{
//_WRITE_OBJ_STRING_(pNewObjectByte)
*pValueVoid = pNewObjectByte;

if (!(*ppInfos))
{
*ppInfos = new CRuntimeStackObject_Arms(0);
}

CRuntimeStackObject_Arm tsInfo(pValueVoid,pObjectByte,pNewObjectByte);

(*ppInfos)->push_back(tsInfo);
}

相关信息:


欢迎光临本社区,您还没有登录,不能发贴子。请在 这里登录