[This is preliminary documentation and subject to change.]
The ResolveBroadcastInclusively method creates a DAO QueryDef definition that represents the specified show reference. If a start time is specified in the show reference, ResolveBroadcastInclusively returns all matching episodes that start before or end after that time.
HRESULT ResolveBroadcastInclusively(
BSTR Workspace, // in
BSTR QueryName, // in
BSTR ShowReference // in
);
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.
The ResolveBroadcastInclusively method's functionality differs from that of the ITelevisionServices::ResolveBroadcast method, which returns matching episodes that start at the specified start time. As an example of ResolveBroadcastInclusively functionality, if the start time specified in the show reference is 11:15 A.M., ResolveBroadcastInclusively creates a QueryDef that returns shows that start any time before and end any time after 11:15 A.M.
If a QueryDef of the same name already exists, calling ResolveBroadcastInclusively deletes it.
ResolveBroadcastInclusively can return an error in which the QueryDef has an empty result set. Such an error occurs if the ShowReference specified does not match anything in the database and does not cause another type of error.
The application that calls ResolveBroadcast must delete the QueryDef object after use.
ResolveBroadcastInclusively ignores the show reference's end time value.
ResolveBroadcastInclusively is called internally by the enhancement filter.
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::ResolveBroadcast, ITelevisionServices::ResolveScheduledReminders