How to send an IO control from application to a ndis InterMedia driver

Hi!
I want to build a ndis intermedia driver(for windows 2000) and it must
receive a control request from the application.
How can i implement it?

thanks

michael