lighter_notify.c

来自「A comprehensive code to regulate the LCD」· C语言 代码 · 共 16 行

C
16
字号
#include "Lighter.h"

boolean Lighter_HandleNotify(Lighter* pMe, uint16 wParam, uint32 dwParam) 
{
    AEENotify * pNotify = (AEENotify*)dwParam;

    if (pNotify->cls == AEECLSID_TAPI && pNotify->dwMask == NMASK_TAPI_STATUS) 
    {
        TAPIStatus * pStatus = (TAPIStatus *) pNotify->pData;

        if (pStatus->bData == 1)
            return (FALSE);

        if (pStatus->state == PS_INCOMING) 
        {
            // 镳

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?