You must be probably looking for CreateProcessAsUser or CreateProcessWithLogonW function.
There is one more option like this:-
- Go to the project's Property Pages dialog box.
- Now open the Configuration Properties node.
- Next you have to open the Linker node.
- then select the Manifest File property.
- Finally modify the Enable User Account Control (UAC), UAC Execution Level, and UAC Bypass UI Protection properties.
Soemthing like this:
And as Syam correctly mentioned in the comments the solution could be to embed a manifest in the executable.