| 发表于:2007-07-28 12:41:489楼 得分:0 |
sc_handle createservice( sc_handle hscmanager, // handle to scm database lpctstr lpservicename, // name of service to start lpctstr lpdisplayname, // display name dword dwdesiredaccess, // type of access to service dword dwservicetype, // type of service dword dwstarttype, // when to start service dword dwerrorcontrol, // severity of service failure lpctstr lpbinarypathname, // name of binary file lpctstr lploadordergroup, // name of load ordering group lpdword lpdwtagid, // tag identifier lpctstr lpdependencies, // array of dependency names lpctstr lpservicestartname, // account name lpctstr lppassword // account password ); 都有依赖的选项. | | |
|