API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IMEMREGION1

Brew Release
Brew MP 1.0.2
See Also
IMemRegion MemRegionInfo IMemGroup_CreateRegion()
Description
The IMemRegion1 interface extends the IMemRegion interface. In addition to the IMemRegion methods, IMemRegion1 provides an additional method GrantAccess to create a sharable facet of the memory region. Also, the following additional flags are supported for the nPerms and nFlags fields respectively of MemRegionInfo in addition to those defined in IMemRegion documentation:

MemRegionInfo::nPerms MEMREGION_ACCESS_READ - Read permission MEMREGION_ACCESS_WRITE - Write permission MEMREGION_ACCESS_EXECUTE - Execute permission
MemRegionInfo::nFlags MEMREGION_CACHE_NONE - No cache MEMREGION_CACHE_WRITEBACK - Writeback cache MEMREGION_CACHE_WRITETHRU - Writethru cache
MEMREGION_VIRTUAL_EXCL - Virtual address is exclusive to this process MEMREGION_VIRTUAL_COMMON - Multiple processes can map to the virtual address
MEMREGION_SHARE_EXCL - Memory region is not shareable MEMREGION_SHARE_COMMON - Memory region can be shared with other processes
Usage
None.