>bool closecomputer(int kind)/ G! J8 n+ E6 s9 d' j& z7 ?
> // Get a token for this process.
> // Get the LUID for the shutdown privilege.5 l/ Z5 m& l' t7 e* N+ |- u
> tkp.PrivilegeCount = 1; // one privilege to set
> // Get the shutdown privilege for this process.) M: ^$ u0 q) B$ o
> if (GetLastError() != ERROR_SUCCESS)
>}</P>
| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |