diff --git a/src/documentation/haiku_book/midi/midi2roster.xml b/src/documentation/haiku_book/midi/midi2roster.xml
index 093b39a416..4c2ad7b8ff 100644
--- a/src/documentation/haiku_book/midi/midi2roster.xml
+++ b/src/documentation/haiku_book/midi/midi2roster.xml
@@ -40,7 +40,8 @@
- static BMidiEndpoint *NextEndpoint(int32 *id)
+ NextEndpoint()
+ staticBMidiEndpoint *NextEndpointint32 *id
Returns the next endpoint from the roster
@@ -78,7 +79,8 @@
- static BMidiProducer *NextProducer(int32 *id)
+ NextProducer()
+ staticBMidiProducer *NextProducerint32 *id
Returns the next producer from the roster
@@ -95,7 +97,8 @@
- static BMidiConsumer *NextConsumer(int32 *id)
+ NextConsumer()
+ staticBMidiConsumer *NextConsumerint32 *id
Returns the next consumer from the roster
@@ -112,8 +115,8 @@
- static BMidiEndpoint *FindEndpoint(
- int32 id, bool localOnly = false)
+ FindEndpoint()
+ staticBMidiEndpoint *FindEndpointint32idboollocalOnlyfalse
Returns the endpoint with the specified ID
@@ -163,8 +166,8 @@
- static BMidiProducer *FindProducer(
- int32 id, bool localOnly = false)
+ FindProducer()
+ staticBMidiProducer *FindProducerint32idboollocalOnlyfalse
Finds the producer with the specified ID
@@ -182,8 +185,8 @@
- static BMidiConsumer *FindConsumer(
- int32 id, bool localOnly = false)
+ FindConsumer()
+ staticBMidiConsumer *FindConsumerint32idboollocalOnlyfalse
Finds the consumer with the specified ID
@@ -201,7 +204,8 @@
- static void StartWatching(const BMessenger *msngr)
+ StartWatching()
+ staticStartWatchingconstBMessenger *msngr
Start receiving notifications from the Midi Roster
@@ -488,7 +492,8 @@
- static void StopWatching()
+ StopWatching()
+ staticStopWatching
Stop receiving notifications from the Midi Roster
@@ -500,7 +505,8 @@
- static status_t Register(BMidiEndpoint *endp)
+ Register()
+ staticstatus_tRegisterBMidiEndpoint *endp
Publishes an endpoint to other applications
@@ -513,7 +519,8 @@
- static status_t Unregister(BMidiEndpoint *endp)
+ Unregister()
+ staticstatus_tUnregisterBMidiEndpoint *endp
Hides an endpoint from other applications
@@ -526,7 +533,8 @@
- static BMidiRoster *MidiRoster()
+ MidiRoster()
+ staticBMidiRoster *MidiRoster
Returns a pointer to the only instance of BMidiRoster