Software and Services, Portable Libraries  2019.Mar.01
A library for managing digital certificates
iCalendarApi.idl
Go to the documentation of this file.
1 /*
2  * BEGIN_PROJECT_CONTRACTING_COM_COPYRIGHT
3  *
4  * Copyright (C) 2003-2012 Douglas Mark Royer, All Rights Reserved.
5  *
6  * NOTICE:
7  *
8  * THIS SOURCE CODE BELONGS TO DOUGLAS MARK ROYER,
9  * THIS CODE IS CONSIDERED A TRADE SECRET AND IS NOT TO BE
10  * DIVULGED OR USED BY PARTIES WHO HAVE NOT RECEIVED WRITTEN
11  * AUTHORISATION FROM THE OWNER.
12  *
13  * THIS SOURCE CODE IS UNPUBLISHED WORK FULLY PROTECTED BY THE UNITED
14  * STATES COPYRIGHT LAWS AND IS CONSIDERED A TRADE SECRET BELONGING
15  * TO THE COPYRIGHT HOLDER.
16  *
17  * THIS SOFTWARE AND MANUAL ARE BOTH PROTECTED BY UNITED STATES
18  * COPYRIGHT LAW (TITLE 17 UNITED STATES CODE). UNAUTHORISED REPRODUCTION
19  * AND/OR SALE MAY RESULT IN IMPRISONMENT OF UP TO ONE YEAR AND FINES
20  * OF UP TO $100,000 (17 USC 506). COPYRIGHT INFRINGERS MAY ALSO
21  * BE SUBJECT TO CIVIL LIABILITY.
22  *
23  * THIS NOTICE AND THE ABOVE COPYRIGHT NOTICE MUST REMAIN IN ALL
24  * COPIES AND ANY DERIVED WORK.
25  *
26  * ALL OF THIS CODE IS ORIGINAL WORK BY THE COPYRIGHT HOLDER.
27  *
28  * THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN IS
29  * PROVIDED ON AN "AS IS" BASIS AND THE OWNER
30  * DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
31  * NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
32  * HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
33  * WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
34  * PURPOSE. ANY SERVICE CONTRACT WILL BE UNDER A SEPARATE
35  * LICENSE.
36  *
37  * A licensed is required to possess or use this code. This is not a licensed
38  * to redistribute this source code to third parties. An NDA is required
39  * from each person prior to viewing or receiving this source code.
40  *
41  * END_PROJECT_CONTRACTING_COM_COPYRIGHT
42  */
46 import "oaidl.idl";
47 import "ocidl.idl";
48 
49 [
50  uuid(70F6AFA6-2129-4A63-9606-09C5215BAD9F),
51 
52  version(1.0),
53 
54  helpstring("Project Contracting - iCalendar support library.")
55 ]
56 
57 interface iCalendarApi
58 {
62  typedef UINT64 CalendarStoreID;
63  typedef UINT64 CalendarID;
64  typedef UINT64 ComponentID;
65  typedef UINT64 PropertyID;
66  typedef UINT64 ParameterID;
72  HRESULT ApiInitialize();
73 
77  HRESULT ApiFinialize();
78 
86  HRESULT CalendarOpen([in] const char * url, [out] CalendarStoreID * CalStoreID);
87 
93  HRESULT CalendarClose([in] CalendarStoreID CalStoreID);
94 
100  HRESULT ApiVersion([out] UINT32 * Version);
101 
116  HRESULT PasswordSafeCreate([in] const char * masterPassword, [in] const char * directory, [out] boolean * results);
117 
129  HRESULT PasswordSafeOpen([in] const char * masterPassword, [in] const char * directory, [out] boolean * results);
130 
131 
132 }
UINT64 PropertyID
Type ID for a specific component in a calendar.
UINT64 ParameterID
Type ID for a specific property in a component.
HRESULT ApiFinialize()
When finished, to free up any used resources.
HRESULT CalendarOpen([in] const char *url, [out] CalendarStoreID *CalStoreID)
Open a calendar via a supported URL type.
UINT64 ComponentID
Type ID for a specific calendar.
UINT64 CalendarID
Type ID for any Calendar Store.
HRESULT PasswordSafeCreate([in] const char *masterPassword, [in] const char *directory, [out] boolean *results)
Create a password safe for caching connection information during synchronization processes.
HRESULT PasswordSafeOpen([in] const char *masterPassword, [in] const char *directory, [out] boolean *results)
Open an existing password safe.
HRESULT ApiInitialize()
Type ID for a specific parameter in a property.
UINT64 CalendarStoreID
Define the data types.
HRESULT ApiVersion([out] UINT32 *Version)
Get the API version.
HRESULT CalendarClose([in] CalendarStoreID CalStoreID)
Close a calendar.