IScanningTunerEx::TerminateCurrentScan method (tuner.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

This topic applies to Windows Vista and later.

The TerminateCurrentScan method interrupts the current scan, if a scan is in progress.

Syntax

HRESULT TerminateCurrentScan(
  [out] long *pcurrentFreq
);

Parameters

[out] pcurrentFreq

Receives the last frequency that the tuner scanned before halting.

Return value

Returns an HRESULT value. Possible values include the following.

Return value Description
S_FALSE
No scan is currently in progress.
S_OK
Success.

Requirements

Requirement Value
Target Platform Windows
Header tuner.h

See also

IScanningTunerEx Interface