SetEncodingLevel method
Sets the level of compression used by the data filter.
Syntax
HRESULT retVal = object.SetEncodingLevel(dwEncLevel);
Parameters
- dwEncLevel [in]
-
Type: DWORD
A value of type DWORD that specifies the level of compression used by the data filter. This can be any integer value between 1 and 10. A value of 1 indicates faster compression, while a value of 10 indicates a smaller compressed data size. The default value is 5.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Show: