⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 iball.idl

📁 服务器方面的
💻 IDL
字号:
// 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;
    };

};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -