locked
IoWMIOpenBlock failed with error 0xC0000295 when window booting up RRS feed

  • Question

  • In my driver I use IoWMIOpenBlock to query using SMBIOS_DATA_GUID when AddDevice is called. This function work well on window 7 x86, x64.

    However, on window XP, POSReady 7 and POSReady 2009, the function will failed with GUID no found error. After booting into window, if I go to device manager, disable and enable my device, then this function will work well without problem. May I know why this happen and is there a way to work around this issue?

     

    Additional info from debugger:

     

    ...

    *** ERROR: Module load completed but symbols could not be loaded for swenum.sys

    *** ERROR: Module load completed but symbols could not be loaded for update.sys

    *** ERROR: Module load completed but symbols could not be loaded for mssmbios.sys

    KD: Accessing 'C:\DRIVERS\objchk_wxp_x86\i386\MyDriver.sys' (\SystemRoot\system32\DRIVERS\MyDriver.SYS)

    IoWMIOpenBlock failed (status:0xC0000295)

    MYun
    Thursday, January 12, 2012 1:31 AM