TNB Library
C:
Home
Private
TnbLibrary
TnbInc
TnbHandleHandle.h
[詳解]
1
#pragma once
15
#include "
TnbPointerHandle.h
"
16
17
18
19
//TNB Library
20
namespace
TNB
21
{
22
23
24
25
#ifndef _TnbDOXYGEN
//Document作成用シンボル
26
28
struct
TPhCloseHandle
29
{
30
void
operator()(HANDLE P) { ::CloseHandle(P); }
31
};
33
struct
TPhDeleteGdiObject
34
{
35
void
operator()(HGDIOBJ P) { _DeleteObject(P); }
36
};
37
38
#endif
// _TnbDOXYGEN
39
40
41
54
#ifndef _TnbDOXYGEN
//Document作成用シンボル
55
typedef
TNB::CPointerHandleBaseT
<HANDLE, TPhCloseHandle, (INT_PTR)INVALID_HANDLE_VALUE>
CHandleHandle
;
56
#else
57
class
CHandleHandle
:
public
CPointerHandleBaseT
<HANDLE, TPhCloseHandle, (INT_PTR)INVALID_HANDLE_VALUE>
58
{
typedef
aa __a;};
59
#endif
60
61
62
73
#ifndef _TnbDOXYGEN
//Document作成用シンボル
74
typedef
TNB::CPointerHandleBaseT<HBRUSH, TPhDeleteGdiObject>
CBrushHandle
;
75
#else
76
class
CBrushHandle
:
public
CPointerHandleBaseT
<HBRUSH, TPhDeleteGdiObject>
77
{
typedef
aa __a;};
78
#endif
79
80
81
82
};
//TNB
TnbPointerHandle.h
ポインタハンドル関係のヘッダ
TNB::CBrushHandle
HBRUSH型ハンドルハンドル
Definition:
TnbHandleHandle.h:77
TNB::CHandleHandle
HANDLE型ハンドルハンドル
Definition:
TnbHandleHandle.h:58
TNB::CPointerHandleBaseT
ポインタハンドルテンプレートベースクラス
Definition:
TnbPointerHandle.h:41
TNB
TNB Library
Definition:
TnbDoxyTitle.txt:2
2023年02月05日(日) 07時21分32秒作成 - TNB Library / 構成:
1.9.3