TunerOpen

This function returns a handle to a tuner resource.

Syntax

HANDLE TunerOpen( DWORD dwTuneridentifier );

Parameters

dwTuneridentifier
Specifies the tuner identifier. The first tuner has an identifier of 1, the second has an identifier of 2, and so on.

Return Values

A valid tuner handle indicates success. INVALID_HANDLE_VALUE indicates failure.

Remarks

The handle returned by this function is used when calling other tuner functions. 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.

See Also

TunerClose, TunerGetConfig