pcdmdll.idl

来自「《Windows CE 权威指南》(作者:(美)CHRIS MUENCH」· IDL 代码 · 共 60 行

IDL
60
字号
// 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);
	};

[
	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;
	};
};

⌨️ 快捷键说明

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