3.2.4.4.1 GetCalendarInfo (Opnum 7)
The GetCalendarInfo method gets information about one or all calendar events.
-
[id(1), helpstring("method GetCalendarInfo")] HRESULT GetCalendarInfo( [in] BSTR bstrCalendarName, [out] BSTR* pbstrCalendarXML );
bstrCalendarName: A string that specifies the name of the calendar event for which information will be returned. If the string is "\", all calendar events are specified.
pbstrCalendarXML: A pointer to a string that returns the specified calendar information, in the form of a Calendar element (section 2.2.5.7). For an example, see the Calendar example (section 4.2.6).
If bstrCalendarName is "\", all calendar events MUST be returned, in the form of a Calendars element (section 2.2.5.10). For an example, see the Calendars example (section 4.2.7).
Return Values: This method returns 0x00000000 for success or a negative HRESULT value (in the following table or in [MS-ERREF] section 2.1.1) if an error occurs.
-
Return value/code
Description
0x00000000
S_OK
Operation successful.
0x80070057
E_INVALIDARG
One or more arguments are invalid.
Additional IWRMCalendar interface methods are specified in section 3.2.4.4.