foobar2000 SDK  2015-01-14
Public Member Functions | Private Attributes
LastErrorRevertScope

#include <win-objects.h>

Public Member Functions

 LastErrorRevertScope ()
 
 ~LastErrorRevertScope ()
 

Private Attributes

const DWORD m_val
 

Detailed Description

Definition at line 11 of file win-objects.h.

Constructor & Destructor Documentation

LastErrorRevertScope::LastErrorRevertScope ( )
inline

Definition at line 13 of file win-objects.h.

13 : m_val(GetLastError()) {}
const DWORD m_val
Definition: win-objects.h:17
LastErrorRevertScope::~LastErrorRevertScope ( )
inline

Definition at line 14 of file win-objects.h.

14 {SetLastError(m_val);}
const DWORD m_val
Definition: win-objects.h:17

Field Documentation

const DWORD LastErrorRevertScope::m_val
private

Definition at line 17 of file win-objects.h.


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