ITelevisionServices::DeleteOldEnhancements

[This is preliminary documentation and subject to change.]

The DeleteOldEnhancements method deletes expired enhancement data from the Guide database. This method does not delete the enhancement files associated with the specified record.

HRESULT DeleteEnhancementFromID(
  Workspace *piDAOWorkspace, 
);
 

Parameters

piDAOWorkspace
Pointer to a DAO workspace. This workspace can be either preexisting or newly created.

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.

Remarks

Expired enhancements are those that have an expiration date and time that is earlier than the current date and time. The EN Expired Date field in the Guide database specifies this expiration date and time. Enhancement data's expiration date and time are set when the data is loaded into the Guide database, typically by using either the ITelevisionServices::LoadEnhancement or ITelevisionServices::LoadEnhancementsFromFile method.

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::DeleteEnhancementFromID, ITelevisionServices::LoadEnhancement, ITelevisionServices::LoadEnhancementsFromFile