Choosing an Export Format
Using a callback function, you can export data in one of three ways:
-
Export data into a line whose items are delimited by commas or another specified character. Set the ulEvalTag control flag in the EXPORT_CALLBACK structure to TEXT_LINE. The data line format is the same as would be used if the data were written to an export file.
-
Export data into an array of structures. Set the ulEvalTag control flag to VALUE_ARRAY. Data is returned in its native type, with a few minor exceptions. For example, any attributes whose native type is object (such as distinguished names or OR names) is returned as a text representation of that object. Also, date fields are returned as UTC string representations of the date. Unsigned integer values are returned as integers.
-
Export data into an array of structures in "textized" format. Set ulEvalTag to TEXT_VALUE_ARRAY. All binary and nonbinary data is exported in string representations. Binary values are exported as strings of hex digits.