Services: Difference between revisions
Line 27: | Line 27: | ||
| RegisterServiceWithHandle(8-byte servicename, u32 strlen, Handle client_port) | | RegisterServiceWithHandle(8-byte servicename, u32 strlen, Handle client_port) | ||
|- | |- | ||
| | | 0x000700C0 | ||
| UnregisterServiceWithHandle(8-byte servicename, u32 strlen) | | UnregisterServiceWithHandle(8-byte servicename, u32 strlen) | ||
|- | |- | ||
| | | 0x00080100 | ||
| GetServicePortHandle(8-byte servicename, u32 strlen, u32 flags). Bit0: return 0 instead of port handle if port was found. | | GetServicePortHandle(8-byte servicename, u32 strlen, u32 flags). Bit0: return 0 instead of port handle if port was found. | ||
|- | |- | ||
Line 45: | Line 45: | ||
| PublishToSubscriber(u32 notification_id, u32 flag). This fires an notification. Bit0: only fire if not already fired, bit1: return error if error happens, else it always returns 0. | | PublishToSubscriber(u32 notification_id, u32 flag). This fires an notification. Bit0: only fire if not already fired, bit1: return error if error happens, else it always returns 0. | ||
|- | |- | ||
| | | 0x000D0040 | ||
| This can fire notificationIDs and return the number of fired notificationID | | This can fire notificationIDs and return the number of fired notificationID | ||
|- | |- | ||
| | | 0x000E00C0 | ||
| HasAccessToService(8-byte servicename, u32 strlen). Returns 1 if your process has access to the service. | | HasAccessToService(8-byte servicename, u32 strlen). Returns 1 if your process has access to the service. | ||
|} | |} |