Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6enumwstr.h
Go to the documentation of this file.
1 
11 #ifndef P6ENUMWSTR_H__
12 #define P6ENUMWSTR_H__ 1
13 
14 #include "p6com.h"
15 
16 
17 #ifdef __cplusplus
18 namespace P6R {
19 extern "C" {
20 #endif
21 
27 #undef INTERFACE
28 #define INTERFACE p6IEnumWStr
30 {
47  P6DECLCOMMETHOD(next)(P6THIS_ P6BWSTR* pString ) P6PURE;
48 
58 
70  P6DECLCOMMETHOD(count)(P6THIS_ P6UINT32* pNumber ) P6PURE;
71 };
72 // {09C0723F-5C13-4050-AE58-240A7510C370}
73 #define IF_p6IEnumWStr {0x9c0723f,0x5c13,0x4050,{0xae,0x58,0x24,0xa,0x75,0x10,0xc3,0x70}}
74 
75 // {5A894AFA-7EC1-4152-B5C4-DCC3E5E05806}
76 #define COMP_p6EnumWStr {0x5a894afa,0x7ec1,0x4152,{0xb5,0xc4,0xdc,0xc3,0xe5,0xe0,0x58,0x6}}
77 
78 
79 
90 static const P6ENUMWSTRFLAGS P6WSTRFLG_NOFLAGS = 0x00000000;
91 static const P6ENUMWSTRFLAGS P6WSTRFLG_TRACE_BASIC = 0x00000001;
92 
99 #undef INTERFACE
100 #define INTERFACE p6IEnumWStrInit
102 {
114  P6DECLCOMMETHOD(initialize)(P6THIS_ P6ENUMWSTRFLAGS flags ) P6PURE;
115 
127  P6DECLCOMMETHOD(addString)(P6THIS_ P6BWCSTR item ) P6PURE;
128 };
129 
130 // {26514827-5C53-47b0-8366-899823C08AAE}
131 #define IF_p6IEnumWStrInit {0x26514827,0x5c53,0x47b0,{0x83,0x66,0x89,0x98,0x23,0xc0,0x8a,0xae}}
132 
133 
134 #ifdef __cplusplus
135 }
136 } // namespace
137 #endif
138 
139 
140 #endif
141 
142 
Wide binary string.
Definition: p6types.h:215
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
Wide Const binary string.
Definition: p6types.h:231
This interface is used by the component's creator inorder to add strings into the enumerator during t...
Definition: p6enumwstr.h:101
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
This interface is a general purpose string enumerator.
Definition: p6enumwstr.h:29
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
P6UINT32 P6ENUMWSTRFLAGS
P6WSTRENUMFLAGS.
Definition: p6enumwstr.h:89
P6COM definitions and interfaces.
#define P6THIS
Definition: p6defs.h:194
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188