IRdcGeneratorFilterMaxParameters::SetHorizonSize method (msrdc.h)

The SetHorizonSize method sets the horizon size—the length over which the FilterMax generator looks for local maxima. This determines the default smallest size for a chunk.


HRESULT SetHorizonSize(
  [in] ULONG horizonSize


[in] horizonSize

Specifies the length in bytes of the horizon size. The valid range is from MSRDC_MINIMUM_HORIZONSIZE to MSRDC_MAXIMUM_HORIZONSIZE. If this parameter is not set then a suitable default will be used.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.


Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header msrdc.h
DLL MsRdc.dll

See also