Difference between revisions of "MCS GetState"

From WikiPrizm
Jump to navigationJump to search
(Created page with "{{syscall | name = MCS_GetState | header = fxcg/file.h | index = 0x1529 | signature = int MCS_GetState(int* maxspace, int* currentload, int* remainingspace) | synopsis = Gets...")
 
(No difference)

Latest revision as of 10:50, 30 July 2014


Synopsis

Header: fxcg/file.h
Syscall index: 0x1529
Function signature: int MCS_GetState(int* maxspace, int* currentload, int* remainingspace)

Gets information about the total, taken and available space of the Main Memory.

Parameters

  • maxspace - Pointer to int that will receive the amount of total MCS space;
  • currentload - Pointer to int that will receive the amount of used MCS space;
  • remainingspace - Pointer to int that will receive the amount of unused MCS space.

Returns

Always returns 0.

Comments

One may think that maxspace is constant, which is not true, because when running as an eActivity strip, add-ins have access to a smaller MCS that's contained within the eActivity file and shrinks as more data is added to it.