[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
);
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.
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.
ITelevisionServices::TuningSpaceNumberFromName