What does HRESULT 0x800F0100 (SPAPI_E_WRONG_INF_STYLE) mean?

 
Previous Next
SPAPI_E_GENERAL_SYNTAX SPAPI_E_SECTION_NOT_FOUND

SPAPI_E_WRONG_INF_STYLE

SPAPI_E_WRONG_INF_STYLE means that the caller asked SetupAPI to process an INF in one style, but the selected file was recognized as a different style. This commonly occurs when code assumes a device-driver INF while receiving another setup-information format or an unexpected generated file.

What to check

  • Log the fully qualified INF path that reached SetupAPI and verify it is the intended package file.
  • Confirm that the API flags and installation flow are appropriate for a device-driver INF.
  • Check build and packaging scripts for filename collisions or stale copied INF files.

Microsoft: device installation functions


Looking for a different code? Search another status or error code.