A Quick-Start Guide of Process Mandatory Level Checking and Self-elevation under UAC
This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit consent with the Consent UI.