home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
vcoledb
/
consumer
/
atlagent
/
atlagent.idl
< prev
next >
Wrap
Text File
|
1998-03-26
|
1KB
|
46 lines
// AtlAgent.idl : IDL source for AtlAgent.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (AtlAgent.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(53B15D6A-F364-11D0-8F53-000000000000),
dual,
helpstring("IAgentCtl Interface"),
pointer_default(unique)
]
interface IAgentCtl : IDispatch
{
[id(1), helpstring("method Play")] HRESULT Play();
[id(2), helpstring("method SpeakFile")] HRESULT SpeakFile([in] BSTR FileName);
[id(3), helpstring("method SpeakText")] HRESULT SpeakText([in] BSTR Text);
[propget, id(4), helpstring("property Speed")] HRESULT Speed([out, retval] long *pVal);
[propput, id(4), helpstring("property Speed")] HRESULT Speed([in] long newVal);
[id(5), helpstring("method Animate")] HRESULT Animate([in] BSTR Animation);
[id(6), helpstring("method Stop")] HRESULT Stop();
};
[
uuid(53B15D5D-F364-11D0-8F53-000000000000),
version(1.0),
helpstring("AtlAgent 1.0 Type Library")
]
library ATLAGENTLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(DC174F5C-B7B8-11D0-8E78-000000000000),
helpstring("AgentCtl Class")
]
coclass AgentCtl
{
[default] interface IAgentCtl;
};
};