def iter_memory_map(self, minAddr = None, maxAddr = None):
        """
        Produces an iterator over the memory map to the process address space.

        Optionally restrict the map to the given address range.

        @see: L{mquery}

        @type  minAddr: int
        @param minAddr: (Optional) Starting address in address range to query.

        @type  maxAddr: int
        @param maxAddr: (Optional) Ending address in address range to query.

        @rtype:  iterator of L{win32.MemoryBasicInformation}
        @return: List of memory region information objects.
        """
        minAddr, maxAddr = MemoryAddresses.align_address_range(minAddr,maxAddr)
        prevAddr    = minAddr - 1
        currentAddr = minAddr
        while prevAddr < currentAddr < maxAddr:
            try:
                mbi = self.mquery(currentAddr)
            except WindowsError:
                e = sys.exc_info()[1]
                if e.winerror == win32.ERROR_INVALID_PARAMETER:
                    break
                raise
            yield mbi
            prevAddr    = currentAddr
            currentAddr = mbi.BaseAddress + mbi.RegionSize
def iter_memory_map ( self , minAddr = None , maxAddr = None ) : minAddr , maxAddr = MemoryAddresses . align_address_range ( minAddr , maxAddr ) prevAddr = minAddr - 1 currentAddr = minAddr while prevAddr < currentAddr < maxAddr : try : mbi = self . mquery ( currentAddr ) except WindowsError : e = sys . exc_info ( ) [ 1 ] if e . winerror == win32 . ERROR_INVALID_PARAMETER : break raise yield mbi prevAddr = currentAddr currentAddr = mbi . BaseAddress + mbi . RegionSize
Produces an iterator over the memory map to the process address space.

        Optionally restrict the map to the given address range.

        @see: L{mquery}

        @type  minAddr: int
        @param minAddr: (Optional) Starting address in address range to query.

        @type  maxAddr: int
        @param maxAddr: (Optional) Ending address in address range to query.

        @rtype:  iterator of L{win32.MemoryBasicInformation}
        @return: List of memory region information objects.