那位前辈能给介绍一下关于长文件名建立的问题,资料例子中看不明白.最好能举例说明..万分感谢!! 还有就是下面一段程序,能否形成Time**************IDUSB*********.XW的文件名 给解释一下各部分意思.30h~39h表示数字0~9, 41h~5Ah 表示26个英文字母 /*定义长文件名*/ if(flag3==0||end==254) { flag3=1; end=0; one='A'+n/17576; two='A'+(n-(one-0x41)*17576)/676; three='A'+(n-(one-0x41)*17576-(two-0x41)*676)/26; four='A'+(n-(one-0x41)*17576-(two-0x41)*676-(three-0x41)*26); } mCmdParam.Erase.mPathName[0]='/'; mCmdParam.Erase.mPathName[1]=one; mCmdParam.Erase.mPathName[2]=two; mCmdParam.Erase.mPathName[3]=three; mCmdParam.Erase.mPathName[4]=four; mCmdParam.Erase.mPathName[5]='~'; mCmdParam.Erase.mPathName[6]='1'; mCmdParam.Erase.mPathName[7]='1'; mCmdParam.Erase.mPathName[8]='.'; mCmdParam.Erase.mPathName[9]='C'; mCmdParam.Erase.mPathName[10]=00;
LongFileName[0]=0X5400; (T) LongFileName[1]=0X6900; (i) LongFileName[2]=0X6D00; (m) LongFileName[3]=0X6500; (e) LongFileName[4]=(int)(XBYTE[0X020D]+48)<<8; LongFileName[5]=(int)(XBYTE[0X020C]+48)<<8; LongFileName[6]=(int)(XBYTE[0X020B]+48)<<8; LongFileName[7]=(int)(XBYTE[0X020A]+48)<<8; LongFileName[8]=(int)(XBYTE[0X0209]+48)<<8; LongFileName[9]=(int)(XBYTE[0X0208]+48)<<8; (14位时间值) LongFileName[10]=(int)(XBYTE[0X0207]+48)<<8; LongFileName[11]=(int)(XBYTE[0X0206]+48)<<8; LongFileName[12]=(int)(XBYTE[0X0205]+48)<<8; LongFileName[13]=(int)(XBYTE[0X0204]+48)<<8; LongFileName[14]=(int)(XBYTE[0X0203]+48)<<8; LongFileName[15]=(int)(XBYTE[0X0202]+48)<<8; LongFileName[16]=(int)(XBYTE[0X0201]+48)<<8; LongFileName[17]=(int)(XBYTE[0X0200]+48)<<8; LongFileName[18]=0X4900; (I) LongFileName[19]=0X4400; (D) LongFileName[20]=(int)(XBYTE[0X020E])<<8; LongFileName[21]=(int)(XBYTE[0X020F])<<8; LongFileName[22]=(int)(XBYTE[0x0210])<<8; LongFileName[23]=(int)(XBYTE[0X0211])<<8; LongFileName[24]=(int)(XBYTE[0X0212])<<8; LongFileName[25]=(int)(XBYTE[0X0213])<<8; (12位ID码) LongFileName[26]=(int)(XBYTE[0X0214])<<8; LongFileName[27]=(int)(XBYTE[0X0215])<<8; LongFileName[28]=(int)(XBYTE[0X0216])<<8; LongFileName[29]=(int)(XBYTE[0X0217])<<8; LongFileName[30]=(int)(XBYTE[0X0218])<<8; LongFileName[31]=(int)(XBYTE[0X0219])<<8; LongFileName[32]=0X2E00; (.) LongFileName[33]=0X5800; (x) LongFileName[34]=0X5700; (w) LongFileName[35]=0X0000; i=mCreatLName();