InternetWriteFile function (wininet.h)
Writes data to an open Internet file.
BOOLAPI InternetWriteFile( HINTERNET hFile, LPCVOID lpBuffer, DWORD dwNumberOfBytesToWrite, LPDWORD lpdwNumberOfBytesWritten );
Pointer to a buffer that contains the data to be written to the file.
Number of bytes to be written to the file.
Pointer to a variable that receives the number of bytes written to the file. InternetWriteFile sets this value to zero before doing any work or error checking.
When the application is sending data, it must call InternetCloseHandle to end the data transfer.
Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|