Filter Library | Camera | Interface Physics |
Definition at line 648 of file QAFDebug.cpp.
Public Member Functions | |
CPreserveLastError (const LPDWORD pdwLastError) | |
Constructor saves the last error code or inherits the error code from a chained instance of this class. | |
~CPreserveLastError () | |
Destructor restores the saved last error code if it is a self-enough instance. | |
DWORD | GetSavedLastError (void) |
Return the last saved error code. | |
operator LPDWORD () | |
Return a pointer to the last saved error code. | |
Private Attributes | |
DWORD | m_dwLastError |
Saved last error code. | |
bool | m_bPreserveLastError |
Flag that indicates that the instance is active. |
CPreserveLastError::CPreserveLastError | ( | const LPDWORD | pdwLastError | ) | [inline] |