Skip to content

Commit

Permalink
add GetCurrentProcess / GetProcessInformation (SetVers)
Browse files Browse the repository at this point in the history
GetProcessInformation is not currently implemented in a meaningful manner.
  • Loading branch information
ksherlock committed Oct 11, 2022
1 parent 3e2c02f commit 194c36c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions toolbox/dispatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
#include "mm.h"
#include "os.h"
#include "packages.h"
#include "process.h"
#include "qd.h"
#include "rm.h"
#include "sane.h"
Expand Down Expand Up @@ -329,6 +330,11 @@ namespace OS {
case 0x0020:
return MM::TempDisposeHandle();

case 0x0037:
return Process::GetCurrentProcess();

case 0x003a:
return Process::GetProcessInformation();

default:
fprintf(stderr, "OSDispatch: selector %04x not implemented\n",
Expand Down

0 comments on commit 194c36c

Please sign in to comment.