Ask a questionAsk a question
 

QuestionDriverPackageInstall(DIFx) returns unknown error

  • Wednesday, October 29, 2008 12:09 PMFerdinand Maisriemler Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Using DriverPackageInstall I got the following not specified return codes:

    e0000003
    e000024a
    e000024a

    Please could me somebody help, what they could mean and if there exists symbolic name for it.

    Best Regards
    Ferdinand

All Replies

  • Wednesday, November 04, 2009 6:11 PMLynx David Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello,

    Look at SetupAPI.h and you will find that:

    e0000003 is ERROR_GENERAL_SYNTAX
    e000024a is ERROR_WRONG_INF_TYPE

    I suggest you turn on debug logging so you can see what is going on in the parser:

    Use: SetDifxLogCallback

    You can simply write the messages to a log file in the callback function.

    Most likely your INF file has a problem.  Have you tried using it with DPInst.exe?  Your INF file should install properly with DPInst.exe before you try and use it iwth DriverPackageInstall.

    Good luck,

    Lynx David