mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
346 B
31 lines
346 B
#ifndef __WIN32_CRITSEC_HXX__
|
|
|
|
#define __WIN32_CRITSEC_HXX__
|
|
|
|
class WIN32_CRITSEC {
|
|
|
|
CRITICAL_SECTION CriticalSection;
|
|
unsigned short CritSecObjType;
|
|
|
|
public:
|
|
|
|
WIN32_CRITSEC(
|
|
);
|
|
|
|
~WIN32_CRITSEC(
|
|
);
|
|
|
|
void
|
|
MakeGlobal(
|
|
);
|
|
|
|
void
|
|
Enter(
|
|
);
|
|
|
|
void
|
|
Leave(
|
|
);
|
|
};
|
|
|
|
#endif
|