Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // TestServer.idl : IDL source for TestServer.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (TestServer.tlb) and marshalling code.
- import "oaidl.idl";
- import "ocidl.idl";
- [
- object,
- uuid(BB5DD9CF-CB30-40A6-8D59-925ACFF4DAA4),
- dual,
- helpstring("IPippo Interface"),
- pointer_default(unique)
- ]
- interface IPippo : IDispatch
- {
- [id(1), helpstring("method Method1")] HRESULT Method1([out, retval] IPippo **val);
- [propget, id(2), helpstring("property MyProp1")] HRESULT MyProp1([out, retval] long *pVal);
- };
- [
- uuid(1728B2B9-B2EE-4657-8181-AB7B38AB847A),
- version(1.1),
- helpstring("TestServer 1.1 Type Library")
- ]
- library TESTSERVERLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- importlib("msado15.dll");
- [
- uuid(47D38FBE-C5A2-4C9C-8EF4-4AFD822AB26D),
- helpstring("Pippo Class")
- ]
- coclass Pippo
- {
- [default] interface IPippo;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment