Partager via


IMsTscAdvancedSettings::put_Compress (Windows Embedded CE 6.0)

1/6/2010

This method sets the value of the Compression property, which enables or disables compression.

Syntax

HRESULT put_Compress(
  long compress
);

Parameters

  • compress
    [in] The value the Compression property is to be set to. If set to zero, compression is disabled. If set to any other value, compression is enabled.

Return Value

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscAdvancedSettings
IMsTscAdvancedSettings::get_Compress