bcamtopologyview.idl

来自「BCAM 1394 Driver」· IDL 代码 · 共 62 行

IDL
62
字号
//-----------------------------------------------------------------------------
//  (c) 2002 by Basler Vision Technologies
//  Section:  Vision Components
//  Project:  BCAM
//  $Header: $
//-----------------------------------------------------------------------------
/**
  \file     BcamTopologyView.idl
 *
  \brief    Definition of the IBcamTopologyViewCtl interface and the BcamTopologyViewCtl coclass
 *
 *  BcamTopologyViewCtl is a control showing the available IEEE1394 devices 
 *  in a tree structure. The interface holds methods to issue an update of the view,
 *  to issue a bus reset and to switch on/off display of details
 *  This file will be processed by the MIDL tool to
 *  produce the type library (BcamTopologyView.tlb) and marshalling code.
 */
//-----------------------------------------------------------------------------


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

	[
		object,
		uuid(AFCFBC1A-81D0-491b-B602-5AEBBF11961B),
		dual,
		helpstring("IBcamTopologyViewCtl Interface"),
		pointer_default(unique)
	]
	interface IBcamTopologyViewCtl : IDispatch
	{
		[id(1), helpstring("method Update forces a rescan of the devices ")] HRESULT Update();
		[id(2), helpstring("method ResetBus generates a bus reset on each Adapter")] HRESULT ResetBus();
		[propget, id(3), helpstring("property Details")] HRESULT Details([out, retval] VARIANT_BOOL *pVal);
		[propput, id(3), helpstring("property Details")] HRESULT Details([in] VARIANT_BOOL newVal);
	};

[
	uuid(3403832A-A74C-45d6-97BD-BC0AE3D4CA6C),
	version(1.0),
	helpstring("BcamTopologyView 1.0 Type Library")
]
library BcamTopologyViewLib
{
	importlib("stdole32.tlb");
	importlib("stdole2.tlb");
	interface IBcamTopologyViewCtl;

	[
		uuid(26551652-9D46-4d5d-8DCA-131C56141128),
		helpstring("BcamTopologyViewCtl Class")
	]
	coclass BcamTopologyViewCtl
	{
		[default] interface IBcamTopologyViewCtl;
	};
};

⌨️ 快捷键说明

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