Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetCurrentHwProfile Doesn't work, anyone get it to work

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

Hi I'm trying to get the information that is recieved in GetCurrentHwProfile(). The problem I'm having is that MSVC 6 is telling me that it can't find that function OR the structure that is used with it. I'm sure I'm doing everything correctly, I've made sure the libraries are included and all the headers are included. I tried the sample that came with msdn, but still nothing. Any Thoughts

Thanks, Alex
 
Here is the issue

#if(_WIN32_WINNT >= 0x0400)
// can use GetCurrentHWProfile
#else
// must use GetVersion or GetVersionEx instead
#endif

Basically, _WIN32_WINNT does not exceed 0x0400 on your machine.

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top