Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > cfgmgr32.dll is using obsolete deprecated CM_Detect_Resource_Confl

Reply
Thread Tools Display Modes

cfgmgr32.dll is using obsolete deprecated CM_Detect_Resource_Confl

 
 
Neel
Guest
Posts: n/a

 
      02-09-2010
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 "CM_Get_Next_Res_Des" is calling "CM_Get_Next_Res_Des_Ex" and
"CM_Get_Next_Res_Des_Ex" is calling "CM_Detect_Resource_Conflict"?
2. How should avoid this happening? Any project settings needed?


Thanks,
Neelesh

 
Reply With Quote
 
 
 
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      02-10-2010
> 1. Why "CM_Get_Next_Res_Des" is calling "CM_Get_Next_Res_Des_Ex" and
> "CM_Get_Next_Res_Des_Ex" is calling "CM_Detect_Resource_Conflict"?


This is the internal implementation detail, which does not care.

Even if the function is deprecated as _public_, it can still live as internal one.

--
Maxim S. Shatskih
Windows DDK MVP

http://www.storagecraft.com

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deprecated MS Components/software in Vista blueey Windows Vista Installation 2 01-10-2007 06:50 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59