LabWindows/CVI

CVIXMLGetDocumentActiveXHandle

CVIXMLStatus CVIXMLGetDocumentActiveXHandle (CVIXMLDocument document, MSXMLObj_IXMLDOMDocument *activeXHandle);

Purpose

Gets a document's ActiveX handle.

Parameters

Input
Name Type Description
document CVIXMLDocument The document handle that CVIXMLLoadDocument outputs. It represents the XML document.
Output
Name Type Description
activeXHandle MSXMLObj_IXMLDOMDocument On output, contains the Microsoft XML DOM ActiveX document 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