mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-03-25 03:28:31 -06:00
28 lines
395 B
C++
28 lines
395 B
C++
#pragma once
|
|
|
|
#ifndef NOMINMAX
|
|
#define NOMINMAX
|
|
#endif
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#endif
|
|
#include <Windows.h>
|
|
|
|
#define AF_BLUETOOTH AF_BTH
|
|
#define BTPROTO_RFCOMM BT_PORT_ANY
|
|
|
|
class SlimRWLock
|
|
{
|
|
public:
|
|
SlimRWLock();
|
|
|
|
void LockRead();
|
|
void UnlockRead();
|
|
void LockWrite();
|
|
void UnlockWrite();
|
|
|
|
private:
|
|
/*SRWLOCK*/ void* m_lock;
|
|
};
|
|
|
|
uint32_t GetExceptionError(); |