Share via

#error: KMDF_MINIMUM_VERSION_REQUIRED > KMDF_VERSION_MINOR

Anonymous
2022-08-08T07:30:55.78+00:00

While build KMDF driver code, always got this error. Per check, I know this error come from WDF officical file "wdffuncenum.h"

if defined(KMDF_MINIMUM_VERSION_REQUIRED)

#if KMDF_MINIMUM_VERSION_REQUIRED < WDF_FIRST_VERSION_SUPPORTING_CLIENT_VERSION_HIGHER_THAN_FRAMEWORK  
#error KMDF_MINIMUM_VERSION_REQUIRED < 25  
#endif  

#if KMDF_MINIMUM_VERSION_REQUIRED > KMDF_VERSION_MINOR  
#error KMDF_MINIMUM_VERSION_REQUIRED > KMDF_VERSION_MINOR  
#endif  

endif

But my code never define "KMDF_MINIMUM_VERSION_REQUIRED" and "KMDF_VERSION_MINOR" , and I know maybe some project property items will set those value.

Is there anyone knowing what is going on and how to solve this issue?

Windows for business | Windows Client for IT Pros | Devices and deployment | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.