SEARCH   
Home About Us Products Manufacturing Services Support ARK online Contact Us
Support > Software Downloads >
ARK® Tutorial



Introduction  |  Core Component  |  Communications  |  Additional Topics  |  Reference Guide




 
   

Reference Guide

interface ICatalogEntry2

ICatalogEntry is the interface to an individual catalog entry in a Catalog collection. To actually instantiate the DLL that a catalog entry refers to, the CreateObject method is used.

ARK 2 introduces the ICatalogEntry2 interface that extends ICatalogEntry by adding the read-only ManID (manufacturer ID) and LibraryID properties. These numbers can help fitting software locate compatible components installed on a system. Manufacturer IDs are assigned by Gennum and can be obtained by sending an e-mail to software@gennum.com.

Definition
interface ICatalogEntry : IDispatch
{
[id(0), propget]
HRESULT Name([out, retval] BSTR* rval);
[propget]
HRESULT Title([out, retval] BSTR* rval);
HRESULT CreateObject([out, retval] IDispatch** rval);
}
interface ICatalogEntry2 : ICatalogEntry
{
[propget]
HRESULT ManID([out, retval] short* rval);
[propget]
HRESULT LibraryID([out, retval] short* rval);
};

Descriptions

[id(0), propget]
HRESULT Name([out, retval] BSTR* rval);
The name of the component.

[propget]
HRESULT Title([out, retval] BSTR* rval);
The descriptive name of the component.

[helpstring("")]
HRESULT CreateObject([out, retval] IDispatch** rval);
Create a new instance of the component.

[propget]
HRESULT ManID([out, retval] short* rval);
The ID number representing the company that created the DLL. The ManID and LibraryID should uniquely identify a product component library.

[propget]
HRESULT LibraryID([out, retval] short* rval);
The library number assigned by the company who created the DLL. The ManID and LibraryID should uniquely identify a product component library.




© ON Semiconductor  |   PRIVACY POLICY  |   TERMS OF USE