Ver Mensaje Individual
  #2  
Antiguo 14-10-2010
Avatar de escafandra
[escafandra] escafandra is offline
Miembro Premium
 
Registrado: nov 2007
Posts: 2.197
Reputación: 20
escafandra Tiene un aura espectacularescafandra Tiene un aura espectacular
No se trata de una función de la API de Windows si no una función de delphi:
Cita:
Writes the contents of a buffer to the current position in a file.

Unit

SysUtils

Category

file management routines

Delphi syntax:

function FileWrite(Handle: Integer; const Buffer; Count: Integer): Integer;

C++ syntax:

extern PACKAGE int __fastcall FileWrite(int Handle, const void *Buffer, unsigned Count);

Description

FileWrite writes Count bytes to the file given by Handle from the buffer specified by Buffer. Handle is a file handle returned by the FileOpen or FileCreate method.

The return value is the number of bytes actually written, or -1 if an error occurred.

: Do not mix routines that take or return file handles with those that use Delphi language file variables (typically seen as var F). To write to a file specified by a Delphi file variable, use Write, Writeln, or BlockWrite instead.
Saludos.
Responder Con Cita