Filesystem services: Difference between revisions
m →Files |
m →Files |
||
Line 734: | Line 734: | ||
=File and directory access= | =File and directory access= | ||
==Files== | ==Files== | ||
File session handles obtained via [[FS:OpenFile]] and [[FS:OpenFileDirectly]] 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. | File session handles obtained via [[FS:OpenFile]] and [[FS:OpenFileDirectly]] 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 the SendSyncRequest SVC with a file session handle, using the IPC buffer in thread-local storage for parameters and responses, just like you would with a proper service. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" |