示例#1
0
文件: cm_hid_win.cpp 项目: glei/opal
    PLUGIN_FUNCTION_ARG4(RingLine, unsigned,line, unsigned,nCadence, const unsigned *,pattern, unsigned,frequency)
    {
        if (m_hWnd == NULL)
            return PluginLID_DeviceNotOpen;

        if (line >= 1)
            return PluginLID_NoSuchLine;

        if (nCadence > 0)
            StartBuzzer();
        else
            StopBuzzer();
    }
void
wxGamePanel::OnBuzzerTimer(wxTimerEvent& event)
{
    StopBuzzer();
}