2025-04-27 07:49:33 -04:00

38 lines
783 B
Plaintext

// 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;
};
};