- // channelhook.idl
- import "unknwn.idl";
- [ object, uuid(11000001-0000-0000-0000-000000000001) ]
- interface IClientInfo : IUnknown
- {
- HRESULT GetClientComputerName([out, string] BSTR* bstr);
- }
- [ uuid(11000003-0000-0000-0000-000000000001),
- version(1.0) ]
- library ChannelHook
- {
- importlib("stdole32.tlb");
- interface IClientInfo;
- [ uuid(11000002-0000-0000-0000-000000000001) ]
- coclass ClientChannelHook
- {
- interface IClientInfo;
- }
- };