IFreeBusyData::EnumBlocks

IFreeBusyData::EnumBlocks

Gets an interface for a user that enumerates free/busy blocks of data within a specified time range.

Quick Info

See IFreeBusyData.

  HRESULT EnumBlocks(
	IEnumFBBlock **ppenumfb, 
	FILETIME ftmStart,
	FILETIME ftmEnd
);

Parameters

ppenumfb

[out] Interface to enumerate free/busy blocks.

ftmStart

[in] Start time for enumeration. It is expressed in FILETIME.

ftmEnd

[in] End time for enumeration. It is expressed in FILETIME.

Remarks

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.

A free/busy provider can also subsequently use the returned IEnumFBBlock interface to access the enumeration.

See Also

IEnumFBBlock

IFreeBusyData::GetFBPublishRange

IFreeBusyData::SetFBRange

Use Relative Time to Access Free/Busy Data