The persistence API has both UNICODE and ANSI versions of its functions depending on the data you wish to write/read. Only the UNICODE functions are documented but the ANSI functions are identical except for the following: