IInterfaceFinder::DefaultIID Method

HRESULT DefaultIID([in] BSTR theClass, [out, retval] BSTR * iid);

Finds the InterfaceID of the default interface for a particular object.

 

Parameters

theClass
BSTR, [in]: The CLSID or ProgID of the object to check
iid
BSTR *, [out, retval]: The stringified Interface ID of the default interface of the requested object

 

Return Values

A stringified interfaceID e.g. {B37A49AA-5E39-46DE-8821-0457B8E04915}

 

Sample Code



  

 

See Also

The IInterfaceFinder Interface | 

 

 

Copyright

Copyright © Simon Fell, 2000-2004. All rights reserved.