Adding first draft of our text application.
This is most useful for testing stuff without MediaPortal.
1 //------------------------------------------------------------------------------
3 //------------------------------------------------------------------------------
6 m_hMutex = CreateMutex(NULL, FALSE, NULL);
8 //------------------------------------------------------------------------------
12 CloseHandle(m_hMutex);
14 //------------------------------------------------------------------------------
15 void Mutex::Request() const
17 WaitForSingleObject(m_hMutex, INFINITE);
19 //------------------------------------------------------------------------------
20 void Mutex::Release() const
22 ReleaseMutex(m_hMutex);
24 //------------------------------------------------------------------------------