CoCreateInstanceAsAdmin() not in Dec. CTP SDK?
As described in
Developer Best Practices and Guidelines for Applications in a Least Privileged Environment, I'd like to use
CoCreateInstanceAsAdmin()in order to execute code in an elevated COM object. However, I couldn't find this routine in the latest Vista SDK. Is this going to be supported in the future?
Hi Jeff,
Now, I have further questions..
1. What is the IID of the 3rd parameter? shall we simply specify
IID_IUnknown? 2. For 4th parameter, where the structure is defined? What is the interface prointer type?
3. Please help to guide me in sample code, thanks in advance!