I am trying to create adhoc connection throught program.For this i need to use the interface IDotHocManager , this interface can be instantiated by CoCreateInstance.
I am not able to obtain the following parameters of COcreateInstance() for IDotHocManager interface.
REFCLSID rclsid, REFIID riid,
kindly help me out by giving an idea of where the clsid for my requirement can be fetched from or the corresponding name of the clsid and refernce id.