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"// 调用格式: SDT_BOOL 取当前鼠标处颜色值, 命令说明: "取当前鼠标所在位置的RGB值。"// 参数<1>: &R SDT_INT, 参数说明: "要取得的R值"// 参数<2>: &G SDT_INT, 参数说明: "要取得的G值"// 参数<3>: &B SDT_INT, 参数说明: "要取得的B值"EAPI_EXTERN_C void eapi_GetPointRGB_71_eapi(PMDATA_INF pRetData, INT nArgCount, PMDATA_INF pArgInf){auto GetPointRGB = [](BYTE* r, BYTE* g, BYTE* b){POINT Point;HDC hdc = GetDC(0);GetCursorPos(&Point);COLORREF pClor = GetPixel(hdc, Point.x, Point.y);*r = GetRValue(pClor);*g = GetGValue(pClor);*b = GetBValue(pClor);return ReleaseDC(0, hdc);};BYTE r, g, b;bool ret = GetPointRGB(&r, &g, &b);if (pArgInf[0].m_dtDataType == SDT_INT){PMDATA_INF pInf = pArgInf;*pInf->m_pInt = r;}if (pArgInf[1].m_dtDataType == SDT_INT){PMDATA_INF pInf = pArgInf + 1;*pInf->m_pInt = g;}if (pArgInf[2].m_dtDataType == SDT_INT){PMDATA_INF pInf = pArgInf + 2;*pInf->m_pInt = b;}pRetData->m_bool = ret;}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。