Initializes the component for use.
Must be called successfully before calling any other method.
- Parameters
-
pBuffer | [ in ] The address of the buffer containing the data to be deflated. IMPORTANT: A copy of this buffer id not made by this component, so this buffer MUST remain valid for the duration of the deflation operation. |
cbBuffer | [ in ] The number of valid bytes in the buffer to be deflated. |
nLevel | [ in ] Compression level expressed as a value from 0-9 with 0 being no compression and 9 being max compression. |
fFlags | [ in ] P6GZIOFLAGS values indicating the desired behavior. The flags can be ORed together. |
- Returns