IBALL.IDL
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- // IBall.idl : IDL source for IBall.dll
- //
- // This file will be processed by the MIDL tool to
- // produce the type library (IBall.tlb) and marshalling code.
- import "unknwn.idl";
- [
- object,
- uuid(F002da32-0000-0000-c000-000000000046),
- helpstring("IBall Interface"),
- pointer_default(unique)
- ]
- interface IBall : IUnknown
- {
- import "oaidl.idl";
- // IBall property
- [id(1), propget] HRESULT Ball([out] POINT* pOrg, [out] POINT* pExt, [out, retval] COLORREF* pcrColor);
- // IBall methods
- [id(2)] HRESULT Reset([in] RECT* pNewRect, [in] short nBallSize);
- [id(3)] HRESULT Move([in] BOOL bAlive, [out, retval] BOOL* bRet);
- };
- [
- uuid(F002da31-0000-0000-c000-000000000046),
- version(1.0),
- helpstring("IBall 1.0 Type Library")
- ]
- library BallLib
- {
- importlib("stdole32.tlb");
- [
- uuid(F002da33-0000-0000-c000-000000000046),
- helpstring("Ball Class")
- ]
- coclass Ball
- {
- [default] interface IBall;
- };
- };