cfgmgr32.dll is using obsolete deprecated CM_Detect_Resource_Confl

Discussion in 'Windows Vista Drivers' started by Neel, Feb 9, 2010.

  1. Neel

    Neel Guest


    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:

    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."

    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?

    Neel, Feb 9, 2010
    1. Advertisements

  2. 1. Why "CM_Get_Next_Res_Des" is calling "CM_Get_Next_Res_Des_Ex" and
    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, Feb 10, 2010
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.