Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6service.h
Go to the documentation of this file.
1 
13 #ifndef P6SERVICE_H__
14 #define P6SERVICE_H__ 1
15 
16 #include "p6com.h"
17 
18 #ifdef __cplusplus
19 namespace P6R {
20 extern "C" {
21 #endif
22 
31  #undef INTERFACE
32  #define INTERFACE p6IComService
34  {
43  P6DECLCOMMETHOD(initialize)(P6THIS) P6PURE;
44 
52  P6DECLCOMMETHOD(getInfo)(P6THIS_ P6SERVICEINFO &info) P6PURE;
53 
61 
71 
72 
87  P6DECLCOMMETHOD(uninitialize)(P6THIS) P6PURE;
88  };
89  #define IF_p6IComService {0x7F2D729E,0xF451,0x4d9f,{0x83,0xF0,0x0E,0x85,0xE4,0x54,0x3A,0x11}}
90 
95  #define CAT_p6ComService {0x22FC56AE,0x658F,0x4580,{0xB3,0x43,0x41,0x83,0xD7,0xAA,0xE9,0xEF}}
96  #define CAT_p6ComServiceName P6TEXT("P6R.COM.Service")
97 
98 
99 #ifdef __cplusplus
100 } // extern "C"
101 } // namespace
102 #endif
103 
104 
105 #endif
106 
#define P6DECLAREICOM
Definition: p6defs.h:191
#define P6PURE
Definition: p6defs.h:192
Used by the [p6]COM runtime to manage services.
Definition: p6service.h:33
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
P6COM definitions and interfaces.
#define P6THIS
Definition: p6defs.h:194
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188