TunerGetConfig

This function returns the configuration of a tuner.

Syntax

BOOL TunerGetConfig ( HANDLE hTuner, PTUNERCONFIG pTunerConfig );

Parameters

hTuner
[in] Handle to the current tuner, as returned by TunerOpen.
pTunerConfig
[out] Pointer to a TUNERCONFIG structure that contains the tuner configuration.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

When a tuner is opened, the system initializes and configures the device in a default state. To determine this initial configuration, an application calls TunerGetConfig, which fills a TUNERCONFIG structure with the default settings. To modify these settings, change the desired members of the TUNERCONFIG structure and then use the modified structure as a parameter in a TunerSetConfig call.

See Also

TUNERCONFIG, TunerOpen