Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6ICreateErrorInfo Interface Referenceabstract

#include <p6thread.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR initialize (P6ERR error, const P6IID *piid, const P6CHAR *pszFilename, P6UINT32 cLine, const P6WCHAR *pwszContext, const P6WCHAR *pwszDescription)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 

Detailed Description

This interface is used to initialize a COM exception record with information about an error condition.

Once initialized, it can be passed to p6ICurThread::setErrorInfo() to place it in the current threads COM exception list.

Errors can be retrieved by calling p6ICurThread::getErrorInfo(). Any exception records which are still in a threads COM exception list when a thread terminates will automatically be logged by the runtime with a log level of error.

Definition at line 43 of file p6thread.h.


The documentation for this interface was generated from the following file: