Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cWinHeap2.h
Go to the documentation of this file.
1
//
5
//
6
7
#ifndef _INC_cWinHeap2_H
8
#define _INC_cWinHeap2_H
9
#ifndef NO_PRAGMA_ONCE
10
#pragma once
11
#endif
12
13
#include "
cWinHeap.h
"
14
#include "
cLogMgr.h
"
15
16
#ifdef _WIN32
17
// CWinGlobalHandle or CWinGlobalV will create CWinGlobalT<X> use GMEM_*
18
#define WINHEAPN(n) CWinGlobal##n
19
#define WINHEAPM(n) GMEM_##n
20
#define WINHEAPH HGLOBAL
21
#ifdef UNDER_CE
22
#define WINHEAPF(x) Local##x
23
#else
24
#define WINHEAPF(x) ::Global##x
25
#endif
26
#include "
cWinHeap.inl
"
27
#undef WINHEAPN
28
#undef WINHEAPM
29
#undef WINHEAPH
30
#undef WINHEAPF
31
32
// CWinLocalHandle, CWinLocalV, CWinLocalT<> use LMEM_*
33
#define WINHEAPN(n) CWinLocal##n
34
#define WINHEAPM(n) LMEM_##n
35
#define WINHEAPH HLOCAL
36
#define WINHEAPF(x) ::Local##x
37
#include "
cWinHeap.inl
"
38
#undef WINHEAPN
39
#undef WINHEAPM
40
#undef WINHEAPH
41
#undef WINHEAPF
42
43
#endif
44
#endif
// _INC_cWinHeap2_H
cLogMgr.h
cWinHeap.h
cWinHeap.inl
GrayCore
include
cWinHeap2.h
Generated on Tue Feb 2 2021 11:29:32 for Gray C++ Libraries by
1.9.1