RAM EWF can be configured and can work without EWF volume.
You can find and read my doc and component on
www.xpefiles.com.
If you use EWF, then you probably wont be able to create virtual volume but
you will need virtual partition or virtual disk.
1.
You can use TCP/IP with DHCP server (default behavior) to obtain your IP
address.
Also trough NDIS you can simulate same network packets that BIOS do for PXE
boot. So you can access file you want on server using TFTP.
Much simpler implementation would be to use fixed IP address of server that
has your application, and to use direct TCP connection between your driver
and your server application.
Drawback to this is that this requires you to have your app on server side.
2.
There is no best way.
TDI is much easier and direct way to use various kind of network protocols
like TCP/IP, etc.
But if you want to use TFTP you will need to write NDIS protocol driver or
to use some third party driver.
In normal circumstances you should export upper side of your driver so it
can be accessed trough TDI. But since it is your single purpose driver you
can make another way of direct control.
3.
If you can manage to use TFTP then you can access file on server trough it,
no need for extra app on server side.
This is one way only.
If you want server app, then easiest for implement would be to use TCP/IP
for communication.
And you can use ReadFile to read requested data from file. One option.
Better option is to map view to file in memory. So you can use virtual
memory manager to handle read and write accesses to your file. Much faster
and easier, you access file like any other piece of memory.
4. use /SOS option in boot.ini you will see list of all drivers that are
loaded by ntldr. trough int 13 after this load is done I think that int 13
is no longer used and that XP start executing.
Regards,
Slobodan