IEPGEpisode::Repetition

[This is preliminary documentation and subject to change.]

The Repetition method returns a value indicating the frequency, or type, of the reminder. This method is only valid for episodes for which the IsRemindItem or IsRecordItem method returns VARIANT_TRUE.

HRESULT Repetition(
  int* iRep  
);
 

Parameters

iRep
Pointer to an int that receives the repetition type flag. This flag can be one of the following named values.
Value Meaning
REMIND_DAILY The reminder repeats each day.
REMIND_NONE The reminder doesn't occur. This value may indicate that the episode does not have a show or record reminder set.
REMIND_ONCE The reminder occurs once.
REMIND_WEEKDAYS The reminder repeats each weekday.
REMIND_WEEKLY The reminder repeats every week.

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 code values see Winerror.h.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Import Library: User-defined.
  Unicode: Yes.

See Also

IEPGEpisode::IsRemindItem, IEPGEpisode::IsRecordItem, IEPGEpisode::RemindRecordIdx