RO:UnloadCRO
Revision as of 18:55, 15 July 2016 by Wwylele (talk | contribs) (Wwylele moved page RO:LoadCROSymbols to RO:UnloadCRO: Wrong name)
RequestEdit
Index Word | Description |
---|---|
0 | Header code [0x000500C2] |
1 | Base address of the mapped CRO, in the process memory, originally passed to RO:LoadExeCRO. |
2 | Unknown, usually zero? |
3 | Original address where the CRO was first located in process memory(such as the process heap), also passed to RO:LoadExeCRO. |
4 | Must be zero |
5 | KProcess handle |
ResponseEdit
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
DescriptionEdit
This function patches the CRO binary in memory. It sets up imported symbols (functions+data) according to Import Table(s).