共用方式為


IFreeBusySupport::LoadFreeBusyData

Returns, for each specified user, an interface for enumerating free/busy blocks of data within a time range.

Quick Info

See IFreeBusySupport.

HRESULT LoadFreeBusyData( 
    ULONG cMax,  
    FBUser *rgfbuser, 
    IFreeBusyData **prgfbdata,  
    HRESULT *phrStatus, 
    ULONG *pcRead 
);

Parameters

  • rgfbuser
    [in] The array of free/busy users to retrieve data for.
  • prgfbdata
    [in][out] The array of IFreeBusyData interfaces that correspond to the rgfbuser array of FBUser structures.

    Note

    This array of pointers is allocated by the caller and freed by the caller. The actual interfaces pointed to are released when the caller is done with them.

  • phrStatus
    [out] The array of HRESULT results for retrieving each corresponding IFreeBusyData interface. The value may be NULL. A result is set to S_OK if corresponding prgfbdata is valid.
  • pcRead
    [out] The actual number of users for which an IFreeBusyData interface has been found.

Return Values

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

See also

Constants (Free/Busy API)