Editing Talk:CCAPI
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 33: | Line 33: | ||
// ************************************************* // | // ************************************************* // | ||
== | == Commands == | ||
{| class="wikitable sortable" | |||
|- | |||
! Command ID !! Action !! Prototype | |||
|- | |||
| 1 || {{cellcolors|#ff8888}} Unknown || | |||
|- | |||
| 2 || {{cellcolors|#88ff88}} ReadProcessMemory || int32_t ReadProcessMemory(sys_pid_t pid, uint64_t address, void *data, size_t size) | |||
|- | |||
| 3 || {{cellcolors|#88ff88}} WriteProcessMemory || int32_t WriteProcessMemory(sys_pid_t pid, uint64_t address, const void *data, size_t size) | |||
|- | |||
| 4 || {{cellcolors|#ff8888}} Unknown || | |||
|- | |||
| 5 || {{cellcolors|#88ff88}} GetProcessInfo || int32_t GetProcessInfo(sys_pid_t pid, sys_process_info_t *info) | |||
|- | |||
| 6 || {{cellcolors|#88ff88}} GetTemperature || int32_t GetTemperature(int32_t type, uint32_t *temperature) | |||
|- | |||
| 7 || {{cellcolors|#88ff88}} ControlLed || int32_t ControlLed(int32_t ledColor, int32_t ledAction) | |||
|- | |||
| 8 || {{cellcolors|#88ff88}} GetLv2Memory || int32_t GetLv2Memory(uint64_t address, size_t num, uint8_t *buffer) | |||
|- | |||
| 9 || {{cellcolors|#88ff88}} SetLv2Memory || int32_t SetLv2Memory(uint64_t address, int32_t size, const uint8_t *data) | |||
|- | |||
| 10 || {{cellcolors|#88ff88}} GetLv1Memory || int32_t GetLv1Memory(uint64_t address, size_t size, uint8_t *buffer) | |||
|- | |||
| 11 || {{cellcolors|#88ff88}} SetLv1Memory || int32_t SetLv1Memory(uint64_t address, size_t size, const uint8_t *data) | |||
|- | |||
| 12 || {{cellcolors|#88ff88}} GetConsoleInfo || | |||
|- | |||
| 13 || {{cellcolors|#88ff88}} RingBuzzer || int32_t RingBuzzer(int32_t mode) | |||
|- | |||
| 14 || {{cellcolors|#ff8888}} Unknown || | |||
|- | |||
| 15 || {{cellcolors|#88ff88}} Shutdown || int32_t Shutdown(int32_t mode) | |||
|- | |||
| 16 || {{cellcolors|#88ff88}} Notify || int Notify(const char * [[VSH#Notification_Window_Textures|texture]], const wchar_t *text) | |||
|} |