[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
);
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. |
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.
Windows NT: Unsupported.
Windows: Requires Windows 98.
Windows CE: Unsupported.
Import Library: User-defined.
Unicode: Yes.
IEPGEpisode::IsRemindItem, IEPGEpisode::IsRecordItem, IEPGEpisode::RemindRecordIdx