mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Disabled the DLL_THREAD_ATTACH and DLL_THREAD_DETACH notification calls in all DLLs.
DisableThreadLibraryCalls Function http://msdn.microsoft.com/en-us/library/ms682579.aspx Note: Do not call "DisableThreadLibraryCalls" in a DLL which is statically linked to the CRT http://support.microsoft.com/kb/555563/en-us For plugin author: If you need to implement DllMain entry point yourself, get rid of the #include "DisableThreadLibraryCalls.h" line.
This commit is contained in:
@ -25,6 +25,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
#include <map>
|
||||
#include <time.h>
|
||||
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
const int VOLUME_STEP = 5;
|
||||
|
||||
/* The exported functions */
|
||||
|
Reference in New Issue
Block a user