Windows Media Format SDK banner art
PreviousNext

IWMWriterAdvanced::GetSyncTolerance

The GetSyncTolerance method retrieves the amount of time that the inputs will be allowed to fall out of synchronization before the samples are discarded.

Syntax

HRESULT GetSyncTolerance(
  DWORD*  pmsWindow
);

Parameters

  msWindow

[in]  Pointer to the limit of the number of milliseconds that the inputs can be out of synchronization.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Meaning
E_INVALIDARG pmsWindow is NULL.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.