GEV_STATUS Gev_RetrieveXMLData

(GEV_CAMERA_HANDLE handle, int size, char
 *xml_data, int *num_read, int *data_is_compressed);

Description

Retrieves XML data used for the camera from the camera itself. The data is returned in the location pointed to by the input data buffer. The number of bytes read from the camera is also returned.

Note: If the input buffer pointer is NULL, the function returns the required size of the XML data buffer.

Parameters

handle

Handle to the camera.

size

Size (in bytes) of the XML data buffer passed in.

xml_data

Pointer to storage to hold XML data read from the camera.

num_read

Pointer to hold the number of bytes read from the camera. If the “xml_data” pointer is NULL, the required buffer size is returned here.

data_is_compressed

Pointer to hold a flag indicating if the returned XML data is compressed (1 for true) or not (0 for false)

Return Value

GEVLIB_OK on success.

Related Topics

Member Function Descriptions