beautypg.com

4 ianalyzeradapter::isvalidobject, Parameters, Return values – Teledyne LeCroy Automation API for Teledyne LeCroy PETracer_PETrainer User Manual

Page 150: Remarks, Example, Sub btnconnect_onclick, Launch ms excel instead of petracer, Ianalyzeradapter::isvalidobject

background image

Teledyne LeCroy

Automation API for PETracer/PETrainer

145

12.1.4 IAnalyzerAdapter::IsValidObject


HRESULT IsValidObject(

[in] IDispatch *pObj,
[out,retval] VARIANT_BOOL* pVal )


This method helps to determine whether some automation object can be attached to the adapter.

Parameters

pObj

Pointer to the object validated

pVal

Pointer to the varable receiving result. TRUE if the validated object can

be attached, FALSE otherwise

Return values


Remarks

Only LeCroy analyzer COM servers can be attached to the adapter.


Example

VBScript:


classid=clsid:A0CB5386-38BA-4970-8782-3D1B707C3E5F>


...