(Interface Definition Language)
import "unknwn.idl";
//Interface IInput
[
object,
uuid(3DC9017D-10E4-4D83-8097-E0FC0497B965),
helpstring("IInput Interface"),
pointer_default(unique)
]
interface
IInput : IUnknown{
HRESULT input();
HRESULT output();
};
//Interface IPhone
[
object,
uuid(048C493E-A924-4345-8650-18BE597B4129),
helpstring("IPhone Interface"),
pointer_default(unique)
]
interface IPhone : IUnknown
{
HRESULT giveACall([in] int nPhone);
HRESULT takeACall([in] int nPhone);
};