Поделиться через


IFreeBusyData::SetFBRange

Sets the range of time for an enumeration of free/busy blocks of data for a user.

Quick Info

See IFreeBusyData.

HRESULT SetFBRange(
     LONG rtmStart,
     LONG rtmEnd
);

Parameters

  • rtmStart
    [in] A relative time value for the start of free/busy information. This value is the number of minutes since January 1, 1601.
  • rtmEnd
    [in] A relative time value for the end of free/busy information. This value is the number of minutes since January 1, 1601.

Return Values

S_OK if the call succeeded; otherwise, an error code.

Remarks

This method is used to indicate the time range of calendar items for which to retrieve details. The values of ftmStart and ftmEnd are cached and returned in a subsequent call of IFreeBusyData::GetFBPublishRange.

See also

IFreeBusyData::EnumBlocks
IFreeBusyData::GetFBPublishRange
How to: Use Relative Time to Access Free/Busy Data