📄 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);
};
[
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;
};
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -