?? atldice.idl
字號:
// AtlDice.idl : IDL source for AtlDice.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (AtlDice.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
[
object,
uuid(D72B946A-328D-49BB-BF35-E5C1D31E904D),
dual,
helpstring("IAtlDiceObj Interface"),
pointer_default(unique)
]
interface IAtlDiceObj : IDispatch
{
[id(1), helpstring("method RollDice")] HRESULT RollDice();
[propget, id(2), helpstring("property m_nDiceColor")] HRESULT m_nDiceColor([out, retval] short *pVal);
[propput, id(2), helpstring("property m_nDiceColor")] HRESULT m_nDiceColor([in] short newVal);
[propget, id(3), helpstring("property TimestoRoll")] HRESULT TimestoRoll([out, retval] short *pVal);
[propput, id(3), helpstring("property TimestoRoll")] HRESULT TimestoRoll([in] short newVal);
};
[
uuid(075D4D33-0329-4340-89CA-66DB897C3FF5),
version(1.0),
helpstring("AtlDice 1.0 Type Library")
]
library ATLDICELib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(B7598D2B-830C-41BE-AB27-9765EE3410F2),
helpstring("_IAtlDiceObjEvents Interface")
]
dispinterface _IAtlDiceObjEvents
{
properties:
methods:
};
[
uuid(6E53417D-6193-436F-8DD1-29D239643CEA),
helpstring("AtlDiceObj Class")
]
coclass AtlDiceObj
{
[default] interface IAtlDiceObj;
[default, source] dispinterface _IAtlDiceObjEvents;
};
[
uuid(772C9482-7C08-4BED-ACC8-46D65805A5FD),
helpstring("Atldiceprop Class")
]
coclass Atldiceprop
{
interface IUnknown;
};
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -