Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6trustedstorage.h
Go to the documentation of this file.
1 
12 #ifndef P6TRUSTEDSTORAGE_H__
13 #define P6TRUSTEDSTORAGE_H__ 1
14 
15 #include "p6com.h"
16 
17 
18 #ifdef __cplusplus
19 namespace P6R {
20 extern "C" {
21 #endif
22 
23 
30 #undef INTERFACE
31 #define INTERFACE p6IEnumTrustedStorage
33 {
51  P6DECLCOMMETHOD(next)(P6THIS_ P6UINT32 cElements, P6UUID* parElements, P6UINT32* pcReturned ) P6PURE;
52 
62 };
63 // 7b3e3b0c-2ebe-4138-aa46-b5d616b11e03
64 #define IF_p6IEnumTrustedStorage {0x7b3e3b0c,0x2ebe,0x4138,{0xaa,0x46,0xb5,0xd6,0x16,0xb1,0x1e,0x03}}
65 
66 
76 #undef INTERFACE
77 #define INTERFACE p6ITrustedStorage
79 {
94  P6DECLCOMMETHOD(setItem)(P6THIS_ P6BSTR* pBlob, P6UUID* pUUID) P6PURE;
95 
108  P6DECLCOMMETHOD(getItem)(P6THIS_ P6UUID* pUUID, P6BSTR* pBlob ) P6PURE;
109 
121  P6DECLCOMMETHOD(deleteItem)(P6THIS_ P6UUID* pUUID ) P6PURE;
122 
134  P6DECLCOMMETHOD(enumEntries)(P6THIS_ p6IEnumTrustedStorage** ppEnum ) P6PURE;
135 };
136 
137 // {6b657855-f0cd-47ad-8392-2db49665a23c}
138 #define IF_p6ITrustedStorage {0x6b657855,0xf0cd,0x47ad,{0x83,0x92,0x2d,0xb4,0x96,0x65,0xa2,0x3c}}
139 
140 
141 #ifdef __cplusplus
142 } // extern "C"
143 } // namespace
144 #endif
145 
146 #endif
147 
148 
An interface that defines the basic operations to a potentially limited trusted storage mechanism (e...
uint32_t P6UINT32
Definition: p6types.h:77
#define P6DECLAREICOM
Definition: p6defs.h:191
#define P6PURE
Definition: p6defs.h:192
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
Binary string.
Definition: p6types.h:185
A universally unique indentifier (UUID).
Definition: p6types.h:162
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
P6COM definitions and interfaces.
#define P6THIS
Definition: p6defs.h:194
This enumerator allows the caller to get a list of all defined entries that exist in the trusted stor...
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188