The first handle is a Process handle, the rest are CodeMemory handles.
The first handle is a Process handle, the rest are CodeMemory handles.
−
This essentially does state/object init and maps the CodeMemory regions in the user-process. The permissions for the first CodeMemory is R-X, for the second CodeMemory it's R--.
+
This essentially does state/object init and maps the CodeMemory regions in the user-process. The permissions for the first CodeMemory is R-X, for the second CodeMemory it's R--. Both CodeMemory are mapped in the sysmodule with permissions RW-.
−
Initialization for each CodeMemory is only done if the associated size is not zero.
+
Both CodeMemory are intended to be optional, however really both are required.