ITelevisionServices::SplitSimpleBroadcastSchedule

[This is preliminary documentation and subject to change.]

The SplitSimpleBroadcastSchedule method parses a show reference into its constituent parts. This method performs the same function as the SplitBroadcastSchedule method, except that the date and time information is returned as a DATE variable.

HRESULT SplitSimpleBroadcastSchedule(
  BSTR  ShowReference,  // in
  BSTR * EpisodeTitle,  // out
  short *  Channel,     // out
  BSTR * Network,       // out
  BSTR * Station,       // out
  long *  TuningSpace,  // out
  DATE * Time           // out
);
 

Parameters

ShowReference
Show reference to parse.
EpisodeTitle
Pointer to a BSTR where this method returns the title for the show reference.
Channel
Pointer to a short where this method returns the channel for the show reference.
Network
Pointer to a BSTR where this method returns the network for the show reference.
Station
Pointer to a BSTR where this method returns the station for the show reference.
TuningSpace
Pointer to a long where this method returns the tuning space for the show reference.
Time
Pointer to a DATE where this method returns the date and time information for the show reference.

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 header file. To locate more information about Winerror.h, see Further Information on Television Services for the Client.

Remarks

The SplitSimpleBroadcastSchedule method is provided for programmers working in Visual Basic, which cannot manipulate objects with the ITaskTrigger interface returned by SplitBroadcastSchedule. SplitSimpleBroadcastSchedule returns an error if the syntax of the show reference string is faulty.

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::MakeLocalBroadcastSchedule, ITelevisionServices::MakeRemoteBroadcastSchedule, ITelevisionServices::SplitBroadcastSchedule