diff options
Diffstat (limited to 'plugins/UserInfoEx/src/stdafx.h')
-rw-r--r-- | plugins/UserInfoEx/src/stdafx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UserInfoEx/src/stdafx.h b/plugins/UserInfoEx/src/stdafx.h index 9acf9e3f0a..9568ee19c9 100644 --- a/plugins/UserInfoEx/src/stdafx.h +++ b/plugins/UserInfoEx/src/stdafx.h @@ -201,19 +201,19 @@ extern struct CountryListEntry *countries; * UserInfoEx common used functions
***********************************************************************************************************/
-static FORCEINLINE BOOL IsProtoOnline(LPSTR pszProto)
+bool __forceinline IsProtoOnline(LPSTR pszProto)
{
return pszProto && pszProto[0] && Proto_GetStatus(pszProto) >= ID_STATUS_ONLINE;
}
-static FORCEINLINE BOOL IsProtoAccountEnabled(PROTOACCOUNT *pAcc)
+bool __forceinline IsProtoAccountEnabled(PROTOACCOUNT *pAcc)
{
return (pAcc->bIsEnabled && Proto_GetAccount(pAcc->szModuleName));
}
typedef HRESULT (STDAPICALLTYPE *pfnDwmIsCompositionEnabled)(BOOL *);
extern pfnDwmIsCompositionEnabled dwmIsCompositionEnabled;
-static FORCEINLINE uint8_t IsAeroMode()
+bool __forceinline IsAeroMode()
{
BOOL result;
return myGlobals.WantAeroAdaption && dwmIsCompositionEnabled && (dwmIsCompositionEnabled(&result) == S_OK) && result;
|