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

Developer

API Reference

IMEMREGION1_GRANTACCESS()

Brew Release
Brew MP 1.0.2
See Also
IMemGroup_CreateRegion()
Description
Creates an IMemRegion1 object representing the same virtual memory region as input region, but with more restricted access permissions
Params
pif
[in]:
Interface pointer.
ulPerms
[in]:
The type of access provided to the region object being created. Grant would fail if the permission requested is higher than that of the permissions of the passed in region itself. Possible values are combination
ppiMemRegion1
[out]:
The memory region object created
Interface
Prototype
  •    AEEResult IMemRegion1_GrantAccess(IMemRegion1* pif, 
                                         uint32 ulPerms, 
                                         IMemRegion1** ppiMemRegion1)
    
Return
  • AEE_SUCCESS: Success AEE_EFAILED: Failure
Side Effect
  • None.
Comments
None.