Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6errorinfo.h
Go to the documentation of this file.
1 
9 #ifndef P6ERRORINFO_H__
10 #define P6ERRORINFO_H__ 1
11 
12 #include "p6err.h"
13 
14 #ifdef __cplusplus
15 namespace P6R {
16 extern "C" {
17 #endif
18 
20 
26  #undef INTERFACE
27  #define INTERFACE p6IErrorInfo
28  P6DECLAREIF_(p6IErrorInfo,p6ICom)
29  {
31 
41  P6DECLCOMMETHOD(getError)(P6THIS_ P6ERR *perr) P6PURE;
42  P6DECLCOMMETHOD(getGUID)(P6THIS_ P6IID *piid) P6PURE;
43  P6DECLCOMMETHOD(getFileAndLine)(P6THIS_ P6COMSTR *pcsFilename,P6UINT32 *pcLine) P6PURE;
44  P6DECLCOMMETHOD(getContext)(P6THIS_ P6COMSTR *pcsContext) P6PURE;
45  P6DECLCOMMETHOD(getDescription)(P6THIS_ P6COMSTR *pcsDescription) P6PURE;
46  };
47  // {73380224-6493-43F7-9F51-31F9DD183BA4}
48  #define IF_p6IErrorInfo {0x73380224,0x6493,0x43F7,{0x9F,0x51,0x31,0xF9,0xDD,0x18,0x3B,0xA4}}
49 
51 #ifdef __cplusplus
52 } // extern "C"
53 } // namespace
54 #endif
55 
56 #endif
57 
58 
uint32_t P6UINT32
Definition: p6types.h:77
#define P6DECLAREICOM
Definition: p6defs.h:191
#define P6PURE
Definition: p6defs.h:192
Standard error codes.
P6UUID P6IID
An interface ID.
Definition: p6types.h:172
P6WCHAR * P6COMSTR
Standard COM length encoded string.
Definition: p6types.h:117
P6UINT32 P6ERR
COM err return type see P6ERR.h.
Definition: p6types.h:141
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
#define P6THIS_
Definition: p6defs.h:193
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188