bool CGetIPUtils::GetMAC(char *buf) //得到网卡地址
{  TCHAR buf0[5];
  TCHAR buf1[5];
  TCHAR buf2[5];
  TCHAR buf3[5];
  TCHAR buf4[5];
  TCHAR buf5[5];     sprintf(buf0,"%02x",pAdapterInfo.Address[0]);
     sprintf(buf1,"%02x",pAdapterInfo.Address[1]);
     sprintf(buf2,"%02x",pAdapterInfo.Address[2]);
     sprintf(buf3,"%02x",pAdapterInfo.Address[3]);
     sprintf(buf4,"%02x",pAdapterInfo.Address[4]);
     sprintf(buf5,"%02x",pAdapterInfo.Address[5]);     _tcscpy(buf,buf0); 
     _tcscat(buf,buf1);   
     _tcscat(buf,buf2);  
     _tcscat(buf,buf3);     
     _tcscat(buf,buf4);    
     _tcscat(buf,buf5);  
    return true; 
}现在问题是:
buf0
buf1
buf2
buf3
buf4
buf5得到的网卡都是小写的
比如是:
a3
0d
1f
我怎么得到的是答谢的呢?
A3
0D
1F谢谢!