我尝试像这样打开物理驱动器ofstream*_fileWriter->open(_destPath,std::ofstream::out|std::ofstream::binary);_destPath=\\.\PhysicalDrive1但是,当我尝试做if(!(_fileWriter->is_open()))returnfalse;返回错误 最佳答案 您必须以提升的访问权限运行该程序。请求GENERIC_READ/GENERIC_WRITEhdrive=CreateFile(L"\\\\.\\PhysicalDrive0",GE