Share via


Detach (SAPI 5.3)

Microsoft Speech API 5.3

CSpEvent::Detach

CSpEvent::Detach clears the current instance and optionally makes a copy.

  
    void  Detach(
   SPEVENT   *pDestEvent = NULL
);

Parameters

  • pDestEvent
    The event structure to copy to. If NULL, no copy is made before clearing the instance.

Return values

None.