次の方法で共有


ITuningSpaceContainer::FindID 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.]

The FindID method retrieves the ID of a specified tuning space within the collection.

Syntax

HRESULT FindID(
  [in]  ITuningSpace *TuningSpace,
  [out] long         *ID
);

Parameters

[in] TuningSpace

Pointer to the ITuningSpace interface of the tuning space.

[out] ID

Pointer to a variable that receives the ID of the tuning space. The returned value is specific to this collection object (which represents the local system).

Return value

Returns an HRESULT. Possible values include those in the following table.

Return code Description
E_INVALIDARG
The specified tuning space is not a member of this collection.
E_POINTER
NULL pointer argument.
S_OK
Success.

Requirements

Requirement Value
Minimum supported client Windows�XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header tuner.h

See also

ITuningSpaceContainer Interface