Einzelnen Beitrag anzeigen

Benutzerbild von Remko
Remko

Registriert seit: 10. Okt 2006
Ort: 's-Hertogenbosch, Die Niederlande
222 Beiträge
 
RAD-Studio 2010 Arc
 
#8

Re: Programm vorgaukeln, dass Windows heruntergefahren wird.

  Alt 30. Sep 2007, 12:21
I know, this is true for several other less known api's. It means: "we were forced to document these api's due to the trust settlements. We hate that and therefore we (MS) encourage others not to use them, although we use them ourselves...". I think that since this function is present from win2000 upwards and still is in Vista it's allright to use it. But if you don't feel comfortable...
You could try WtsTerminateProcess instead.
  Mit Zitat antworten Zitat