IsActive Example (Visual C++)

   

This example shows what a call to IsActive looks like. Refer to ISystemDebugEventFire Example (Visual C++) to see the object creation code and to see this code in a form you can run with minor modifications.

// Verify that the event creator object is ready to generate events
boolean SampleIsActive()
{
   HRESULT hr = pIEC->IsActive();
   return( S_OK == hr );
}