hi,
is there any API call to copy file in driver?
like CopyFile ()
i need to copy c:\a\myfile.txt to c:\b\myfile.txt in my driver
assuming the file system is up already!
thank you!
cheers,
vincent
Find gifts, buy online with MSN Shopping. http://shopping.msn.com.sg/
You must be joking…
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of vincent gambit
Sent: Thursday, March 04, 2004 1:48 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] how to copy file in driver?
hi,
is there any API call to copy file in driver?
like CopyFile ()
i need to copy c:\a\myfile.txt to c:\b\myfile.txt in my driver
assuming the file system is up already!
thank you!
cheers,
vincent
Find gifts, buy online with MSN Shopping. http://shopping.msn.com.sg/
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
There’s no API to do that, but look at
http://www.osronline.com/article.cfm?id=87 The download for that article
includes “kfc.c”, which is “kernel file copy” that shows how it’s done
inside a driver, as well as a command-line utility to test it.
HTH,
Ken
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of vincent gambit
Sent: Thursday, March 04, 2004 4:48 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] how to copy file in driver?
hi,
is there any API call to copy file in driver?
like CopyFile ()
i need to copy c:\a\myfile.txt to c:\b\myfile.txt in my driver
assuming the file system is up already!
thank you!
cheers,
vincent
Find gifts, buy online with MSN Shopping. http://shopping.msn.com.sg/
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@comcast.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
hi,
is there any API call to copy file in driver?
like CopyFile ()
i need to copy c:\a\myfile.txt to c:\b\myfile.txt in my driver
assuming the file system is up already!
thank you!
cheers,
vincent
Get 10mb of inbox space with MSN Hotmail Extra Storage
http://join.msn.com/?pgmarket=en-sg
to paraphrase jamey’s message:
why would you put this functionality into a device driver? These are
running as part of the operating system core - adding unnecessary
complexity just increases the chances that you’ll crash someones’s
machine. Copying a text file seems like something best left to a
user-mode service that goes along with your driver (at least to me -
perhaps if you explain what you’re doing better the “need” will become
clear)
-p
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jamey Kirby
Sent: Thursday, March 04, 2004 2:03 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] how to copy file in driver?
You must be joking…
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of vincent gambit
Sent: Thursday, March 04, 2004 1:48 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] how to copy file in driver?
hi,
is there any API call to copy file in driver?
like CopyFile ()
i need to copy c:\a\myfile.txt to c:\b\myfile.txt in my driver assuming
the file system is up already!
thank you!
cheers,
vincent
Find gifts, buy online with MSN Shopping. http://shopping.msn.com.sg/
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com To
unsubscribe send a blank email to xxxxx@lists.osr.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com