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

📄 orderentry.idl

📁 Visual_C++[1].NET_Bible1 Visual_C++宝典书中的全部源码
💻 IDL
字号:
// OrderEntry.idl : IDL source for OrderEntry
//

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

import "oaidl.idl";
import "ocidl.idl";

[
	object,
	uuid(42363644-0245-40BF-95E4-50B472D9DE47),
	dual,
	nonextensible,
	helpstring("ICreateOrder Interface"),
	pointer_default(unique)
]
interface ICreateOrder : IDispatch{
  [id(1), helpstring("method AddLineItem")] HRESULT AddLineItem([in] BSTR* pbstrSku, [in] SHORT sQuantity);
  [id(2), helpstring("method ProcessOrder")] HRESULT ProcessOrder(void);
};
[
	uuid(3A6582E7-7FB2-4377-8A42-80BBB7518352),
	version(1.0),
	helpstring("OrderEntry 1.0 Type Library")
]
library OrderEntryLib
{
	importlib("stdole2.tlb");
	[
		uuid(EDE01DE8-BACF-48CD-9DCA-F93D24A38E8B),
		helpstring("CreateOrder Class")
	]
	coclass CreateOrder
	{
		[default] interface ICreateOrder;
	};
};

⌨️ 快捷键说明

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