You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
783 B
37 lines
783 B
// comtest.idl : IDL source for comtest.dll
|
|
//
|
|
// This file will be processed by the MIDL tool to
|
|
// produce the type library (comtest.tlb) and marshalling code.
|
|
|
|
import "oaidl.idl";
|
|
import "ocidl.idl";
|
|
|
|
[
|
|
object,
|
|
uuid(FEE1509A-BC8F-11D2-9D5E-0000F81EF32E),
|
|
helpstring("IHelloWorld Interface"),
|
|
pointer_default(unique)
|
|
]
|
|
interface IHelloWorld : IUnknown
|
|
{
|
|
[helpstring("method Print")] HRESULT Print([in] BSTR message);
|
|
};
|
|
|
|
[
|
|
uuid(ECE5BCF2-BC8F-11D2-9D5E-0000F81EF32E),
|
|
version(1.0),
|
|
helpstring("comtest 1.0 Type Library")
|
|
]
|
|
library COMTESTLib
|
|
{
|
|
importlib("stdole2.tlb");
|
|
|
|
[
|
|
uuid(0B7E1310-BC90-11D2-9D5E-0000F81EF32E),
|
|
helpstring("HelloWorld Class")
|
|
]
|
|
coclass HelloWorld
|
|
{
|
|
[default] interface IHelloWorld;
|
|
};
|
|
};
|