IFreeBusyData::GetFBPublishRange

Gets a preset time range for an enumeration of free/busy blocks of data for a user.

Quick Info

See IFreeBusyData.

HRESULT GetFBPublishRange( 
     LONG *prtmStart,  
     LONG *prtmEnd 
);

Parameters

  • prtmStart
    [out] A relative time value for the start of free/busy information. This value is the number of minutes since January 1, 1601.
  • prtmEnd
    [out] 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

A free/busy provider calls IFreeBusyData::EnumBlocks or IFreeBusyData::SetFBRange to set the time range for an enumeration. IFreeBusyData::GetFBPublishRange must return the cached values for the time range set by the most recent call for IFreeBusyData::EnumBlocks or IFreeBusyData::SetFBRange.

See also

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