L
Liang Yitao
Before I using this function, I've done all the prepare
things. This included:
GetCurrentProcess();
OpenProcessToken(...);
LookupPrivilegeValue(...);
AdjustTokenPrivileges(...);
And the return code or the error code set by these
functions indicated that they all executed successfully.
But the ExitWindowEx(...) still fail. Is there any reason
for the failure? Or can I get another simplier approacht
to close the system?
Any expert please help, and thanks a lot.
things. This included:
GetCurrentProcess();
OpenProcessToken(...);
LookupPrivilegeValue(...);
AdjustTokenPrivileges(...);
And the return code or the error code set by these
functions indicated that they all executed successfully.
But the ExitWindowEx(...) still fail. Is there any reason
for the failure? Or can I get another simplier approacht
to close the system?
Any expert please help, and thanks a lot.