Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Application Programming

Reply
 
LinkBack Thread Tools
Old 10-16-09   #1 (permalink)
2 + 2 = 5
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 34,851

Rep: 4164 DuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guru
Unique Rep: 1903
Trader Rating: 56
Default Device Manager Resources?

I want to write a program that creates a report on how memory addresses are being allocated. For example, my 896MB GTX260 55nm is using 288MB.

The calcs can be found here: http://www.overclock.net/7365908-post30.html

How do I read the following information from Windows?
Attached Thumbnails
Device Manager Resources?-devicemanager.jpg  
__________________
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it should work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single-Rail/Non-Modular PSUs are not always better than Multi-Rail/Modular


System: Three Dead Mobos in a Year
CPU
Q6600 (3.4GHz)
Motherboard
EVGA 780i
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
GTX260 55nm
Hard Drive
PERC 6/i: 3xRAID0 7200.12 500GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
EK Block + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"
DuckieHo is offline Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 10-16-09   #2 (permalink)
_02
AMD Overclocker
 
_02's Avatar
 
amd nvidia

Join Date: Aug 2009
Location: Altanta, GA
Posts: 717

Rep: 74 _02 is acknowledged by some
Unique Rep: 62
Trader Rating: 0
Default

DuckieHo, this may or may not help you as I'm not familiar with the API but it looks like a good place to start.

http://www.microsoft.com/whdc/devtools/WDK/default.mspx

http://www.codeguru.com/forum/showthread.php?t=265702
__________________
System: Phenom II gaming
CPU
X3 720be @ 3.5 (1.39v)
Motherboard
GA-MA790XT-UD4P
Memory
2x2gb G.Skill DDR3 1333
Graphics Card
8800gt 512mb OC
Hard Drive
3xWD 250gb SATA II
Sound Card
Echo MiaMidi
Power Supply
Fortron BlueStorm II 500w
Case
Coolermaster Centurion
CPU cooling
Arctic Freezer Pro 64
GPU cooling
Zalman VF1050
OS
Win 7 32bit
Monitor
LG 22" LCD
_02 is offline   Reply With Quote
Old 10-16-09   #3 (permalink)
2 + 2 = 5
 
DuckieHo's Avatar
 
intel nvidia

Join Date: Nov 2006
Location: In a Chair.
Posts: 34,851

Rep: 4164 DuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guruDuckieHo is a guru
Unique Rep: 1903
Trader Rating: 56
Default

It turns out Windows 95 has a native print function: http://technet.microsoft.com/en-us/l.../cc751397.aspx

That means the function may still exist in the newer versions....




OK, I found the print button in XP as well... What's the function call!!?!?!?

I want to read it into a program...
__________________
To answer most of your questions: (1) a fridge cannot cool a PC (2) 64-bit OS for over 3.4GB (3) If a PCIe card fits, it should work (4) Resolution, not screen size (5) If you have a question, it is not news (6) Report, not respond to Spam (7) Single-Rail/Non-Modular PSUs are not always better than Multi-Rail/Modular


System: Three Dead Mobos in a Year
CPU
Q6600 (3.4GHz)
Motherboard
EVGA 780i
Memory
2x2GB OCZ Reaper 1096MHz
Graphics Card
GTX260 55nm
Hard Drive
PERC 6/i: 3xRAID0 7200.12 500GB
Sound Card
X-Fi XtremeMusic
Power Supply
Corsair 620HX
Case
Li Lian PC-V2100 [10x120mm fans]
CPU cooling
FuZion V2 + Quad-Heatercore
GPU cooling
EK Block + DDC-3.2
OS
Vista Ultimate 64
Monitor
Samsung 226BW "C" + Sceptre 19"

Last edited by DuckieHo : 10-16-09 at 03:02 PM
DuckieHo is offline Overclocked Account DuckieHo's Gallery   Reply With Quote
Old 10-16-09   #4 (permalink)
_02
AMD Overclocker
 
_02's Avatar
 
amd nvidia

Join Date: Aug 2009
Location: Altanta, GA
Posts: 717

Rep: 74 _02 is acknowledged by some
Unique Rep: 62
Trader Rating: 0
Default

The only way I can imagine doing this is by using the API calls that are more than likely what that print function calls in the device manager application.

I found the source to an app that likely uses these calls, but I can't be sure. It may give you a point of reference to search the API, if it's even documented. Sometimes you can't really get good documentation on these types of things.

Potential source code example:
http://www.codeproject.com/KB/system/DevMgr.aspx

I imagine it's in the DDK documentation that I linked to previously as the posts I've found reference that for your type of question.

Unless you're talking about programatically clicking the print button and manually extracting the information from the file it locally prints, which is kind of roundabout
__________________
System: Phenom II gaming
CPU
X3 720be @ 3.5 (1.39v)
Motherboard
GA-MA790XT-UD4P
Memory
2x2gb G.Skill DDR3 1333
Graphics Card
8800gt 512mb OC
Hard Drive
3xWD 250gb SATA II
Sound Card
Echo MiaMidi
Power Supply
Fortron BlueStorm II 500w
Case
Coolermaster Centurion
CPU cooling
Arctic Freezer Pro 64
GPU cooling
Zalman VF1050
OS
Win 7 32bit
Monitor
LG 22" LCD

Last edited by _02 : 10-16-09 at 04:13 PM
_02 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -5. The time now is 12:05 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.13080 seconds with 9 queries