wininet: Move a bunch of misplaced API documentation.

Francois Gouget fgouget at free.fr
Fri Feb 16 12:42:57 CST 2007


---
 dlls/wininet/ftp.c |  200 ++++++++++++++++++++++++++--------------------------
 1 files changed, 100 insertions(+), 100 deletions(-)

diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index b0079a3..5b073cf 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -170,16 +170,6 @@ BOOL WINAPI FtpPutFileA(HINTERNET hConnect, LPCSTR lpszLocalFile,
     return ret;
 }
 
-/***********************************************************************
- *           FtpPutFileW (WININET.@)
- *
- * Uploads a file to the FTP server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpPutFileProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPPUTFILEW const *req = &workRequest->u.FtpPutFileW;
@@ -194,6 +184,16 @@ static void AsyncFtpPutFileProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszNewRemoteFile);
 }
 
+/***********************************************************************
+ *           FtpPutFileW (WININET.@)
+ *
+ * Uploads a file to the FTP server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpPutFileW(HINTERNET hConnect, LPCWSTR lpszLocalFile,
     LPCWSTR lpszNewRemoteFile, DWORD dwFlags, DWORD dwContext)
 {
@@ -339,16 +339,6 @@ BOOL WINAPI FtpSetCurrentDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
 }
 
 
-/***********************************************************************
- *           FtpSetCurrentDirectoryW (WININET.@)
- *
- * Change the working directory on the FTP server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpSetCurrentDirectoryProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPSETCURRENTDIRECTORYW const *req = &workRequest->u.FtpSetCurrentDirectoryW;
@@ -360,6 +350,16 @@ static void AsyncFtpSetCurrentDirectoryProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszDirectory);
 }
 
+/***********************************************************************
+ *           FtpSetCurrentDirectoryW (WININET.@)
+ *
+ * Change the working directory on the FTP server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpSetCurrentDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory)
 {
     LPWININETFTPSESSIONW lpwfs = NULL;
@@ -479,16 +479,6 @@ BOOL WINAPI FtpCreateDirectoryA(HINTERNET hConnect, LPCSTR lpszDirectory)
 }
 
 
-/***********************************************************************
- *           FtpCreateDirectoryW (WININET.@)
- *
- * Create new directory on the FTP server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpCreateDirectoryProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPCREATEDIRECTORYW const *req = &workRequest->u.FtpCreateDirectoryW;
@@ -500,6 +490,16 @@ static void AsyncFtpCreateDirectoryProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszDirectory);
 }
 
+/***********************************************************************
+ *           FtpCreateDirectoryW (WININET.@)
+ *
+ * Create new directory on the FTP server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpCreateDirectoryW(HINTERNET hConnect, LPCWSTR lpszDirectory)
 {
     LPWININETFTPSESSIONW lpwfs;
@@ -627,16 +627,6 @@ HINTERNET WINAPI FtpFindFirstFileA(HINTERNET hConnect,
 }
 
 
-/***********************************************************************
- *           FtpFindFirstFileW (WININET.@)
- *
- * Search the specified directory
- *
- * RETURNS
- *    HINTERNET on success
- *    NULL on failure
- *
- */
 static void AsyncFtpFindFirstFileProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPFINDFIRSTFILEW const *req = &workRequest->u.FtpFindFirstFileW;
@@ -649,6 +639,16 @@ static void AsyncFtpFindFirstFileProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszSearchFile);
 }
 
+/***********************************************************************
+ *           FtpFindFirstFileW (WININET.@)
+ *
+ * Search the specified directory
+ *
+ * RETURNS
+ *    HINTERNET on success
+ *    NULL on failure
+ *
+ */
 HINTERNET WINAPI FtpFindFirstFileW(HINTERNET hConnect,
     LPCWSTR lpszSearchFile, LPWIN32_FIND_DATAW lpFindFileData, DWORD dwFlags, DWORD dwContext)
 {
@@ -817,16 +817,6 @@ BOOL WINAPI FtpGetCurrentDirectoryA(HINTERNET hFtpSession, LPSTR lpszCurrentDire
 }
 
 
-/***********************************************************************
- *           FtpGetCurrentDirectoryW (WININET.@)
- *
- * Retrieves the current directory
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpGetCurrentDirectoryProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPGETCURRENTDIRECTORYW const *req = &workRequest->u.FtpGetCurrentDirectoryW;
@@ -837,6 +827,16 @@ static void AsyncFtpGetCurrentDirectoryProc(WORKREQUEST *workRequest)
     FTP_FtpGetCurrentDirectoryW(lpwfs, req->lpszDirectory, req->lpdwDirectory);
 }
 
+/***********************************************************************
+ *           FtpGetCurrentDirectoryW (WININET.@)
+ *
+ * Retrieves the current directory
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpGetCurrentDirectoryW(HINTERNET hFtpSession, LPWSTR lpszCurrentDirectory,
     LPDWORD lpdwCurrentDirectory)
 {
@@ -977,16 +977,6 @@ HINTERNET WINAPI FtpOpenFileA(HINTERNET hFtpSession,
 }
 
 
-/***********************************************************************
- *           FtpOpenFileW (WININET.@)
- *
- * Open a remote file for writing or reading
- *
- * RETURNS
- *    HINTERNET handle on success
- *    NULL on failure
- *
- */
 static void AsyncFtpOpenFileProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPOPENFILEW const *req = &workRequest->u.FtpOpenFileW;
@@ -999,6 +989,16 @@ static void AsyncFtpOpenFileProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszFilename);
 }
 
+/***********************************************************************
+ *           FtpOpenFileW (WININET.@)
+ *
+ * Open a remote file for writing or reading
+ *
+ * RETURNS
+ *    HINTERNET handle on success
+ *    NULL on failure
+ *
+ */
 HINTERNET WINAPI FtpOpenFileW(HINTERNET hFtpSession,
     LPCWSTR lpszFileName, DWORD fdwAccess, DWORD dwFlags,
     DWORD dwContext)
@@ -1169,16 +1169,6 @@ BOOL WINAPI FtpGetFileA(HINTERNET hInternet, LPCSTR lpszRemoteFile, LPCSTR lpszN
 }
 
 
-/***********************************************************************
- *           FtpGetFileW (WININET.@)
- *
- * Retrieve file from the FTP server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpGetFileProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPGETFILEW const *req = &workRequest->u.FtpGetFileW;
@@ -1195,6 +1185,16 @@ static void AsyncFtpGetFileProc(WORKREQUEST *workRequest)
 
 #define FTP_CONDITION_MASK      0x0007
 
+/***********************************************************************
+ *           FtpGetFileW (WININET.@)
+ *
+ * Retrieve file from the FTP server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpGetFileW(HINTERNET hInternet, LPCWSTR lpszRemoteFile, LPCWSTR lpszNewFile,
     BOOL fFailIfExists, DWORD dwLocalFlagsAttribute, DWORD dwInternetFlags,
     DWORD dwContext)
@@ -1379,16 +1379,6 @@ BOOL WINAPI FtpDeleteFileA(HINTERNET hFtpSession, LPCSTR lpszFileName)
     return ret;
 }
 
-/***********************************************************************
- *           FtpDeleteFileW  (WININET.@)
- *
- * Delete a file on the ftp server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpDeleteFileProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPDELETEFILEW const *req = &workRequest->u.FtpDeleteFileW;
@@ -1400,6 +1390,16 @@ static void AsyncFtpDeleteFileProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszFilename);
 }
 
+/***********************************************************************
+ *           FtpDeleteFileW  (WININET.@)
+ *
+ * Delete a file on the ftp server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpDeleteFileW(HINTERNET hFtpSession, LPCWSTR lpszFileName)
 {
     LPWININETFTPSESSIONW lpwfs;
@@ -1518,16 +1518,6 @@ BOOL WINAPI FtpRemoveDirectoryA(HINTERNET hFtpSession, LPCSTR lpszDirectory)
     return ret;
 }
 
-/***********************************************************************
- *           FtpRemoveDirectoryW  (WININET.@)
- *
- * Remove a directory on the ftp server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpRemoveDirectoryProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPREMOVEDIRECTORYW const *req = &workRequest->u.FtpRemoveDirectoryW;
@@ -1539,6 +1529,16 @@ static void AsyncFtpRemoveDirectoryProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszDirectory);
 }
 
+/***********************************************************************
+ *           FtpRemoveDirectoryW  (WININET.@)
+ *
+ * Remove a directory on the ftp server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpRemoveDirectoryW(HINTERNET hFtpSession, LPCWSTR lpszDirectory)
 {
     LPWININETFTPSESSIONW lpwfs;
@@ -1661,16 +1661,6 @@ BOOL WINAPI FtpRenameFileA(HINTERNET hFtpSession, LPCSTR lpszSrc, LPCSTR lpszDes
     return ret;
 }
 
-/***********************************************************************
- *           FtpRenameFileW  (WININET.@)
- *
- * Rename a file on the ftp server
- *
- * RETURNS
- *    TRUE on success
- *    FALSE on failure
- *
- */
 static void AsyncFtpRenameFileProc(WORKREQUEST *workRequest)
 {
     struct WORKREQ_FTPRENAMEFILEW const *req = &workRequest->u.FtpRenameFileW;
@@ -1683,6 +1673,16 @@ static void AsyncFtpRenameFileProc(WORKREQUEST *workRequest)
     HeapFree(GetProcessHeap(), 0, req->lpszDestFile);
 }
 
+/***********************************************************************
+ *           FtpRenameFileW  (WININET.@)
+ *
+ * Rename a file on the ftp server
+ *
+ * RETURNS
+ *    TRUE on success
+ *    FALSE on failure
+ *
+ */
 BOOL WINAPI FtpRenameFileW(HINTERNET hFtpSession, LPCWSTR lpszSrc, LPCWSTR lpszDest)
 {
     LPWININETFTPSESSIONW lpwfs;
-- 
1.4.4.4




More information about the wine-patches mailing list