IeXdi2Mem::SetMemAccessExclusionRange (Windows CE 5.0)
This method sets the values in the memory access exclusion range list. This list is used to filter access on the memory range.
This method is useful to accommodate hardware that does not recover from invalid memory access.
HRESULT SetMemAccessExclusionRange( [in] LINEAR_MEM_MAP_TYPE lmt, [in] DWORD dwNbTotalExclRange, [in, size_is(dwNbTotalExclRange)] MEM_ACCESS_EXCLUSION_RANGE* pmaerExclusionList);
Parameters
lmt
Linear memory map type.The following memory map types are used by convention:
Value Description LMM_VIRT, 0 Virtual memory LMM_PHYS, 1 Physical memory LMM_IO, 2 Peripheral I/O 3 and higher Free for custom use dwNbTotalExclRange
Total number of exclusion range elements to be provided in pmaerExclusionList.pmaerExclusionList
Pointer to the table of MEM_ACCESS_EXCLUSION_RANGE elements.
Return Values
The following table shows return values for this method.
Value | Description |
---|---|
S_OK | Indicates the function was successful. |
E_FAIL | Indicates an unspecified failure. |
E_NOTIMPL | Indicates the memory map is not implemented. |
EXDI_E_COMMUNICATION | Indicates a communication error between host driver and debugging target. |
Requirements
OS Version: Windows CE 5.0 and later.
Header: eXDI2.h.
Link Library: ole32.lib oleaut32.lib.
See Also
Send Feedback on this topic to the authors