|
// Connection.idl : IDL source for Connection.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (Connection.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
[
object,
uuid(EB747F2E-4812-11D6-A6D4-0050BAE1092D),
dual,
helpstring("IConnCtl Interface"),
pointer_default(unique)
]
interface IConnCtl : IDispatch
{
};
[
uuid(EB747F21-4812-11D6-A6D4-0050BAE1092D),
version(1.0),
helpstring("Connection 1.0 Type Library")
]
library CONNECTIONLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(EB747F30-4812-11D6-A6D4-0050BAE1092D),
helpstring("_IConnCtlEvents Interface")
]
dispinterface _IConnCtlEvents
{
properties:
methods:
[id(1), helpstring("method OnControlButtonClicked")] HRESULT OnControlButtonClicked(BSTR someStr);
[id(2), helpstring("method OnTenthClick")] HRESULT OnTenthClick(BSTR anotherStr);
};
[
uuid(EB747F2F-4812-11D6-A6D4-0050BAE1092D),
helpstring("ConnCtl Class")
]
coclass ConnCtl
{
[default] interface IConnCtl;
[default, source] dispinterface _IConnCtlEvents;
};
};
|
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 article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.