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

📄 indexsystem.idl

📁 在vc环境下
💻 IDL
字号:
// IndexSystem.idl : IDL source for IndexSystem
//

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


cpp_quote("#pragma once")


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

[
	object,
	uuid(FDB146D6-FBAF-4FE6-99D3-B5979695340D),
	dual,
	nonextensible,
	helpstring("IGHClassify Interface"),
	pointer_default(unique)
]
interface IGHClassify : IDispatch{
	[propget, id(1), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal);
	[propput, id(1), helpstring("property Name")] HRESULT Name([in] BSTR newVal);
	[propget, id(2), helpstring("property Description")] HRESULT Description([out, retval] BSTR* pVal);
	[propput, id(2), helpstring("property Description")] HRESULT Description([in] BSTR newVal);
	[propget, id(3), helpstring("property Value")] HRESULT Value([out, retval] FLOAT* pVal);
	[propput, id(3), helpstring("property Value")] HRESULT Value([in] FLOAT newVal);
	[id(4), helpstring("method Clone")] HRESULT Clone([out,retval] IGHClassify** pVal);
};

//[
//	object,
//	uuid(5A881EF0-0ACC-4e3d-A76B-D0EF8C152ECA),
//	dual,
//	nonextensible,
//	helpstring("ICollection Interface"),
//	pointer_default(unique)
//]
//interface ICollection : IDispatch
//{
//
//};

[
	object,
	uuid(77188D94-89D5-4EA4-B44B-7EC46460019F),
	dual,
	nonextensible,
	helpstring("IGHIndex Interface"),
	pointer_default(unique)
]
interface IGHIndex : IDispatch{
	[id(1), helpstring("method Add")] HRESULT Add([in] IGHClassify* newVal);
	[id(2), helpstring("method Delete")] HRESULT Delete([in] IGHClassify* pVal);
	[id(3), helpstring("method Clear")] HRESULT Clear(void);
	[propget, id(4), helpstring("property Count")] HRESULT Count([out, retval] LONG* pVal);
	[propget, id(5), helpstring("property Item")] HRESULT Item([in] LONG Index, [out, retval] IGHClassify** pVal);
	[propput, id(5), helpstring("property Item")] HRESULT Item([in] LONG Index, [in] IGHClassify* newVal);
	[propget, id(6), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal);
	[propput, id(6), helpstring("property Name")] HRESULT Name([in] BSTR newVal);
	[propget, id(7), helpstring("property Description")] HRESULT Description([out, retval] BSTR* pVal);
	[propput, id(7), helpstring("property Description")] HRESULT Description([in] BSTR newVal);
	[id(8), helpstring("method Clone")] HRESULT Clone([out,retval] IGHIndex** pVal);

};
[
	object,
	uuid(9C6CF0D1-D41C-4994-A87D-5C0973B661CA),
	dual,
	nonextensible,
	helpstring("IGHIndexs Interface"),
	pointer_default(unique)
]
interface IGHIndexs : IDispatch{
	[id(1), helpstring("method Add")] HRESULT Add([in] IGHIndex* newVal);
	[id(2), helpstring("method Delete")] HRESULT Delete([in] IGHIndex* pVal);
	[id(3), helpstring("method Clear")] HRESULT Clear(void);
	[propget, id(4), helpstring("property Count")] HRESULT Count([out, retval] LONG* pVal);
	[propget, id(5), helpstring("property Item")] HRESULT Item([in] LONG Index, [out, retval] IGHIndex** pVal);
	[propput, id(5), helpstring("property Item")] HRESULT Item([in] LONG Index, [in] IGHIndex* newVal);
	[propget, id(6), helpstring("property Name")] HRESULT Name([out, retval] BSTR* pVal);
	[propput, id(6), helpstring("property Name")] HRESULT Name([in] BSTR newVal);
	[propget, id(7), helpstring("property Description")] HRESULT Description([out, retval] BSTR* pVal);
	[propput, id(7), helpstring("property Description")] HRESULT Description([in] BSTR newVal);
	[propget, id(8), helpstring("property CreateDate")] HRESULT CreatedDate([out, retval] DATE* pVal);
	[propget, id(9), helpstring("property FilePath")] HRESULT FilePath([out, retval] BSTR* pVal);
	[propput, id(9), helpstring("property FilePath")] HRESULT FilePath([in] BSTR newVal);
};


[
	object,
	uuid(44A26EFA-D86E-4A5C-A1E9-8F8687EABEA8),
	dual,
	nonextensible,
	helpstring("IGHIndexsWorkspace Interface"),
	pointer_default(unique)
]
interface IGHIndexsWorkspace : IDispatch
{
	[id(2), helpstring("method Open")] HRESULT Open([in] BSTR bstrFileFullName, [out,retval] IGHIndexs** pIndexs);
	[id(3), helpstring("method Save")] HRESULT Save([in] IGHIndexs* pIndexs);
	[id(4), helpstring("method SaveAs")] HRESULT SaveAs([in] BSTR bstrFileFullName, [in] IGHIndexs* pIndexs);
	[id(5), helpstring("method Create")] HRESULT Create([in] BSTR bstrFileFullName, [out,retval] IGHIndexs** pGHIndexSystem);

};


[
	object,
	uuid(5533A5D6-789D-4ECE-84A8-7359EE8F095F),
	dual,
	nonextensible,
	helpstring("IGHIndexsWorkspace2 Interface"),
	pointer_default(unique)
]
interface IGHIndexsWorkspace2 : IDispatch
{
	[id(1), helpstring("method Open")] HRESULT Open([in] IStorage* pRootStorage, [out,retval] IGHIndexs** pIndexs);
	[id(2), helpstring("method Save")] HRESULT Save([in] IStorage* pRootStorage, [in] IGHIndexs* pIndexs);
};



[
	uuid(872B7158-AA83-40F9-AC26-1A1785DCAA5D),
	version(1.0),
	helpstring("IndexSystem 1.0 Type Library")
]
library IndexSystemLib
{
	importlib("stdole2.tlb");
	[
		uuid(E85BEC0D-B487-4053-AC9D-42A9F3CDCAD2),
		helpstring("GHClassify Class")
	]
	coclass GHClassify
	{
		[default] interface IGHClassify;
	};
	[
		uuid(CF52A491-C99E-4A11-83B0-22791BB71F42),
		helpstring("GHIndex Class")
	]
	coclass GHIndex
	{
		[default] interface IGHIndex;
	};
	[
		uuid(C196CE33-48DC-469D-98A1-6682DBD897D5),
		helpstring("GHIndexs Class")
	]
	coclass GHIndexs
	{
		[default] interface IGHIndexs;
	};

	[
		uuid(6122014D-A179-4CAE-ADE2-6C4A50983977),
		helpstring("IndexsWorkspace Class")
	]
	coclass IndexsWorkspace
	{
		[default] interface IGHIndexsWorkspace;
	};
	[
		uuid(790F5310-C874-4FDF-B0EB-00197500239A),
		helpstring("IndexsWorkspace2 Class")
	]
	coclass IndexsWorkspace2
	{
		[default] interface IGHIndexsWorkspace2;
	};
};

⌨️ 快捷键说明

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