From WikiPrizm
Revision as of 10:11, 30 July 2014 by Gbl08ma (talk | contribs)
Jump to navigationJump to search


Header: fxcg/file.h
Syscall index: 0x154B
Function signature: int MCSGetDlen2(unsigned char* dir, unsigned char* item, int* data_len)

Gets the length in bytes of the item in main memory, and selects it for posterior usage by, for example, MCSGetData1.


  • unsigned char* dir - The name of the directory where the item is located.
  • unsigned char* item - The name of the item.
  • int* data_len - Pointer to variable that will receive the length of the data.


  • 0 for success;
  • other values on failure.


Selects dir\item as the item for MCSGetData1 to operate with. As explained on its article, process switching (i.e. GetKey) can't occur between the calls to these syscalls.