📄 pcdmdll.idl
字号:
// PCDMDLL.idl : IDL source for PCDMDLL.dll
//
// This file will be processed by the MIDL tool to
// produce the type library (PCDMDLL.tlb) and marshalling code.
import "oaidl.idl";
import "ocidl.idl";
[
object,
uuid(87E13EE1-3C7C-443C-AE1B-2F102C98AD70),
dual,
helpstring("IPCDMAccessReg Interface"),
pointer_default(unique)
]
interface IPCDMAccessReg : IDispatch
{
[id(1), helpstring("method ReadRegistryKey")] HRESULT ReadRegistryKey(BSTR Path,[out, retval] VARIANT *Value);
[id(2), helpstring("method WriteRegistryKey")] HRESULT WriteRegistryKey(BSTR Path, VARIANT Value);
};
[
object,
uuid(9730540D-C55C-496E-95EE-9F7A07BA05F4),
dual,
helpstring("IPCDMInput Interface"),
pointer_default(unique)
]
interface IPCDMInput : IDispatch
{
[id(1), helpstring("method ShowSIP")] HRESULT ShowSIP(int iShow);
};
[
object,
uuid(14BA45F1-D3DF-4ED1-B7BE-D1200A193A68),
dual,
helpstring("IPCDMAccessDB Interface"),
pointer_default(unique)
]
interface IPCDMAccessDB : IDispatch
{
[id(1), helpstring("method AddProperty")] HRESULT AddProperty(VARIANT PID, long Sorted);
[id(2), helpstring("method CreateTable")] HRESULT CreateTable(BSTR FileLocation, BSTR Name);
[id(3), helpstring("method OpenTable")] HRESULT OpenTable(BSTR FileLocation, BSTR Name, VARIANT PID, [out,retval] long * Handle);
[id(4), helpstring("method CloseTable")] HRESULT CloseTable(long Handle);
[id(5), helpstring("method MoveFirst")] HRESULT MoveFirst(long Handle);
[id(6), helpstring("method MoveLast")] HRESULT MoveLast(long Handle);
[id(7), helpstring("method MoveNext")] HRESULT MoveNext(long Handle);
[id(8), helpstring("method MovePrevious")] HRESULT MovePrevious(long Handle);
[id(9), helpstring("method FindRecord")] HRESULT FindRecord(long Handle,VARIANT PID, VARIANT Value);
[id(10), helpstring("method AddNewRecord")] HRESULT AddNewRecord(long Handle);
[id(11), helpstring("method SetValue")] HRESULT SetValue(VARIANT PID, VARIANT Value);
[id(12), helpstring("method WriteRecord")] HRESULT WriteRecord(long DBHandle);
[id(13), helpstring("method ReadRecord")] HRESULT ReadRecord(long DBHandle, [out,retval] long * Count);
[id(14), helpstring("method GetValue")] HRESULT GetValue(VARIANT PID, [out, retval] VARIANT *Value);
[id(15), helpstring("method Execute")] HRESULT Execute(BSTR FileLocation, BSTR Command);
};
[
object,
uuid(76233A00-16BE-445E-9995-F57C99638490),
dual,
helpstring("IPCDMUtils Interface"),
pointer_default(unique)
]
interface IPCDMUtils : IDispatch
{
[id(1), helpstring("method AnalyzeURL")] HRESULT AnalyzeURL(BSTR bstrURL);
[id(2), helpstring("method GetURL")] HRESULT GetURL(LONG Index, BSTR InURL,[out,retval]BSTR *OutURL);
[id(3), helpstring("method GetClass")] HRESULT GetClass(BSTR InURL,[out, retval]LONG *ClassID);
[id(4), helpstring("method GetCommand")] HRESULT GetCommand(BSTR InURL,[out,retval]BSTR *Command);
[id(5), helpstring("method ExecuteADBCmd")] HRESULT ExecuteADBCmd(BSTR Command);
[id(6), helpstring("method GetTagValue")] HRESULT GetTagValue(BSTR InCMD, BSTR TagName,[out,retval]BSTR *TagValue);
};
[
object,
uuid(6574C93E-793E-4EAE-A24C-9C292529635D),
dual,
helpstring("IPCDMTransfer Interface"),
pointer_default(unique)
]
interface IPCDMTransfer : IDispatch
{
[id(1), helpstring("method SendString")] HRESULT SendString(BSTR Text);
[id(2), helpstring("method ReceiveString")] HRESULT ReceiveString(BSTR *Text);
[id(3), helpstring("method CancelReceive")] HRESULT CancelReceive();
};
[
uuid(8C6388BD-0BF8-425E-98FE-D2535F381A99),
version(1.0),
helpstring("PCDMDLL 1.0 Type Library")
]
library PCDMDLLLib
{
importlib("stdole32.tlb");
importlib("stdole2.tlb");
[
uuid(D2ACF41B-B43F-42D1-94D8-54BACAD2D88F),
helpstring("PCDMAccessReg Class")
]
coclass PCDMAccessReg
{
[default] interface IPCDMAccessReg;
};
[
uuid(53764A4B-4C21-4EF3-A601-DFD8D2A13E31),
helpstring("PCDMInput Class")
]
coclass PCDMInput
{
[default] interface IPCDMInput;
};
[
uuid(CE79840E-539A-40AE-8DDD-EB9F9CB21EF7),
helpstring("PCDMAccessDB Class")
]
coclass PCDMAccessDB
{
[default] interface IPCDMAccessDB;
};
[
uuid(E18E4F22-D81C-4B56-B63B-5698A72993B8),
helpstring("PCDMUtils Class")
]
coclass PCDMUtils
{
[default] interface IPCDMUtils;
};
[
uuid(21E57F46-D3E2-43FD-8970-6FC209A579DE),
helpstring("PCDMTransfer Class")
]
coclass PCDMTransfer
{
[default] interface IPCDMTransfer;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -