reactos/include/psdk/provexce.h
Hermès Bélusca-Maïto b819608ed8 Create a branch for console restructuration work.
svn path=/branches/condrv_restructure/; revision=63104
2014-05-02 14:13:40 +00:00

24 lines
357 B
C++

#pragma once
#ifndef _PROVIDER_EXCEPT_H
#define _PROVIDER_EXCEPT_H
class CHeap_Exception
{
public:
enum HEAP_ERROR
{
E_ALLOCATION_ERROR = 0 ,
E_FREE_ERROR
};
CHeap_Exception(HEAP_ERROR e) : m_Error(e) {}
~CHeap_Exception() {}
HEAP_ERROR GetError() { return m_Error ; }
private:
HEAP_ERROR m_Error;
};
#endif