Difference between revisions of "DSP:RegisterInterruptEvents"

From 3dbrew
Jump to navigation Jump to search
(Clean up.)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| param0
+
| Interrupt
 
|-
 
|-
 
| 2
 
| 2
| param1
+
| Channel
 
|-
 
|-
 
| 3
 
| 3
| 0
+
| 0x0
 
|-
 
|-
 
| 4
 
| 4
| Event handle, 0 for unregister the event that was previous registered
+
| Event handle (0 = unregister the event that was previous registered)
 
|}
 
|}
  
Line 34: Line 34:
 
|}
 
|}
  
Application should unregister the event by setting handle to zero, if the session was closed before the event is unregisterd, it will cause a handle leak in dsp process.
+
=Description=
 +
Application should unregister the event by setting handle to zero. If the session was closed before the event was unregistered, it will cause a handle leak in DSP process.

Revision as of 07:49, 9 October 2015

Request

Index Word Description
0 Header code [0x00150082]
1 Interrupt
2 Channel
3 0x0
4 Event handle (0 = unregister the event that was previous registered)

Response

Index Word Description
0 Header code [0x00150040]
1 Result code

Description

Application should unregister the event by setting handle to zero. If the session was closed before the event was unregistered, it will cause a handle leak in DSP process.