Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This example shows how to register a system-defined event. Refer to ISystemDebugEventInstall Example (Visual Basic) to see this code in context.
' Register a system-defined (stock) event.
Private Sub Sample_RegisterStockEvents(ByVal sSourceGUID As String)
' sSourceGUID is the component for which to register this stock event.
' Run the method.
' This registers the stock event DEBUG_EVENT_CALL.
mESI.RegisterStockEvent sSourceGUID, DEBUG_EVENT_CALL
End Sub