Windows2000/private/windows/shell/dskquota/common/alloc.h

27 lines
726 B
C
Raw Normal View History

2001-01-01 00:00:00 +01:00
#ifndef _INC_DSKQUOTA_ALLOC_H
#define _INC_DSKQUOTA_ALLOC_H
/* File: alloc.h
Description: Installs a "new handler" that throws CAllocException
when a memory allocation request fails. Required since our
compiler doesn't throw bad_alloc on memory alloc failures.
Revision History:
Date Description Programmer
-------- --------------------------------------------------- ----------
10/20/97 Initial creation. BrianAu
*/
// Declarations for overloading global new and delete.
void * __cdecl operator new(size_t size);
void __cdecl operator delete(void *ptr);
#endif // _INC_DSKQUOTA_ALLOC_H