求助

kwyxp   2007-3-25 10:44 楼主
这是写usb驱动,??????的一行该怎么写
int installDev() {

        DevDelete("USB Network Interface"); //delete unknow device first
    if (OS_VERSION == OS_WIN98) {
        //MessageBox(NULL,"WIN98 OS","Debug",0);
            if (CopyFileWin9x(".\\usb8023w.sys",".\\rndismpw.sys"));
          //MessageBox(NULL,"The Usb Driver have been installed","Install successfully",0);
        }
        else if (OS_VERSION == OS_WINME) {
          if (CopyFileWin9x(".\\usb8023m.sys",".\\rndismpm.sys"));
          //MessageBox(NULL,"The Usb Driver have been installed","Install successfully",0);
        }
        else if (OS_VERSION == OS_WINNT) {
          if (SetupCopyOEMInf(".\\bcmdslur.inf",NULL,SPOST_PATH,0,NULL,0,NULL,NULL));
         //MessageBox(NULL,"The Usb Driver have been installed","Install successfully",0);
        }
        else if (OS_VERSION == OS_VISTA) {
         ????????????????????????
         //MessageBox(NULL,"The Usb Driver have been installed","Install successfully",0);
        }
        else
      ;
         //MessageBox(NULL,"Not Support to install automatically in this OS,please install manually","Install unsuccessfully",0);  
    return 0;
}

回复评论 (2)

找vista的DDK看。
点赞  2007-3-25 11:11
解决了  谢谢
点赞  2007-3-28 00:05
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复