 |
InternetReadFile Add comment W32 Constants Translate this page |
 |
 |
Reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, FtpCommand, GopherOpenFile, or HttpOpenRequest function
|
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL InternetReadFile(
HINTERNET hFile,
LPVOID lpBuffer,
DWORD dwNumberOfBytesToRead,
LPDWORD lpdwNumberOfBytesRead
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER InternetReadFile IN wininet;
INTEGER hFile,;
STRING @ sBuffer,;
INTEGER lNumBytesToRead,;
INTEGER @ dwNumberOfBytesRead
|
 |
 |
 |
| Parameters: |
 |
hFile
[in] Valid HINTERNET handle returned from a previous call to InternetOpenUrl, FtpOpenFile, FtpCommand, GopherOpenFile, or HttpOpenRequest
lpBuffer
[in] Pointer to a buffer that receives the data to read
dwNumberOfBytesToRead
[in] Unsigned long integer value that contains the number of bytes to read
lpdwNumberOfBytesRead
[out] Pointer to an unsigned long integer variable that receives the number of bytes read
|
 |
 |
| Return value: |
 |
| Returns TRUE if successful, or FALSE otherwise |
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2001-07-23 12:00:00 | | Modified: | 2001-11-26 16:02:38 | Visited in last 7 days: 20 |