LabWindows/CVI

CVIXMLGetElementActiveXHandle

CVIXMLStatus CVIXMLGetElementActiveXHandle (CVIXMLElement element, MSXMLObj_IXMLDOMElement *activeXHandle);

Purpose

Gets an element's ActiveX handle.

Parameters

Input
Name Type Description
element CVIXMLElement Element whose ActiveX handle to get.
Output
Name Type Description
activeXHandle MSXMLObj_IXMLDOMElement On output, contains the Microsoft XML DOM ActiveX element handle. The handle can be used with Microsoft XML DOM ActiveX functions. You must discard this handle by calling CA_DiscardObjHandle when you are done using it.

Return Value

Name Type Description
status CVIXMLStatus Indicates whether the function was successful.

A zero indicates success.

You can call CVIXMLGetErrorString to obtain textual descriptions of error codes. Among the more commonly encountered errors are:

E_OUTOFMEMORY Out of memory.
E_INVALIDARG Invalid argument to a function.

Additional Information

Library: CVIXML

Include file: toolbox\cvixml.h

LabWindows/CVI compatibility: LabWindows/CVI 7.0 and later