一、打开CD-ROMmciSendString(SetcdAudiodooropenwait,NULL,0,NULL);二、关闭CD_ROMmciSendString(SetcdAudiodoorclosedwait,NULL,0,NULL);三、关闭计算机OSVERSIONINFOOsVersionInfo;/包含操作系统版本信息的数据结构OsVersionInfo.dwOSVersionInfoSize=sizeof(OSVERSIONINFO);GetVersionEx(&OsVersionInfo);/获取操作系统版本信息if(OsVersionInfo.dwPlatformId=VER_PLATFORM_WIN32_WINDOWS)/Windows98,调用ExitWindowsEx()函数重新启动计算机DWORDdwReserved;ExitWindowsEx(EWX_REBOOT,dwReserved);/可以改变第一个参数,实现注销用户、