المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : CLSID and IID from DLL



C++ Programming
04-03-2011, 12:57 PM
I am stuck in UAC Elevation part. CoCreateInstanceAsAdmin() part is clear to me. But i am not understanding how to get CLSID and IID from a dll. Is there any function in c++ to get the CLSID and IID from a dll.

Gone through the following resources.

http://blogs.msdn.com/b/junfeng/archive/2006/10/18/programmatically-determine-if-an-application-requires-elevation-in-windows-vista.aspx

http://blogs.msdn.com/b/yvesdolc/archive/2006/06/13/629355.aspx

http://msdn.microsoft.com/en-us/library/ms679687%28v=vs.85%29.aspx

but i am unable to figure out the CLSID and IID part.
Regards,
Vishal