IeXdi2Mem::SetMemAccessExclusionRange (Windows Embedded CE 6.0)
1/5/2010
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.
Syntax
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 Value
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
Header | eXDI2.h |
Library | ole32.lib, oleaut32.lib |
Windows Embedded CE | Windows CE 5.0 and later |