[This is preliminary documentation and subject to change.]
The MakeLocalBroadcastSchedule method returns a correctly formatted show reference.
HRESULT MakeLocalBroadcastSchedule(
BSTR EpisodeTitle, // in
short Channel, // in
BSTR Network, // in
BSTR Station, // in
long TuningSpace, // in
VARIANT Time, // in
BSTR *pbstrRetVal // out
);
You can create a show reference with an ambiguous date or time by passing a pointer to an ITaskTrigger interface in which the date or time member of the TASK_TRIGGER structure, or both, are set to –1. For more information on working with ambiguous dates and times, see Ambiguous Triggers. To locate more information about ITaskTrigger and TASK_TRIGGER, see Further Information on Television Services for the Client.
The DATE data type does not support ambiguous date or time 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.
The data passed in the parameters of the MakeLocalBroadcastSchedule method contains all the information necessary for making a correctly formatted show reference.
MakeLocalBroadcastSchedule does not perform any validation of the existence of the show or shows specified or more than rudimentary validation of its arguments.
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::MakeRemoteBroadcastSchedule, ITelevisionServices::SplitBroadcastSchedule, ITelevisionServices::SplitSimpleBroadcastSchedule