ITelevisionServices::TuningSpaceNameFromNumber

[This is preliminary documentation and subject to change.]

The TuningSpaceNameFromNumber method maps the numeric identifier of a tuning space in the Guide database to a user-readable string, for example "Cable" or "Broadcast."

HRESULT TuningSpaceNameFromNumber(
  long  TuningID,     // in
  BSTR * pbstrRetVal  // out
);
 

Parameters

TuningID
Numeric identifier of the tuning space.
pbstrRetVal
Address where this method returns the string that contains the tuning-space name.

Return Values

Returns an HRESULT indicating success or failure. If the method succeeds, it returns S_OK. Otherwise, it returns an error code. For specific error codes, see the Winerror.h and Dbdaoerr.h header files. To locate more information about Winerror.h and Dbdaoerr.h, see Further Information on Television Services for the Client.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in tssadmin.odl.
  Import Library: Included as a resource in tssadmin.dll.
  Unicode: Yes.

See Also

ITelevisionServices::TuningSpaceNumberFromName