标签:amp sizeof nbsp emc tpm == memcpy memset pms
WORD wTemp = 0;
memcpy((WORD *)&wTemp, ptPort+1, sizeof(WORD));
//if (STD_WORD_ALL == *(WORD *)(pucTpMsk+1))
if (STD_WORD_ALL == wTemp)
{
//*(WORD *)(pucTpMsk+11) = 0;
memset(pucTpMsk+11, 0, sizeof(WORD));
}
标签:amp sizeof nbsp emc tpm == memcpy memset pms
原文地址:http://www.cnblogs.com/atoman/p/7323933.html