mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Remove DisableThreadLibraryCalls.h
By default, VC++ links in a stub entry point, which already calls DisableThreadLibraryCalls(). See: %VS110COMNTOOLS%..\..\VC\crt\src\dllmain.c
This commit is contained in:
@ -26,7 +26,6 @@
|
||||
#include "../PluginPerfMon/ObjInst.h"
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Common/RawString.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
struct MeasureData
|
||||
{
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <wchar.h>
|
||||
#include "CoreTempProxy.h"
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
typedef enum eMeasureType
|
||||
{
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <algorithm>
|
||||
#include "FolderInfo.h"
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
enum MeasureType
|
||||
{
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include <windows.h>
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
void SendKey(WORD key)
|
||||
{
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "ObjInst.h"
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Common/RawString.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
struct MeasureData
|
||||
{
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <crtdbg.h>
|
||||
#include "../../Common/RawString.h"
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
typedef struct _PROCESSOR_POWER_INFORMATION
|
||||
{
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <vector>
|
||||
#include "../../Common/RawString.h"
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
struct MeasureData
|
||||
{
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <time.h>
|
||||
#include <shlwapi.h>
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Common/StringUtil.h"
|
||||
|
||||
#define BUFFER_SIZE 4096
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <psapi.h>
|
||||
#include "../../Common/RawString.h"
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
// system resources that can be counted
|
||||
enum MEASURETYPE
|
||||
|
@ -20,8 +20,6 @@
|
||||
#include <stdio.h>
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct SpeedFanData
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <stdlib.h>
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Library/Export.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
@ -72,8 +72,6 @@
|
||||
|
||||
#include "../../Library/Export.h"
|
||||
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
extern "C"
|
||||
{
|
||||
__declspec(dllexport) UINT Initialize(HMODULE instance, LPCTSTR iniFile, LPCTSTR section, UINT id);
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include <process.h>
|
||||
#include "../../Library/pcre-8.10/config.h"
|
||||
#include "../../Library/pcre-8.10/pcre.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
#include "../../Common/StringUtil.h"
|
||||
#include "../API/RainmeterAPI.h"
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <string>
|
||||
#include <wlanapi.h>
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
enum MEASURETYPE
|
||||
{
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <Functiondiscoverykeys_devpkey.h>
|
||||
#include "PolicyConfig.h"
|
||||
#include "../API/RainmeterAPI.h"
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
#define SAFE_RELEASE(punk) \
|
||||
if ((punk) != nullptr) { (punk)->Release(); (punk) = nullptr; }
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <stdio.h>
|
||||
#include "../../Common/RawString.h"
|
||||
#include "../../Library/Export.h" // Rainmeter's exported functions
|
||||
#include "../../Library/DisableThreadLibraryCalls.h" // contains DllMain entry point
|
||||
|
||||
struct MeasureData
|
||||
{
|
||||
|
@ -23,8 +23,6 @@
|
||||
#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