⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pcdmui.idl

📁 《Windows CE 权威指南》(作者:(美)CHRIS MUENCH
💻 IDL
字号:
// PCDMUI.idl : IDL source for PCDMUI.dll
//

// This file will be processed by the MIDL tool to
// produce the type library (PCDMUI.tlb) and marshalling code.

import "oaidl.idl";
import "ocidl.idl";
#include "olectl.h"
	

	[
		object,
		uuid(30D86213-6604-4F71-88CC-20557837C1BF),
		dual,
		helpstring("IPCDMCommander Interface"),
		pointer_default(unique)
	]
	interface IPCDMCommander : IDispatch
	{
		[id(1), helpstring("method CreateBar")] HRESULT CreateBar(int ID, int Styles);
		[id(2), helpstring("method InsertMenu")] HRESULT InsertMenu(BSTR MenuName,int Index);
		[id(3), helpstring("method InsertMenuItem")] HRESULT InsertMenuItem(BSTR ItemName,int MenuNo,int Index, int ID);
		[id(4), helpstring("method InsertButton")] HRESULT InsertButton(int StockNo,int state,int Index,int ID,BSTR ToolTipText);
		[id(5), helpstring("method InsertComboBox")] HRESULT InsertComboBox(int Size,int Index, int ID);
		[id(6), helpstring("method AddStringToComboBox")] HRESULT AddStringToComboBox(int ID, BSTR text);
		[id(7), helpstring("method SetAdornments")] HRESULT SetAdornments(int Flags);
		[id(8), helpstring("method SetCmdBarType")] HRESULT SetCmdBarType(int type);
	};

[
	uuid(5D10D93B-1A63-4690-AAE8-86010D343405),
	version(1.0),
	helpstring("PCDMUI 1.0 Type Library")
]
library PCDMUILib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(6C766E9C-5E4A-4EEC-AC13-9DBFED9A3F40),
		helpstring("_IPCDMCommanderEvents Interface")
	]
	dispinterface _IPCDMCommanderEvents
	{
		properties:
		methods:
		[id(1), helpstring("method CmdBarAction")] HRESULT CmdBarAction(int ID, BSTR text);
	};

	[
		uuid(5D060435-1335-491F-9CF3-341047E7995E),
		helpstring("PCDMCommander Class")
	]
	coclass PCDMCommander
	{
		[default] interface IPCDMCommander;
		[default, source] dispinterface _IPCDMCommanderEvents;
	};
};

⌨️ 快捷键说明

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