---
name: "InternetQueryDataAvailable"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/InternetQueryDataAvailable"
---

# InternetQueryDataAvailable(3w)

## NAME

**InternetQueryDataAvailable** (WININET.@)

## SYNOPSIS

BOOL InternetQueryDataAvailable\
  (\
   HINTERNET *hFile*,\
   LPDWORD   *lpdwNumberOfBytesAvailble*,\
   DWORD     *dwFlags*,\
   DWORD\_PTR *dwContext*\
  )

## DESCRIPTION

Determines how much data is available to be read.

## RETURNS

**TRUE** on success, **FALSE** if an error occurred. If **INTERNET\_FLAG\_ASYNC** was specified in InternetOpen, and no data is presently available, **FALSE** is returned with the last error ERROR\_IO\_PENDING; a callback with status **INTERNET\_STATUS\_REQUEST\_COMPLETE** will be sent when more data is available.

## IMPLEMENTATION

Declared in **"wininet.h"**.

Implemented in **"dlls/wininet/internet.c"**.

Debug channel **"wininet"**.
