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

    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
     
    Neel, Feb 9, 2010
    #1
    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
    #2
    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.