Windows driver for filter the MTP device (mobile phones) read and write operations.

I want to write a windows driver for monitor MTP devices like mobile phones when it is connected using USB cables with computers.
But I have no idea how to start with and which type of driver is need to be used to monitors mount/unmount events, read and write operations.

Thanks.