CeWriteFile (rapi)
Last changed: lwoodard@sstdevgroup.com-205.162.224.251

.
Summary
This function writes data to a file. It starts writing data to the file at the position indicated by the file pointer. After the write operation has been completed, the file pointer is adjusted by the number of bytes actually written.

C# Signature:

[DllImport("rapi.dll", CharSet=CharSet.Unicode)]
public static extern int CeWriteFile(
    int hFile,
    byte[] lpBuffer,
    int nNumberOfBytesToWrite,
    out int nNumberOfBytesWritten,
    int lpOverlapped);

User-Defined Types:

None.

Notes:

function info on msdn at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeWriteFileRAPI.asp

Im to sexy for my shoes, and my socks stink.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Documentation
CeWriteFile on MSDN