How to call MmGetPhysicalMemoryRanges ??

All development related issues welcome

Moderator: Moderator Team

Post Reply
shijin
Posts: 4
Joined: Wed Jan 13, 2016 11:59 am

How to call MmGetPhysicalMemoryRanges ??

Post by shijin »

I am writing a driver in which i want the exact range of RAM. I came to know about memmory manager routines inside windows kernel. I am planning to include MmGetPhysicalMemoryRanges routine in my driver also to get memory range.

i don't know how to add these routines into driver..

Anyone please tell me how to write this routine??What is its syntax???
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: How to call MmGetPhysicalMemoryRanges ??

Post by middings »

MmGetPhysicalMemoryRanges is undocumented. Avoid using it if you can.
Perhaps the calls on this web page can solve your problem: https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: How to call MmGetPhysicalMemoryRanges ??

Post by hbelusca »

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 14 guests