This action will force synchronization from 精易科技/eapi, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
#include "..\include_eapi_header.h"inline bool SetDiaphaneity(HWND hWnd, unsigned char alpha, COLORREF key, bool through){DWORD dwFlag = LWA_COLORKEY;LONG TempStyle = GetWindowLongA(hWnd, GWL_EXSTYLE);if (through) {SetWindowLongA(hWnd, GWL_EXSTYLE, TempStyle | WS_EX_TRANSPARENT | WS_EX_LAYERED); // 设置鼠标穿透;}else {SetWindowLongA(hWnd, GWL_EXSTYLE, TempStyle | WS_EX_LAYERED);}//窗口不完全透明,设置透明读if (alpha != 0) {dwFlag |= LWA_ALPHA;}return SetLayeredWindowAttributes(hWnd, key, alpha, dwFlag);}inline bool SetDiaphaneity(HWND hWnd, unsigned char alpha, bool through){DWORD dwFlag = LWA_ALPHA;LONG TempStyle = GetWindowLongA(hWnd, GWL_EXSTYLE);if (through) {SetWindowLongA(hWnd, GWL_EXSTYLE, TempStyle | WS_EX_TRANSPARENT | WS_EX_LAYERED); // 设置鼠标穿透;}else {SetWindowLongA(hWnd, GWL_EXSTYLE, TempStyle | WS_EX_LAYERED);}return SetLayeredWindowAttributes(hWnd, 0, alpha, dwFlag);}// 调用格式: SDT_BOOL 设置窗口透明度, 命令说明: "成功返回真;失败返回假。"// 参数<1>: 窗口句柄 SDT_INT, 参数说明: "要设置透明度的窗口句柄。"// 参数<2>: [透明度 SDT_INT], 参数说明: "墙纸样式,可以为以下常量值之一:0、#接口常量.居中;1、#接口常量.平铺;2、#接口常量.拉伸。。"// 参数<3>: [透明色 SDT_INT], 参数说明: "(#颜色)指定某颜色为完全透明(完全透明处不属于该窗口) 可空为不指定."// 参数<4>: [鼠标穿透 SDT_BOOL], 参数说明: "设置鼠标穿透,默认为假"EAPI_EXTERN_C void eapi_SetDiaphaneity_66_eapi(PMDATA_INF pRetData, INT nArgCount, PMDATA_INF pArgInf){int type = 0;if (!pArgInf[0].m_int){pRetData->m_bool = 0;return;}HWND hWnd = (HWND)pArgInf[0].m_int;INT alpha = 255, through = 0;if (pArgInf[1].m_dtDataType && pArgInf[1].m_int >= 0 && pArgInf[1].m_int <= 255){alpha = pArgInf[1].m_int;}if (pArgInf[3].m_dtDataType && pArgInf[3].m_bool){through = pArgInf[3].m_bool;}if (pArgInf[2].m_dtDataType && pArgInf[2].m_int){pRetData->m_bool = SetDiaphaneity(hWnd, alpha, pArgInf[2].m_int, through);}else{pRetData->m_bool = SetDiaphaneity(hWnd, alpha, through);}}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。