Elevating a process / querying elevation status (LUA/UAC)

Hi,

how would I go about programmatically elevating my process (as in an 'elevate now' button)? Also, how would I query if my process is running with full privileges or not?

Thanks,

Relja

[218 byte] By [ReljaMarkovic] at [2008-2-22]
# 1
The annoying thing is you can not programmatically elevate.
You have to start a process the the OS elevates for you if the manifest of
the started .exe is setup for.

Ciao Hermann

HermannS at 2007-9-10 > top of Msdn Tech,Software Development for Windows Vista,Security for Applications in Windows Vista...

Software Development for Windows Vista

Site Classified