如何通过程序执行系统屏幕保护

解决方案 »

  1.   

    SHELLEXECUTEINFO ShExecInfo = {0};
    ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
    ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
    ShExecInfo.hwnd = NULL;
    ShExecInfo.lpVerb = NULL;
    ShExecInfo.lpFile = "c:\\MyProgram.exe"; //你的屏保exe       
    ShExecInfo.lpParameters = "";    
    ShExecInfo.lpDirectory = NULL;
    ShExecInfo.nShow = SW_SHOW;
    ShExecInfo.hInstApp = NULL;    
    ShellExecuteEx(&ShExecInfo);
      

  2.   

    yes use shell functions
      

  3.   

    win2000下的屏幕保护如何才能设置密码呢?
      

  4.   

    win2000下的屏幕保护如何才能设置密码呢?