I am looking for a way to figure out if a driver is digitally signed. I use the api SetupVerifyInfFile for this, but this always fails with the error "Parameter is incorrect". Following are the parameters that I pass to this function, InfName - The Path of the Inf file with the file name. (say, "C:\Windows\..\xxx.inf") and NULL for AltPlatformInfo. Am not sure why this fails with 'Parameter Incorrect' though the inf file is present in the path that is passed to the api. Am I missing out on something here? Does anyone have ideas on this?