RO:UnloadCRO

RO:UnloadCRO

Request #

Index WordDescription
0Header code [0x000500C2]
1Base address of the mapped CRO, in the process memory, originally passed to RO:LoadExeCRO.
2Unknown, usually zero?
3Original address where the CRO was first located in process memory(such as the process heap), also passed to RO:LoadExeCRO.
4Must be zero
5KProcess handle

Response #

Index WordDescription
0Header code
1Result code

Description #

This function patches the CRO binary in memory. It sets up imported symbols (functions+data) according to Import Table(s).