1

Under what circumstances does SetupAPI's SetupUninstallOEMInf function set the ERROR_NO_MORE_ITEMS error code?

The MSDN documentation does not detail this.

Ilya
  • 5,533
  • 2
  • 29
  • 57

1 Answers1

2

Apparently the ERROR_NO_MORE_ITEMS error code can indicate there are still installed devices using this .INF file (and the SUOI_FORCEDELETE flag wasn't specified).

Reading %windir%\setupapi.log (on XP) or %windir%\Inf\setupapi.dev.log (on Vista and higher) can be helpful to determine what SetupAPI is really trying to say.

Ilya
  • 5,533
  • 2
  • 29
  • 57