Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SpClearEvent

SpClearEvent clears an event structure. May be used by clients not using CSpEvent class.

Found in: sphelper.h

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>inline void SpClearEvent(</strong> <strong> <a runat="server" href="jj127868(v=msdn.10).md">SPEVENT</a></strong> *<em>pe</em> <strong>);</strong> </pre>

Parameters

  • pe
    [in] The event to clear. Events of types SPET_LPARAM_IS_POINTER, SPET_LPARAM_IS_STRING, SPET_LPARAM_IS_TOKEN, or SPET_LPARAM_IS_OBJECT have the associated data in pe->lParam deallocated first.

Return Values