Changes

209 bytes added ,  15:20, 17 August 2023
Line 734: Line 734:  
=File and directory access=
 
=File and directory access=
 
==Files==
 
==Files==
File session handles obtained via [[FS:OpenFile]] et al can be used to access files through a service-like interface, despite not being an actual service registered using [[SRV:RegisterService]].
+
File session handles obtained via [[FS:OpenFile]] and [[FS:OpenFileDirectly]] et al can be used to access files through a service-like interface, despite not being an actual service registered using [[SRV:RegisterService]]. To use this service-like interface, simply call SendSyncRequest with a file session handle, using the IPC buffer in thread-local storage, just like you would with a proper service.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Trusted
21

edits