/ Published in: C
URL: http://en.wikipedia.org/wiki/User_Account_Control
for return codes see the documentation: http://msdn.microsoft.com/en-us/library/bb762153(v=vs.85).aspx
Expand |
Embed | Plain Text
ShellExecute(hwnd, "runas", "C:\\Windows\\Notepad.exe", 0, 0, SW_SHOWNORMAL);
You need to login to post a comment.
