mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
c47206617d
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
20 lines
428 B
C++
20 lines
428 B
C++
#ifndef MXCRITICALSECTION_H
|
|
#define MXCRITICALSECTION_H
|
|
|
|
#include <windows.h>
|
|
|
|
// SIZE 0x1c
|
|
class MxCriticalSection {
|
|
public:
|
|
__declspec(dllexport) MxCriticalSection();
|
|
__declspec(dllexport) ~MxCriticalSection();
|
|
__declspec(dllexport) static void SetDoMutex();
|
|
void Enter();
|
|
void Leave();
|
|
|
|
private:
|
|
CRITICAL_SECTION m_criticalSection; // 0x00
|
|
HANDLE m_mutex; // 0x18
|
|
};
|
|
|
|
#endif // MXCRITICALSECTION_H
|