urlmon/wininet stubs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog entry:
*dlls/wininet/wininet.spec, http.c, internet.c, urlcache.c:
Chris Morgan <cmorgan@alum.wpi.edu>
Added stubs for HttpEndRequestA/W, InternetReadFileExA/W, 
SetUrlCacheEntryGroup, CreateUrlCacheGroup, DeleteUrlCacheGroup

*dlls/urlmon/umon.c, urlmon.spec:
Chris Morgan <cmorgan@alum.wpi.edu>
Added stubs for FindMimeFromData, ReleaseBindInfo
Index: dlls/urlmon/umon.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umon.c,v
retrieving revision 1.14
diff -u -r1.14 umon.c
--- dlls/urlmon/umon.c	17 Aug 2002 00:21:54 -0000	1.14
+++ dlls/urlmon/umon.c	26 Sep 2002 03:21:32 -0000
@@ -876,6 +876,19 @@
     return E_OUTOFMEMORY;
 }
 
+/***********************************************************************
+ *           FindMimeFromData (URLMON.@)
+ *
+ * Determines the Multipurpose Internet Mail Extensions (MIME) type from the data provided.
+ *
+ */
+HRESULT FindMimeFromData(LPBC pBC, LPCWSTR pwzUrl, LPVOID pBuffer, 
+   DWORD cbSize, LPCWSTR pwzMimeProposed, DWORD dwMimeFlags,
+   LPWSTR* ppwzMimeOut, DWORD dwReserved)
+{
+  FIXME("stub\n");
+  return E_OUTOFMEMORY;
+}
 
 /***********************************************************************
  *           RegisterBindStatusCallback (URLMON.@)
@@ -947,6 +960,17 @@
     }
 
     return hr;
+}
+
+/***********************************************************************
+ *           ReleaseBindInfo (URLMON.@)
+ *
+ * Releases the resources used by the specified BINDINFO structure   
+ *
+ */
+void ReleaseBindInfo(BINDINFO* pbindinfo)
+{
+    FIXME("stub\n");
 }
 
 /***********************************************************************
Index: dlls/urlmon/urlmon.spec
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/urlmon.spec,v
retrieving revision 1.17
diff -u -r1.17 urlmon.spec
--- dlls/urlmon/urlmon.spec	13 Aug 2002 18:20:24 -0000	1.17
+++ dlls/urlmon/urlmon.spec	26 Sep 2002 03:21:32 -0000
@@ -32,7 +32,7 @@
 @ stub FaultInIEFeature
 @ stub FindMediaType
 @ stub FindMediaTypeClass
-@ stub FindMimeFromData
+@ stdcall FindMimeFromData(long ptr ptr long ptr long ptr long) FindMimeFromData 
 @ stub GetClassFileOrMime
 @ stub GetClassURL
 @ stub GetComponentIDFromCLSSPEC
@@ -55,7 +55,7 @@
 @ stub RegisterFormatEnumerator
 @ stub RegisterMediaTypeClass
 @ stub RegisterMediaTypes
-@ stub ReleaseBindInfo
+@ stdcall ReleaseBindInfo(ptr) ReleaseBindInfo
 @ stdcall RevokeBindStatusCallback(ptr ptr) RevokeBindStatusCallback
 @ stub RevokeFormatEnumerator
 @ stub SetSoftwareUpdateAdvertisementState
Index: dlls/wininet/wininet.spec
===================================================================
RCS file: /home/wine/wine/dlls/wininet/wininet.spec,v
retrieving revision 1.22
diff -u -r1.22 wininet.spec
--- dlls/wininet/wininet.spec	22 Jul 2002 20:34:41 -0000	1.22
+++ dlls/wininet/wininet.spec	26 Sep 2002 03:21:30 -0000
@@ -8,12 +8,12 @@
 @ stub CreateUrlCacheContainerW
 @ stub CreateUrlCacheEntryA
 @ stub CreateUrlCacheEntryW
-@ stub CreateUrlCacheGroup
+@ stdcall CreateUrlCacheGroup(long ptr) CreateUrlCacheGroup
 @ stub DeleteIE3Cache
 @ stub DeleteUrlCacheContainerA
 @ stub DeleteUrlCacheContainerW
 @ stdcall DeleteUrlCacheEntry(str) DeleteUrlCacheEntry
-@ stub DeleteUrlCacheGroup
+@ stdcall DeleteUrlCacheGroup(long long ptr) DeleteUrlCacheGroup
 @ stdcall DllInstall(long ptr) WININET_DllInstall
 @ stub FindCloseUrlCache
 @ stub FindFirstUrlCacheContainerA
@@ -69,8 +69,8 @@
 @ stub GopherOpenFileW
 @ stdcall HttpAddRequestHeadersA(ptr str long long) HttpAddRequestHeadersA
 @ stub HttpAddRequestHeadersW
-@ stub HttpEndRequestA
-@ stub HttpEndRequestW
+@ stdcall HttpEndRequestA(ptr ptr long long) HttpEndRequestA
+@ stdcall HttpEndRequestW(ptr ptr long long) HttpEndRequestW
 @ stdcall HttpOpenRequestA(ptr str str str str ptr long long) HttpOpenRequestA
 @ stub HttpOpenRequestW
 @ stdcall HttpQueryInfoA(ptr long ptr ptr ptr) HttpQueryInfoA
@@ -121,8 +121,8 @@
 @ stdcall InternetQueryOptionA(ptr long ptr ptr) InternetQueryOptionA
 @ stub InternetQueryOptionW
 @ stdcall InternetReadFile(ptr ptr long ptr) InternetReadFile
-@ stub InternetReadFileExA
-@ stub InternetReadFileExW
+@ stdcall InternetReadFileExA(ptr ptr long long) InternetReadFileExA
+@ stdcall InternetReadFileExW(ptr ptr long long) InternetReadFileExW
 @ stub InternetServerPushParse
 @ stdcall InternetSetCookieA(str str str) InternetSetCookieA
 @ stub InternetSetCookieW
@@ -151,7 +151,7 @@
 @ stub RunOnceUrlCache
 @ stub SetUrlCacheConfigInfoA
 @ stub SetUrlCacheConfigInfoW
-@ stub SetUrlCacheEntryGroup
+@ stdcall SetUrlCacheEntryGroup(str long long ptr long ptr) SetUrlCacheEntryGroup
 @ stub SetUrlCacheEntryInfoA
 @ stub SetUrlCacheEntryInfoW
 @ stub SetUrlCacheHeaderData
Index: dlls/wininet/http.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/http.c,v
retrieving revision 1.28
diff -u -r1.28 http.c
--- dlls/wininet/http.c	17 Aug 2002 00:43:18 -0000	1.28
+++ dlls/wininet/http.c	26 Sep 2002 03:21:31 -0000
@@ -147,6 +147,39 @@
     return bSuccess;
 }
 
+/***********************************************************************
+ *           HttpEndRequestA (WININET.@)
+ *
+ * Ends an HTTP request that was started by HttpSendRequestEx
+ *
+ * RETURNS
+ *    TRUE	if successful
+ *    FALSE	on failure
+ *
+ */
+BOOL WINAPI HttpEndRequestA(HINTERNET hRequest, LPINTERNET_BUFFERSA lpBuffersOut, 
+          DWORD dwFlags, DWORD dwContext)
+{
+  FIXME("stub\n");
+  return FALSE;
+}
+
+/***********************************************************************
+ *           HttpEndRequestW (WININET.@)
+ *
+ * Ends an HTTP request that was started by HttpSendRequestEx
+ *
+ * RETURNS
+ *    TRUE	if successful
+ *    FALSE	on failure
+ *
+ */
+BOOL WINAPI HttpEndRequestW(HINTERNET hRequest, LPINTERNET_BUFFERSW lpBuffersOut, 
+          DWORD dwFlags, DWORD dwContext)
+{
+  FIXME("stub\n");
+  return FALSE;
+}
 
 /***********************************************************************
  *           HttpOpenRequestA (WININET.@)
Index: dlls/wininet/internet.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/internet.c,v
retrieving revision 1.39
diff -u -r1.39 internet.c
--- dlls/wininet/internet.c	17 Aug 2002 00:43:18 -0000	1.39
+++ dlls/wininet/internet.c	26 Sep 2002 03:21:31 -0000
@@ -940,6 +940,41 @@
     return retval;
 }
 
+/***********************************************************************
+ *           InternetReadFileExA (WININET.@)
+ *
+ * Read data from an open internet file
+ *
+ * RETURNS
+ *    TRUE  on success
+ *    FALSE on failure
+ *
+ */
+BOOL WINAPI InternetReadFileExA(HINTERNET hFile, LPINTERNET_BUFFERSA lpBuffer,
+	DWORD dwFlags, DWORD dwContext)
+{
+  FIXME("stub\n");
+  return FALSE;
+}
+
+/***********************************************************************
+ *           InternetReadFileExW (WININET.@)
+ *
+ * Read data from an open internet file
+ *
+ * RETURNS
+ *    TRUE  on success
+ *    FALSE on failure
+ *
+ */
+BOOL WINAPI InternetReadFileExW(HINTERNET hFile, LPINTERNET_BUFFERSW lpBuffer,
+	DWORD dwFlags, DWORD dwContext)
+{
+  FIXME("stub\n");
+
+  INTERNET_SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+  return FALSE;
+}
 
 /***********************************************************************
  *           InternetQueryOptionA (WININET.@)
Index: dlls/wininet/urlcache.c
===================================================================
RCS file: /home/wine/wine/dlls/wininet/urlcache.c,v
retrieving revision 1.3
diff -u -r1.3 urlcache.c
--- dlls/wininet/urlcache.c	21 Jun 2002 23:59:49 -0000	1.3
+++ dlls/wininet/urlcache.c	26 Sep 2002 03:21:31 -0000
@@ -36,6 +36,12 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(wininet);
 
+INTERNETAPI GROUPID WINAPI CreateUrlCacheGroup(DWORD dwFlags, LPVOID 
+lpReserved)
+{
+  FIXME("stub\n");
+  return FALSE;
+}
 
 INTERNETAPI HANDLE WINAPI FindFirstUrlCacheEntryA(LPCSTR lpszUrlSearchPattern,
  LPINTERNET_CACHE_ENTRY_INFOA lpFirstCacheEntryInfo, LPDWORD lpdwFirstCacheEntryInfoBufferSize)
@@ -66,3 +72,19 @@
     SetLastError(ERROR_FILE_NOT_FOUND);
     return FALSE;
 }
+
+BOOL WINAPI DeleteUrlCacheGroup(GROUPID GroupId, DWORD dwFlags, LPVOID lpReserved)
+{
+    FIXME("STUB\n");
+    return FALSE;
+}
+
+BOOL WINAPI SetUrlCacheEntryGroup(LPCSTR lpszUrlName, DWORD dwFlags,
+  GROUPID GroupId, LPBYTE pbGroupAttributes, DWORD cbGroupAttributes,
+  LPVOID lpReserved)
+{
+    FIXME("STUB\n");
+    SetLastError(ERROR_FILE_NOT_FOUND);
+    return FALSE;
+}
+

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux