impl: Add basic support for DRWHW::InitModalType

Purely copied from upstream DRWHX11::InitModalType, so a few warnings output
will be silenced.