reactos/sdk/include/psdk/provexce.h
Amine Khaldi 0ee830d7a4 * Create a branch for USB experiments.
svn path=/branches/usb-experiments/; revision=72629
2016-09-09 15:11:19 +00:00

23 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