NDISWan and Compression

Hi,
I couldnt find the details of how NDISWan implements compression apart
from the mention of it. Is there a better way than adding an IM driver to
extend or add a private compression functionality? Like, an interface which
a dll can implement and NDISWan can make use of…! Any pointers are
appreciated.

TIA,
Giri.