IFreeBusyData::EnumBlocks

Office 2013 and later

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

See IFreeBusyData.

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

ppenumfb

[out] An interface to enumerate free/busy blocks.

ftmStart

[in] The start time for the enumeration. It is expressed in FILETIME.

ftmEnd

[in] The end time for the enumeration. It is expressed in FILETIME.

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

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.

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

Show: