|
// The IDL file for IExample4.DLL
//
// {6C5A4C1A-87B3-44c1-8286-78000B2173EF} = Type library's GUID
// {6AFACEB2-9298-4d4b-80C1-F027C07B1A1E} = IExample4 object's GUID
// {CFADB388-9563-4591-AABB-BE7794AEC17C} = IExample4 VTable's GUID
// {F69902B1-20A0-4e99-97ED-CD671AA87B5C} = Ports Collections's GUID
[uuid(6C5A4C1A-87B3-44c1-8286-78000B2173EF), version(1.0), helpstring("IExample4 COM server")]
library IExample4
{
importlib("STDOLE2.TLB");
[uuid(F69902B1-20A0-4e99-97ED-CD671AA87B5C), helpstring("ICollection object"), oleautomation, object]
interface ICollection : IDispatch
{
[propget, id(1), helpstring("Returns the count of items in the collection")]
HRESULT Count([out, retval] long *);
[propget, id(DISPID_VALUE), helpstring("Returns the item (at the specified index) of the collection")]
HRESULT Item([in] long, [out, retval] VARIANT *);
[propget, id(DISPID_NEWENUM), restricted]
HRESULT _NewEnum([out, retval] IUnknown **);
};
[uuid(CFADB388-9563-4591-AABB-BE7794AEC17C), dual, oleautomation, hidden, nonextensible]
interface IExample4VTbl : IDispatch
{
[helpstring("Sets the test string.")]
[id(1), propput] HRESULT Buffer([in] BSTR);
[helpstring("Gets the test string.")]
[id(1), propget] HRESULT Buffer([out, retval] BSTR *);
[helpstring("Gets the enumeration for our hardware ports.")]
[id(2), propget] HRESULT Ports([out, retval] IDispatch **);
};
[uuid(6AFACEB2-9298-4d4b-80C1-F027C07B1A1E), helpstring("IExample4 object."), appobject]
coclass IExample4
{
[default] interface IExample4VTbl;
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.