|
| IMPORT_C Ref | LdrGetDylibSymbolFromHandle (_Input const Char *symbol, _Input Ref dll_handle) |
| | Dynamic Loader API.
|
| IMPORT_C Ref | LdrOpenDylibHandle (_Input const Char *path, _Input const Char *drive_letter) |
| | Open Dylib handle.
|
| IMPORT_C UInt32 | LdrCloseDylibHandle (_Input Ref *dll_handle) |
| | Close Dylib handle.
|
| IMPORT_C Ref | IoOpenFile (const Char *fs_path, const Char *drive_letter) |
| | Opens a file from a drive.
|
| IMPORT_C Void | IoCloseFile (_Input Ref file_desc) |
| | Closes a file and flushes its content.
|
| IMPORT_C SInt32 | IoCtrlFile (_Input Ref file_desc, _Input UInt32 ioctl_code, _Input VoidPtr in_data, _Output VoidPtr out_data) |
| | I/O control (ioctl) on a file.
|
| IMPORT_C const Char * | IoMimeFile (_Input Ref file_desc) |
| | Gets the file mime (if any).
|
| IMPORT_C const Char * | IoDimFile (_Input Ref dir_desc) |
| | Gets the dir DIM.
|
| IMPORT_C UInt32 | IoWriteFile (_Input Ref file_desc, _Output VoidPtr out_data, UInt64 sz_data) |
| | Write data to a file ref.
|
| IMPORT_C UInt32 | IoReadFile (_Input Ref file_desc, _Output VoidPtr *out_data, UInt64 sz_data) |
| | Read data from a file.
|
| IMPORT_C UInt64 | IoRewindFile (_Input Ref file_desc) |
| | Rewind the file pointer to the beginning of the file.
|
| IMPORT_C UInt64 | IoTellFile (_Input Ref file_desc) |
| | Tell the current position of the file pointer.
|
| IMPORT_C UInt64 | IoSeekFile (_Input Ref file_desc, UInt64 file_offset) |
| | Seek file offset from file descriptor.
|
| IMPORT_C UInt32 | RtlSpawnIB (UIntPtr process_id) |
| | Spawns a Thread Information Block and Global Information Block inside the current process.
|
| IMPORT_C UIntPtr | RtlSpawnProcess (const Char *process_path, UInt32 argc, Char **argv, Char **envp, UInt32 envp_len) |
| | Spawns a process with a unique pid (stored as UIntPtr).
|
| IMPORT_C Bool | RtlExitProcess (UIntPtr handle, UIntPtr exit_code) |
| | Exits a process with an exit_code.
|
| IMPORT_C VoidPtr | MmCreateHeap (_Input UInt64 len, _Input UInt32 flags) |
| | Creates a new heap from the process's address space.
|
| IMPORT_C SInt32 | MmDestroyHeap (_Input VoidPtr heap) |
| | Destroys the pointer.
|
| IMPORT_C SInt32 | MmSetHeapFlags (_Input VoidPtr heap, _Input UInt32 flags) |
| | Change protection flags of a memory region.
|
| IMPORT_C UInt32 | MmGetHeapFlags (_Input VoidPtr heap) |
| | Change protection flags of a memory region.
|
| IMPORT_C UInt32 | MmFillCRC32Heap (_Input VoidPtr heap) |
| | Fill memory region with CRC32.
|
| IMPORT_C VoidPtr | MmCopyMemory (_Input VoidPtr dest, _Input VoidPtr src, _Input UInt64 len) |
| | Copy memory region.
|
| IMPORT_C SInt64 | MmCmpMemory (_Input VoidPtr dest, _Input VoidPtr src, _Input UInt64 len) |
| | Compare memory regions.
|
| IMPORT_C VoidPtr | MmFillMemory (_Input VoidPtr dest, _Input UInt64 len, _Input UInt8 value) |
| | Fill memory region.
|
| IMPORT_C SInt64 | MmStrCmp (_Input const Char *dest, _Input const Char *src) |
| | Compare string regions.
|
| IMPORT_C SInt64 | MmStrLen (const Char *str) |
| | Get length of string.
|
| IMPORT_C SInt32 | ErrGetLastError (Void) |
| IMPORT_C SInt32 | ThrExitCurrentThread (_Input SInt32 exit_code) |
| | Exit the current thread.
|
| IMPORT_C SInt32 | ThrExitMainThread (_Input SInt32 exit_code) |
| | Exit the main thread.
|
| IMPORT_C SInt32 | ThrExitThread (_Input ThreadRef thread, _Input SInt32 exit_code) |
| | Exit a thread.
|
| IMPORT_C ThreadRef | ThrCreateThread (const Char *thread_name, ThrProcKind procedure, SInt32 argument_count, SInt32 flags) |
| | Creates a thread.
|
| IMPORT_C SInt32 | ThrYieldThread (ThreadRef thrd) |
| | Yields the current thread.
|
| IMPORT_C SInt32 | ThrJoinThread (ThreadRef thrd) |
| | Joins a thread.
|
| IMPORT_C SInt32 | ThrDetachThread (ThreadRef thrd) |
| | Detach a thread.
|
| IMPORT_C Char * | DrvGetDefaultDriveLetter (Void) |
| | Get the default drive letter.
|
| IMPORT_C Char * | DrvGetDriveLetterFromPath (_Input const Char *path) |
| | Get the drive letter from a path.
|
| IMPORT_C Ref | DrvGetMountedDrive (_Input Char letter) |
| | Get a mounted drive from a letter.
|
| IMPORT_C Void | DrvMountDrive (_Input const Char *path, _Input const Char *letter) |
| | Mount a drive.
|
| IMPORT_C Void | DrvUnmountDrive (_Input Char letter) |
| | Unmount a drive.
|
| IMPORT_C Void | EvtAddListener (_Input const Char *event_name, _Input Ref listener) |
| | Add an event listener.
|
| IMPORT_C Void | EvtRemoveListener (_Input const Char *event_name, _Input Ref listener) |
| | Remove an event listener.
|
| IMPORT_C VoidPtr | EvtDispatchEvent (_Input const Char *event_name, _Input VoidPtr event_data) |
| | Dispatch an event.
|
| IMPORT_C SInt32 | PwrReadCode (_Output SInt32 &code) |
| IMPORT_C SInt32 | PwrSendCode (_Output SInt32 &code) |
| IMPORT_C IORef | CdOpenTray (Void) |
| IMPORT_C SInt32 | CdEjectDrive (_Input IORef cdrom) |
| IMPORT_C SInt32 | CdCloseTray (Void) |
| IMPORT_C SInt32 | PrintOut (IORef file, const Char *fmt,...) |
| IMPORT_C SInt32 | PrintIn (IORef file, const Char *fmt,...) |
| IMPORT_C IORef | PrintCreate (Void) |
| IMPORT_C SInt32 | PrintRelease (IORef) |
| IMPORT_C IORef | PrintGet (const Char *path) |
| IMPORT_C SInt32 | SchedSetAffinity (_Input ProcessRef, SInt32 req, _Input AffinityRef *) |
| IMPORT_C SInt32 | SchedGetAffinity (_Input ProcessRef, _InOut AffinityRef *) |
| IMPORT_C SInt32 | SchedFireSignal (_Input ProcessRef, SInt32) |
| IMPORT_C SInt32 | SchedReadMemory (_Input ProcessRef, SInt32, SInt32) |
| IMPORT_C SInt32 | SchedWriteMemory (_Input ProcessRef, SInt32, SInt32) |
| IMPORT_C UIntPtr | SchedGetCurrentProcessID (Void) |
| IMPORT_C BOOL | FsCopy (const Char *path, const Char *dst) |
| IMPORT_C BOOL | FsMove (const Char *path, const Char *dst) |
| IMPORT_C BOOL | FsExists (const Char *path) |
| IMPORT_C BOOL | FsCreateDir (const Char *path) |
| IMPORT_C BOOL | FsCreateFile (const Char *path) |
| IMPORT_C BOOL | FsCreateAlias (const Char *path, const Char *from) |
| IMPORT_C BOOL | IfsMount (const Char *path, const Char *drive_letter) |
| IMPORT_C BOOL | IfsUnmount (const Char *drive_letter) |
| IMPORT_C BOOL | IfsIsMounted (const Char *drive_letter) |
| IMPORT_C Char * | StrFmt (const Char *fmt,...) |
| IMPORT_C UInt64 | StrMathToNumber (const Char *in, const Char **endp, const SInt16 base) |