Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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