IEnumFBBlock::Restrict

Restricts the enumeration to a specified time period.

Quick Info

See IEnumFBBlock.

HRESULT Restrict(  
    FILETIME ftmStart, 
    FILETIME ftmEnd 
);

Parameters

  • ftmStart
    [in] The start time to restrict the enumeration.
  • ftmEnd
    [in] The end time to restrict the enumeration.

Return Values

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

Remarks

This method also resets the enumeration.

See also

IEnumFBBlock::Clone
IEnumFBBlock::Next
IEnumFBBlock::Reset
IEnumFBBlock::Skip
How to: Use Relative Time to Access Free/Busy Data