This function attempts to decompress compr_len bytes of data in the buffer pointed by compr_addr, placing the result in the buffer pointed by raw_addr. The data compression format is specified by the FileFormat member variable of the info structure.
Parameter | Description |
---|---|
info |
Pointer to the DT_AUX_INFO structure containing the applicable initialization parameters. |
raw_addr |
A valid pointer to a user-supplied buffer to which the function will decompress the data. |
raw_len |
On entry, raw_len points to a value describing the size of the buffer to which the function will decompress the data, in bytes. Your application should ensure that this value is large enough to hold the entire decompressed data. On exit, this value will be updated to hold the actual length of the decompressed data, in bytes. |
compr_addr |
A valid pointer to a buffer that holds compressed data. |
compr_len |
Size of the compressed data, in bytes. |
The function returns 1 if successful and 0 otherwise.