ReactOS  0.4.15-dev-1386-g5cb9f87
asyncinet.h
Go to the documentation of this file.
1 #ifndef ASYNC_INET
2 #define ASYNC_INET
3 
4 
6 {
7  ASYNCINET_DATA, // wParam is the Data retrieved from the internet, lParam is the length of Data
8 
9  ASYNCINET_COMPLETE, // wParam and lParam are not used.
10  // when receiving this, AsyncInet will be free soon and should not used anymore
11 
12  ASYNCINET_CANCELLED, // wParam and lParam are not used.
13  // when receiving this, AsyncInet will be free soon and should not used anymore
14 
15  ASYNCINET_ERROR // wParam is not used. lParam specify the error code (if there is one).
16  // when receiving this, AsyncInet will be free soon and should not used anymore
17 };
18 
19 typedef struct __AsyncInet ASYNCINET, * pASYNCINET;
20 
21 typedef int
23  pASYNCINET AsyncInet,
25  WPARAM wParam,
26  LPARAM lParam,
28  );
29 
30 typedef struct __AsyncInet
31 {
34 
36 
40 
42 
44 
47 
51 
53  DWORD dwAccessType,
54  LPCWSTR lpszProxy,
55  LPCWSTR lpszProxyBypass,
56  LPCWSTR lpszUrl,
57  BOOL bAllowCache,
60  );
61 
63 
65 
66 #endif
ASYNC_EVENT
Definition: asyncinet.h:5
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
DWORD BytesRead
Definition: asyncinet.h:46
UINT_PTR WPARAM
Definition: windef.h:207
BYTE ReadBuffer[4096]
Definition: asyncinet.h:45
WPARAM wParam
Definition: combotst.c:138
BOOL bCancelled
Definition: asyncinet.h:43
VOID * Extension
Definition: asyncinet.h:49
BOOL AsyncInetCancel(pASYNCINET AsyncInet)
Definition: asyncinet.cpp:126
unsigned int BOOL
Definition: ntddk_ex.h:94
_In_ PVOID _In_ ULONG Event
Definition: iotypes.h:450
LONG_PTR LPARAM
Definition: windef.h:208
ASYNCINET_CALLBACK Callback
Definition: asyncinet.h:48
HANDLE hEventHandleCreated
Definition: asyncinet.h:35
struct __AsyncInet ASYNCINET
Definition: asyncinet.h:19
int(* ASYNCINET_CALLBACK)(pASYNCINET AsyncInet, ASYNC_EVENT Event, WPARAM wParam, LPARAM lParam, VOID *Extension)
Definition: asyncinet.h:22
VOID AsyncInetRelease(pASYNCINET AsyncInet)
Definition: asyncinet.cpp:184
struct __AsyncInet * pASYNCINET
Definition: asyncinet.h:19
HINTERNET hInternet
Definition: asyncinet.h:32
unsigned long DWORD
Definition: ntddk_ex.h:95
CRITICAL_SECTION CriticalSection
Definition: asyncinet.h:38
unsigned char BYTE
Definition: xxhash.c:193
UINT ReferenceCnt
Definition: asyncinet.h:37
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:456
pASYNCINET AsyncInetDownload(LPCWSTR lpszAgent, DWORD dwAccessType, LPCWSTR lpszProxy, LPCWSTR lpszProxyBypass, LPCWSTR lpszUrl, BOOL bAllowCache, ASYNCINET_CALLBACK Callback, VOID *Extension)
Definition: asyncinet.cpp:33
HANDLE hEventHandleClose
Definition: asyncinet.h:39
BOOL bIsOpenUrlComplete
Definition: asyncinet.h:41
unsigned int UINT
Definition: ndis.h:50
LPARAM lParam
Definition: combotst.c:139
_Inout_opt_ PUNICODE_STRING Extension
Definition: fltkernel.h:1092
HINTERNET hInetFile
Definition: asyncinet.h:33
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31