PColorStyleTextFromIMEStyle 函数

检索指定样式的文本颜色样式。

语法

const IMECOLORSTY* __cdecl PColorStyleTextFromIMEStyle(
  _In_ const IMESTYLE *pimestyle
);

参数

pimestyle [in]

PIMEStyleFromAttr 函数返回的 IMESTYLE 结构。

返回值

指向表示文本颜色样式的 IMECOLORSTY 结构的指针。

备注

此函数没有关联的导入库或头文件;必须使用 LoadLibraryGetProcAddress 函数调用它。

IMECOLORSTY 结构定义如下:

typedef struct {
    UINT colorId;
    union {
        COLORREF    rgb;
        UINT        colorWin;
        UINT        colorSpec;
        UINT        colorFund;
    };
} IMECOLORSTY;

要求

要求
DLL
Imeshare.dll

另请参阅

PIMEStyleFromAttr