次の方法で共有


Helper SpClearEvent (SAPI 5.3)

Microsoft Speech API 5.3

SpClearEvent

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

Found in: sphelper.h

  
    inline void SpClearEvent(
   SPEVENT   *pe
);

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

No error code is returned.