TCHAR tc = 'A';
	printf("TC=%04X\n",tc);
	BYTE bbb[2];
	memcpy(bbb,&tc,2);
	printf("%02X,%02X\n",bbb[0],bbb[1]);
	//TC=0041
	//41,00

  字母A,高字节是0x00,低字节0x41

  在内存中是低地址存41,高地址存00

  little endian :低地址存放最低有效字节

 

ezhong的博客园:http://www.cnblogs.com/ezhong/