winhttp: Get rid of query_data_t.
Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
690046e3d2
commit
41c72bff6f
@ -2910,7 +2910,7 @@ done:
|
|||||||
|
|
||||||
static void task_query_data_available( struct task_header *task )
|
static void task_query_data_available( struct task_header *task )
|
||||||
{
|
{
|
||||||
query_data_t *q = (query_data_t *)task;
|
struct query_data *q = (struct query_data *)task;
|
||||||
query_data_available( q->hdr.request, q->available, TRUE );
|
query_data_available( q->hdr.request, q->available, TRUE );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2938,9 +2938,9 @@ BOOL WINAPI WinHttpQueryDataAvailable( HINTERNET hrequest, LPDWORD available )
|
|||||||
|
|
||||||
if (request->connect->hdr.flags & WINHTTP_FLAG_ASYNC)
|
if (request->connect->hdr.flags & WINHTTP_FLAG_ASYNC)
|
||||||
{
|
{
|
||||||
query_data_t *q;
|
struct query_data *q;
|
||||||
|
|
||||||
if (!(q = heap_alloc( sizeof(query_data_t) ))) return FALSE;
|
if (!(q = heap_alloc( sizeof(struct query_data) ))) return FALSE;
|
||||||
q->hdr.request = request;
|
q->hdr.request = request;
|
||||||
q->hdr.proc = task_query_data_available;
|
q->hdr.proc = task_query_data_available;
|
||||||
q->available = available;
|
q->available = available;
|
||||||
|
@ -237,11 +237,11 @@ struct receive_response
|
|||||||
struct task_header hdr;
|
struct task_header hdr;
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct
|
struct query_data
|
||||||
{
|
{
|
||||||
struct task_header hdr;
|
struct task_header hdr;
|
||||||
LPDWORD available;
|
DWORD *available;
|
||||||
} query_data_t;
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user