CM_Get_First_Log_Conf() returns CR_CALL_NOT_IMPLEMENTED on Windows8/64bit

Discussion in 'Windows Vista Drivers' started by heha, Apr 11, 2013.

  1. heha

    heha Guest

    A sample Win32 program (here: 32bit) retrieving LPT port addresses in user mode works well from Win98 upto Win7/64 but breaks on Windows 8.

    Here is the source code snippet:

    The function CM_Get_First_Log_Conf() returns CR_CALL_NOT_IMPLEMENTED here, and no address can be retrieved. Surprisingly, CM_Open_DevNode_Key(), called before using the same input parameter <devInfo.DevInst>, returns successfully.

    What's wrong? Obviously it's a Windows8 bug, but how to cope with this?

    heha, Apr 11, 2013
    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.