From: Nathan on
Is it an either/or situation where you can only have a rendering or interface
driver and not both?
I started with the Bitmap driver sample and wanted to also include
IPrintOemUi2, but intellisense was having none of that.
Looking in the "PRCOMOEM.H" header, I saw that interface was grayed out due
to "#ifndef KERNEL_MODE" above.
The problem is, the #else part of that includes the IPrintOemUni2 interface.

Is there a way to #define kernel mode for one section and #undef it for
another? Or some other way to get both interfaces running in a single driver
file? Or how does/can it work?

Thanks,
Nathan