 |
Description:
OpenProcessToken opens whom ‚Access Token’ the angegebenen Prozesses, the for control the Zugriffsrechte zuständig is.
Deklaration:
DEF @OpenProcessToken(3) !advapi32,OpenProcessToken“
Parameter:
1.Parameter: the lever the Prozesses as LongInt.
2.Parameter: The desired grabbed as LongInt Flag. ? Happen? can with | add go. => -$80 = i will whom proprietor, The primäre group or whom ACL (The Accessliste) Change. -$40 = i will The groups in the ‚Access Token’ Change -$20 = i will Privilegien take on. -$1 = i will a primären Token one Process zuordnen. -$2 = i will whom Access Token duplizieren. -$20000 = becomes for a few Standardrechte the TOKEN-Konstanten needed. -$4 = becomes needed, circa a impersonate Token one Process zuzuordnen. -$8 = i will contents the Tokens lists. -$10 = becomes needed around the fountain one Tokens inquire to. -$20008 = Standardrechte to that read of Information from the Token. -$200E0 = Standardrechte to that write into Token. -$F00FF = i will any Accessrechte the lever the Tokens.
3.Parameter: 4 byte Memory-Variable, The the lever the Tokens receiving.
Return Value:
0 with success, with failure one worth <>0 (Error Code).
Examples:
[...]  [...]  |
|