2025-04-27 07:49:33 -04:00

78 lines
1.7 KiB
Plaintext

// BankVC.idl : IDL source for BankVC.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (BankVC.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(5A67AADF-37DA-11D2-955A-004005A2F9B1),
dual,
helpstring("IAccount Interface"),
pointer_default(unique)
]
interface IAccount : IDispatch
{
[id(1), helpstring("method Post")] HRESULT Post([in] long lngAccntNum, [in] long lngAmount, [out, retval] BSTR* pVal);
};
[
object,
uuid(5A67AAE1-37DA-11D2-955A-004005A2F9B1),
dual,
helpstring("ICreateTable Interface"),
pointer_default(unique)
]
interface ICreateTable : IDispatch
{
[id(1), helpstring("method CreateAccount")] HRESULT CreateAccount();
};
[
object,
uuid(5A67AAE3-37DA-11D2-955A-004005A2F9B1),
dual,
helpstring("IMoveMoney Interface"),
pointer_default(unique)
]
interface IMoveMoney : IDispatch
{
[id(1), helpstring("method Perform")] HRESULT Perform([in]long lngAcnt1, [in] long lngAcnt2, [in]long lngAmount, [in]long lngType, [out, retval]BSTR* pVal);
};
[
uuid(5A67AAD3-37DA-11D2-955A-004005A2F9B1),
version(1.0),
helpstring("BankVC 1.0 Type Library")
]
library BANKVCLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(5A67AAE0-37DA-11D2-955A-004005A2F9B1),
helpstring("Account Class")
]
coclass Account
{
[default] interface IAccount;
};
[
uuid(5A67AAE2-37DA-11D2-955A-004005A2F9B1),
helpstring("CreateTable Class")
]
coclass CreateTable
{
[default] interface ICreateTable;
};
[
uuid(5A67AAE4-37DA-11D2-955A-004005A2F9B1),
helpstring("MoveMoney Class")
]
coclass MoveMoney
{
[default] interface IMoveMoney;
};
};