adoquery.idl

来自「编程实例」· IDL 代码 · 共 40 行

IDL
40
字号
// AdoQuery.idl : IDL source for AdoQuery.dll
//

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

import "oaidl.idl";
import "ocidl.idl";
	[
		object,
		uuid(2C692CB3-41F0-42AC-A2C2-A8860405DF34),
		dual,
		helpstring("IGxp_adoQuery Interface"),
		pointer_default(unique)
	]
	interface IGxp_adoQuery : IDispatch
	{
		[id(1), helpstring("method GetQuery")] HRESULT GetQuery([in] IDispatch* pDisp, [out, retval] BSTR *pSql);
	};

[
	uuid(DBA0904C-8FAA-4410-A7CF-5369F2A613E6),
	version(1.0),
	helpstring("AdoQuery 1.0 Type Library")
]
library ADOQUERYLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");

	[
		uuid(597F7598-48F0-4895-A82D-921C90347938),
		helpstring("Gxp_adoQuery Class")
	]
	coclass Gxp_adoQuery
	{
		[default] interface IGxp_adoQuery;
	};
};

⌨️ 快捷键说明

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