18.104.22.168.4 DeleteCalendar (Opnum 10)
The DeleteCalendar method deletes a specified calendar event.
[id(4), helpstring("method DeleteCalendar")] HRESULT DeleteCalendar( [in] BSTR bstrCalendarName, [in] BOOL bChangeActivePolicy );
bstrCalendarName: A string that specifies the name of the calendar event.
If this parameter is NULL, E_INVALIDARG MUST be returned.
bChangeActivePolicy: A Boolean value that specifies whether the configuration changes made by this method call SHOULD change the current active policy, if applicable, of the system.<62>
The current active policy of the system SHOULD NOT be changed by the method call.
If applicable, the current active policy of the system SHOULD be changed by the method call.
One or more arguments are invalid.
The specified name contains characters that are invalid. The name cannot start with a hyphen ("-") and cannot contain spaces or any of the following characters:
\ / ? * | : < > " , ;.
The specified calendar event does not exist.
Additional IWRMCalendar interface methods are specified in section 22.214.171.124.