mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 14:35:46 +00:00
kernel: Fix implementation of ConvertSessionToDomain.
This commit is contained in:
parent
d203083a1c
commit
9d04a45a90
10 changed files with 90 additions and 54 deletions
|
@ -17,6 +17,8 @@ enum KernelHandle : Handle {
|
|||
CurrentProcess = 0xFFFF8001,
|
||||
};
|
||||
|
||||
class Session;
|
||||
|
||||
/**
|
||||
* This class allows the creation of Handles, which are references to objects that can be tested
|
||||
* for validity and looked up. Here they are used to pass references to kernel objects to/from the
|
||||
|
@ -59,6 +61,11 @@ public:
|
|||
*/
|
||||
ResultVal<Handle> Duplicate(Handle handle);
|
||||
|
||||
/**
|
||||
* Convert all handles of the specified Session to the specified Domain.
|
||||
*/
|
||||
void ConvertSessionToDomain(const Session& session, SharedPtr<Object> domain);
|
||||
|
||||
/**
|
||||
* Closes a handle, removing it from the table and decreasing the object's ref-count.
|
||||
* @return `RESULT_SUCCESS` or one of the following errors:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue