#include <GDrawIntf.h>
Public Member Functions | |
CriticalSection () | |
~CriticalSection () | |
Static Public Member Functions | |
static void | Init () |
static void | DeInit () |
Private Attributes | |
DWORD | Temp |
Static Private Attributes | |
static CRITICAL_SECTION | sm_Section |
static BOOL | sm_bInit = FALSE |
Definition at line 105 of file GDrawIntf.h.
|
Definition at line 108 of file GDrawIntf.h. 00109 { 00110 #ifdef RALPH 00111 Temp = 0; 00112 ::EnterCriticalSection(&sm_Section); 00113 #endif 00114 }
|
|
Definition at line 116 of file GDrawIntf.h. 00117 { 00118 #ifdef RALPH 00119 ::LeaveCriticalSection(&sm_Section); 00120 #endif 00121 }
|
|
Definition at line 134 of file GDrawIntf.h. 00135 { 00136 #ifdef RALPH 00137 if (sm_bInit) 00138 { 00139 ::DeleteCriticalSection(&sm_Section); 00140 sm_bInit = FALSE; 00141 } 00142 #endif 00143 }
|
|
Definition at line 123 of file GDrawIntf.h. 00124 { 00125 #ifdef RALPH 00126 if (!sm_bInit) 00127 { 00128 ::InitializeCriticalSection(&sm_Section); 00129 sm_bInit = TRUE; 00130 } 00131 #endif 00132 }
|
|
Definition at line 149 of file GDrawIntf.h. |
|
Definition at line 148 of file GDrawIntf.h. |
|
Definition at line 147 of file GDrawIntf.h. |