Click here to Skip to main content
14,126,666 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
Hi,

In my application (VC++ 2008 SP1 & WDK 6001.18000) I am using "Get_Next_Res_Des" to get device information. But the UMDH (User-Mode heap dump) call stack shows:

CFGMGR32!CM_Detect_Resource_Conflict+00000065
CFGMGR32!CM_Get_Next_Res_Des_Ex+00000278
CFGMGR32!CM_Get_Next_Res_Des+00000017
................................


And MSDN says "CM_Detect_Resource_Conflict:This function is obsolete and no longer supported in Windows 2000 and later versions of Windows. Use CM_Query_Resource_Conflict_List instead."

http://msdn.microsoft.com/en-us/library/ms789519.aspx

Since I am not calling this "CM_Detect_Resource_Conflict"

1. Why is "CM_Get_Next_Res_Des" calling "CM_Get_Next_Res_Des_Ex" and "CM_Get_Next_Res_Des_Ex" calling "CM_Detect_Resource_Conflict"?

2. How should I avoid this from happening? Are there any project settings that are needed?

Thanks,
Neelesh
Posted
Updated 3-Feb-10 10:59am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190518.1 | Last Updated 3 Feb 2010
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100