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

📄 ptnatcomm.idl

📁 收发短信ocx控件
💻 IDL
字号:
// PTNAtComm.idl : ActiveX 控件项目的类型库源。

// 此文件将由 MIDL 编译器工具处理以
// 产生类型库(PTNAtComm.tlb),该类型库将成为
// PTNAtComm.ocx.

#include <olectl.h>
#include <idispids.h>

[ uuid(CC666662-BA28-4099-B9EA-F08B0FDA9542), version(2.0),
  helpfile("PTNAtComm.hlp"),
  helpstring("PTNAtComm ActiveX 控件模块"),
  control ]
library PTNAtCommLib
{
	importlib(STDOLE_TLB);

	//  CPTNAtCommCtrl 的主调度接口

	[ uuid(A5D3E6AC-0F96-4574-9B96-537A5266DDB8),
	  helpstring("PTNAtComm Control 的调度接口")]
	dispinterface _DPTNAtComm
	{
		properties:
			[id(2) , helpstring("属性 CommSeq")] BSTR CommSeq;
			[id(3), helpstring("属性 Comm")] BSTR Comm;
	methods:

			[id(DISPID_ABOUTBOX)] void AboutBox();
			[id(1), helpstring("方法GetCommName")] BSTR GetCommName(void);
	};

	//  CPTNAtCommCtrl 的事件调度接口

	[ uuid(A4EBE927-9498-4F27-82D1-597EA363AA9B),
	  helpstring("PTNAtComm Control 的事件接口") ]
	dispinterface _DPTNAtCommEvents
	{
		properties:
			//  事件接口没有任何属性

		methods:
	};

	//  CPTNAtCommCtrl 的类信息

	[ uuid(CD682C95-8512-4C34-98CD-E9DFEDC1961E), licensed,
	  helpstring("PTNAtComm Control"), control ]
	coclass PTNAtComm
	{
		[default] dispinterface _DPTNAtComm;
		[default, source] dispinterface _DPTNAtCommEvents;
	};

};

⌨️ 快捷键说明

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