MIDL_OPTIMIZATION
Use the MIDL_OPTIMIZATION macro to override the default optimization that is passed to the Microsoft IDL Compiler (MIDL).
In the Windows Driver Kit (WDK), the default value is OI2.
Send comments about this topic to Microsoft
Build date: 5/3/2011