wincolorref.c
来自「LabVIEW8.2从入门到精通配套光碟实例」· C语言 代码 · 共 12 行
C
12 行
#include "extcode.h"
#include <windows.h>
_declspec(dllexport) void WinCOLORREF(COLORREF input, COLORREF *output);
_declspec(dllexport) void WinCOLORREF(COLORREF input, COLORREF *output)
{
if(input == 0x000000) /* black */
*output = 0xFF0000; /* blue */
else
*output = 0x00FF00; /* green */
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?