Cleanup: Replace WINBOOL by BOOL

svn path=/trunk/; revision=7841
This commit is contained in:
Eric Kohl 2004-01-23 16:37:11 +00:00
parent ada72d1210
commit 6482583e26
18 changed files with 116 additions and 116 deletions

View file

@ -1,4 +1,4 @@
/* $Id: backup.c,v 1.5 2003/07/10 18:50:51 chorns Exp $ /* $Id: backup.c,v 1.6 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -17,15 +17,15 @@
/* /*
* @unimplemented * @unimplemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
BackupRead ( BackupRead (
HANDLE hFile, HANDLE hFile,
LPBYTE lpBuffer, LPBYTE lpBuffer,
DWORD nNumberOfBytesToRead, DWORD nNumberOfBytesToRead,
LPDWORD lpNumberOfBytesRead, LPDWORD lpNumberOfBytesRead,
WINBOOL bAbort, BOOL bAbort,
WINBOOL bProcessSecurity, BOOL bProcessSecurity,
LPVOID * lpContext LPVOID * lpContext
) )
{ {
@ -37,7 +37,7 @@ BackupRead (
/* /*
* @unimplemented * @unimplemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
BackupSeek ( BackupSeek (
HANDLE hFile, HANDLE hFile,
@ -56,15 +56,15 @@ BackupSeek (
/* /*
* @unimplemented * @unimplemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
BackupWrite ( BackupWrite (
HANDLE hFile, HANDLE hFile,
LPBYTE lpBuffer, LPBYTE lpBuffer,
DWORD nNumberOfBytesToWrite, DWORD nNumberOfBytesToWrite,
LPDWORD lpNumberOfBytesWritten, LPDWORD lpNumberOfBytesWritten,
WINBOOL bAbort, BOOL bAbort,
WINBOOL bProcessSecurity, BOOL bProcessSecurity,
LPVOID * lpContext LPVOID * lpContext
) )
{ {

View file

@ -1,4 +1,4 @@
/* $Id: cnotify.c,v 1.8 2003/07/15 10:49:52 gvg Exp $ /* $Id: cnotify.c,v 1.9 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -17,7 +17,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
FindCloseChangeNotification (HANDLE hChangeHandle) FindCloseChangeNotification (HANDLE hChangeHandle)
{ {
NtClose(hChangeHandle); NtClose(hChangeHandle);
@ -32,7 +32,7 @@ HANDLE
STDCALL STDCALL
FindFirstChangeNotificationA ( FindFirstChangeNotificationA (
LPCSTR lpPathName, LPCSTR lpPathName,
WINBOOL bWatchSubtree, BOOL bWatchSubtree,
DWORD dwNotifyFilter DWORD dwNotifyFilter
) )
{ {
@ -74,7 +74,7 @@ HANDLE
STDCALL STDCALL
FindFirstChangeNotificationW ( FindFirstChangeNotificationW (
LPCWSTR lpPathName, LPCWSTR lpPathName,
WINBOOL bWatchSubtree, BOOL bWatchSubtree,
DWORD dwNotifyFilter DWORD dwNotifyFilter
) )
{ {
@ -141,7 +141,7 @@ FindFirstChangeNotificationW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
FindNextChangeNotification ( FindNextChangeNotification (
HANDLE hChangeHandle HANDLE hChangeHandle

View file

@ -1,4 +1,4 @@
/* $Id: copy.c,v 1.16 2003/09/12 17:51:47 vizzini Exp $ /* $Id: copy.c,v 1.17 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -28,8 +28,8 @@ CopyLoop (
LARGE_INTEGER SourceFileSize, LARGE_INTEGER SourceFileSize,
LPPROGRESS_ROUTINE lpProgressRoutine, LPPROGRESS_ROUTINE lpProgressRoutine,
LPVOID lpData, LPVOID lpData,
WINBOOL *pbCancel, BOOL *pbCancel,
WINBOOL *KeepDest BOOL *KeepDest
) )
{ {
NTSTATUS errCode; NTSTATUS errCode;
@ -39,7 +39,7 @@ CopyLoop (
LARGE_INTEGER BytesCopied; LARGE_INTEGER BytesCopied;
DWORD CallbackReason; DWORD CallbackReason;
DWORD ProgressResult; DWORD ProgressResult;
WINBOOL EndOfFileFound; BOOL EndOfFileFound;
*KeepDest = FALSE; *KeepDest = FALSE;
errCode = NtAllocateVirtualMemory(NtCurrentProcess(), errCode = NtAllocateVirtualMemory(NtCurrentProcess(),
@ -194,14 +194,14 @@ SetLastWriteTime(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CopyFileExW ( CopyFileExW (
LPCWSTR lpExistingFileName, LPCWSTR lpExistingFileName,
LPCWSTR lpNewFileName, LPCWSTR lpNewFileName,
LPPROGRESS_ROUTINE lpProgressRoutine, LPPROGRESS_ROUTINE lpProgressRoutine,
LPVOID lpData, LPVOID lpData,
WINBOOL *pbCancel, BOOL *pbCancel,
DWORD dwCopyFlags DWORD dwCopyFlags
) )
{ {
@ -210,8 +210,8 @@ CopyFileExW (
IO_STATUS_BLOCK IoStatusBlock; IO_STATUS_BLOCK IoStatusBlock;
FILE_STANDARD_INFORMATION FileStandard; FILE_STANDARD_INFORMATION FileStandard;
FILE_BASIC_INFORMATION FileBasic; FILE_BASIC_INFORMATION FileBasic;
WINBOOL RC = FALSE; BOOL RC = FALSE;
WINBOOL KeepDestOnError = FALSE; BOOL KeepDestOnError = FALSE;
DWORD SystemError; DWORD SystemError;
FileHandleSource = CreateFileW(lpExistingFileName, FileHandleSource = CreateFileW(lpExistingFileName,
@ -310,14 +310,14 @@ CopyFileExW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CopyFileExA ( CopyFileExA (
LPCSTR lpExistingFileName, LPCSTR lpExistingFileName,
LPCSTR lpNewFileName, LPCSTR lpNewFileName,
LPPROGRESS_ROUTINE lpProgressRoutine, LPPROGRESS_ROUTINE lpProgressRoutine,
LPVOID lpData, LPVOID lpData,
WINBOOL *pbCancel, BOOL *pbCancel,
DWORD dwCopyFlags DWORD dwCopyFlags
) )
{ {
@ -325,7 +325,7 @@ CopyFileExA (
UNICODE_STRING NewFileNameU; UNICODE_STRING NewFileNameU;
ANSI_STRING ExistingFileName; ANSI_STRING ExistingFileName;
ANSI_STRING NewFileName; ANSI_STRING NewFileName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&ExistingFileName, RtlInitAnsiString (&ExistingFileName,
(LPSTR)lpExistingFileName); (LPSTR)lpExistingFileName);
@ -374,12 +374,12 @@ CopyFileExA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CopyFileA ( CopyFileA (
LPCSTR lpExistingFileName, LPCSTR lpExistingFileName,
LPCSTR lpNewFileName, LPCSTR lpNewFileName,
WINBOOL bFailIfExists BOOL bFailIfExists
) )
{ {
return CopyFileExA (lpExistingFileName, return CopyFileExA (lpExistingFileName,
@ -394,12 +394,12 @@ CopyFileA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CopyFileW ( CopyFileW (
LPCWSTR lpExistingFileName, LPCWSTR lpExistingFileName,
LPCWSTR lpNewFileName, LPCWSTR lpNewFileName,
WINBOOL bFailIfExists BOOL bFailIfExists
) )
{ {
return CopyFileExW (lpExistingFileName, return CopyFileExW (lpExistingFileName,

View file

@ -1,4 +1,4 @@
/* $Id: curdir.c,v 1.39 2003/11/17 02:12:50 hyperion Exp $ /* $Id: curdir.c,v 1.40 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -97,7 +97,7 @@ GetCurrentDirectoryW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
SetCurrentDirectoryA ( SetCurrentDirectoryA (
LPCSTR lpPathName LPCSTR lpPathName
@ -137,7 +137,7 @@ SetCurrentDirectoryA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
SetCurrentDirectoryW ( SetCurrentDirectoryW (
LPCWSTR lpPathName LPCWSTR lpPathName

View file

@ -1,4 +1,4 @@
/* $Id: delete.c,v 1.14 2003/07/10 18:50:51 chorns Exp $ /* $Id: delete.c,v 1.15 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -22,7 +22,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
DeleteFileA ( DeleteFileA (
LPCSTR lpFileName LPCSTR lpFileName
@ -30,7 +30,7 @@ DeleteFileA (
{ {
UNICODE_STRING FileNameU; UNICODE_STRING FileNameU;
ANSI_STRING FileName; ANSI_STRING FileName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&FileName, RtlInitAnsiString (&FileName,
(LPSTR)lpFileName); (LPSTR)lpFileName);
@ -58,7 +58,7 @@ DeleteFileA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
DeleteFileW ( DeleteFileW (
LPCWSTR lpFileName LPCWSTR lpFileName

View file

@ -1,4 +1,4 @@
/* $Id: deviceio.c,v 1.13 2003/11/27 00:57:57 gdalsnes Exp $ /* $Id: deviceio.c,v 1.14 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -19,7 +19,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
DeviceIoControl( DeviceIoControl(
HANDLE hDevice, HANDLE hDevice,
@ -37,7 +37,7 @@ DeviceIoControl(
PIO_STATUS_BLOCK IoStatusBlock; PIO_STATUS_BLOCK IoStatusBlock;
IO_STATUS_BLOCK IIosb; IO_STATUS_BLOCK IIosb;
WINBOOL bFsIoControlCode = FALSE; BOOL bFsIoControlCode = FALSE;
DPRINT("DeviceIoControl(hDevice %x dwIoControlCode %d lpInBuffer %x " DPRINT("DeviceIoControl(hDevice %x dwIoControlCode %d lpInBuffer %x "
"nInBufferSize %d lpOutBuffer %x nOutBufferSize %d " "nInBufferSize %d lpOutBuffer %x nOutBufferSize %d "
@ -136,13 +136,13 @@ DeviceIoControl(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
GetOverlappedResult ( GetOverlappedResult (
IN HANDLE hFile, IN HANDLE hFile,
IN LPOVERLAPPED lpOverlapped, IN LPOVERLAPPED lpOverlapped,
OUT LPDWORD lpNumberOfBytesTransferred, OUT LPDWORD lpNumberOfBytesTransferred,
IN WINBOOL bWait IN BOOL bWait
) )
{ {
DWORD WaitStatus; DWORD WaitStatus;

View file

@ -1,4 +1,4 @@
/* $Id: dir.c,v 1.42 2004/01/21 23:20:46 ekohl Exp $ /* $Id: dir.c,v 1.43 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -26,7 +26,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CreateDirectoryA ( CreateDirectoryA (
LPCSTR lpPathName, LPCSTR lpPathName,
@ -42,7 +42,7 @@ CreateDirectoryA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CreateDirectoryExA ( CreateDirectoryExA (
LPCSTR lpTemplateDirectory, LPCSTR lpTemplateDirectory,
@ -53,7 +53,7 @@ CreateDirectoryExA (
UNICODE_STRING NewDirU; UNICODE_STRING NewDirU;
ANSI_STRING TmplDir; ANSI_STRING TmplDir;
ANSI_STRING NewDir; ANSI_STRING NewDir;
WINBOOL Result; BOOL Result;
RtlInitUnicodeString (&TmplDirU, RtlInitUnicodeString (&TmplDirU,
NULL); NULL);
@ -114,7 +114,7 @@ CreateDirectoryExA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CreateDirectoryW ( CreateDirectoryW (
LPCWSTR lpPathName, LPCWSTR lpPathName,
@ -130,7 +130,7 @@ CreateDirectoryW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
CreateDirectoryExW ( CreateDirectoryExW (
LPCWSTR lpTemplateDirectory, LPCWSTR lpTemplateDirectory,
@ -208,7 +208,7 @@ CreateDirectoryExW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
RemoveDirectoryA ( RemoveDirectoryA (
LPCSTR lpPathName LPCSTR lpPathName
@ -216,7 +216,7 @@ RemoveDirectoryA (
{ {
UNICODE_STRING PathNameU; UNICODE_STRING PathNameU;
ANSI_STRING PathName; ANSI_STRING PathName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&PathName, RtlInitAnsiString (&PathName,
(LPSTR)lpPathName); (LPSTR)lpPathName);
@ -244,7 +244,7 @@ RemoveDirectoryA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
RemoveDirectoryW ( RemoveDirectoryW (
LPCWSTR lpPathName LPCWSTR lpPathName

View file

@ -1,4 +1,4 @@
/* $Id: dosdev.c,v 1.9 2003/09/03 22:28:40 ekohl Exp $ /* $Id: dosdev.c,v 1.10 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -22,7 +22,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
DefineDosDeviceA( DefineDosDeviceA(
DWORD dwFlags, DWORD dwFlags,
@ -69,7 +69,7 @@ DefineDosDeviceA(
/* /*
* @unimplemented * @unimplemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
DefineDosDeviceW( DefineDosDeviceW(
DWORD dwFlags, DWORD dwFlags,

View file

@ -1,4 +1,4 @@
/* $Id: file.c,v 1.47 2003/12/08 19:50:31 hbirr Exp $ /* $Id: file.c,v 1.48 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -20,7 +20,7 @@
/* GLOBALS ******************************************************************/ /* GLOBALS ******************************************************************/
WINBOOL bIsFileApiAnsi = TRUE; // set the file api to ansi or oem BOOL bIsFileApiAnsi = TRUE; // set the file api to ansi or oem
/* FUNCTIONS ****************************************************************/ /* FUNCTIONS ****************************************************************/
@ -48,7 +48,7 @@ SetFileApisToANSI(VOID)
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
AreFileApisANSI(VOID) AreFileApisANSI(VOID)
{ {
return bIsFileApiAnsi; return bIsFileApiAnsi;
@ -163,7 +163,7 @@ OpenFile(LPCSTR lpFileName,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
FlushFileBuffers(HANDLE hFile) FlushFileBuffers(HANDLE hFile)
{ {
NTSTATUS errCode; NTSTATUS errCode;
@ -446,7 +446,7 @@ GetCompressedFileSizeW(LPCWSTR lpFileName,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetFileInformationByHandle(HANDLE hFile, GetFileInformationByHandle(HANDLE hFile,
LPBY_HANDLE_FILE_INFORMATION lpFileInformation) LPBY_HANDLE_FILE_INFORMATION lpFileInformation)
{ {
@ -692,13 +692,13 @@ GetFileAttributesW(LPCWSTR lpFileName)
return Result ? FileAttributeData.dwFileAttributes : 0xffffffff; return Result ? FileAttributeData.dwFileAttributes : 0xffffffff;
} }
WINBOOL STDCALL BOOL STDCALL
SetFileAttributesA(LPCSTR lpFileName, SetFileAttributesA(LPCSTR lpFileName,
DWORD dwFileAttributes) DWORD dwFileAttributes)
{ {
UNICODE_STRING FileNameU; UNICODE_STRING FileNameU;
ANSI_STRING FileName; ANSI_STRING FileName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&FileName, RtlInitAnsiString (&FileName,
(LPSTR)lpFileName); (LPSTR)lpFileName);
@ -725,7 +725,7 @@ SetFileAttributesA(LPCSTR lpFileName,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
SetFileAttributesW(LPCWSTR lpFileName, SetFileAttributesW(LPCWSTR lpFileName,
DWORD dwFileAttributes) DWORD dwFileAttributes)
{ {
@ -902,7 +902,7 @@ GetTempFileNameW(LPCWSTR lpPathName,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetFileTime(HANDLE hFile, GetFileTime(HANDLE hFile,
LPFILETIME lpCreationTime, LPFILETIME lpCreationTime,
LPFILETIME lpLastAccessTime, LPFILETIME lpLastAccessTime,
@ -937,7 +937,7 @@ GetFileTime(HANDLE hFile,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
SetFileTime(HANDLE hFile, SetFileTime(HANDLE hFile,
CONST FILETIME *lpCreationTime, CONST FILETIME *lpCreationTime,
CONST FILETIME *lpLastAccessTime, CONST FILETIME *lpLastAccessTime,
@ -987,7 +987,7 @@ SetFileTime(HANDLE hFile,
* *
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
SetEndOfFile(HANDLE hFile) SetEndOfFile(HANDLE hFile)
{ {
IO_STATUS_BLOCK IoStatusBlock; IO_STATUS_BLOCK IoStatusBlock;

View file

@ -1,4 +1,4 @@
/* $Id: find.c,v 1.41 2003/12/09 23:37:59 gvg Exp $ /* $Id: find.c,v 1.42 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -38,7 +38,7 @@ typedef struct _KERNEL32_FIND_FILE_DATA
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
InternalFindNextFile ( InternalFindNextFile (
HANDLE hFindFile HANDLE hFindFile
@ -406,7 +406,7 @@ FindFirstFileA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
FindNextFileA ( FindNextFileA (
HANDLE hFindFile, HANDLE hFindFile,
@ -563,7 +563,7 @@ FindFirstFileW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
FindNextFileW ( FindNextFileW (
HANDLE hFindFile, HANDLE hFindFile,

View file

@ -1,4 +1,4 @@
/* $Id: iocompl.c,v 1.12 2003/11/18 05:16:31 royce Exp $ /* $Id: iocompl.c,v 1.13 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -85,7 +85,7 @@ CreateIoCompletionPort(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
GetQueuedCompletionStatus( GetQueuedCompletionStatus(
HANDLE CompletionHandle, HANDLE CompletionHandle,
@ -146,7 +146,7 @@ GetQueuedCompletionStatus(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
PostQueuedCompletionStatus( PostQueuedCompletionStatus(
HANDLE CompletionHandle, HANDLE CompletionHandle,

View file

@ -1,4 +1,4 @@
/* $Id: lock.c,v 1.9 2003/07/10 18:50:51 chorns Exp $ /* $Id: lock.c,v 1.10 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -24,7 +24,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
LockFile( LockFile(
HANDLE hFile, HANDLE hFile,
@ -49,7 +49,7 @@ LockFile(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
LockFileEx( LockFileEx(
HANDLE hFile, HANDLE hFile,
@ -114,7 +114,7 @@ LockFileEx(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
UnlockFile( UnlockFile(
HANDLE hFile, HANDLE hFile,
@ -137,7 +137,7 @@ UnlockFile(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
UnlockFileEx( UnlockFileEx(
HANDLE hFile, HANDLE hFile,

View file

@ -1,4 +1,4 @@
/* $Id: mailslot.c,v 1.8 2003/07/10 18:50:51 chorns Exp $ /* $Id: mailslot.c,v 1.9 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -106,7 +106,7 @@ CreateMailslotW(LPCWSTR lpName,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetMailslotInfo(HANDLE hMailslot, GetMailslotInfo(HANDLE hMailslot,
LPDWORD lpMaxMessageSize, LPDWORD lpMaxMessageSize,
LPDWORD lpNextSize, LPDWORD lpNextSize,
@ -153,7 +153,7 @@ GetMailslotInfo(HANDLE hMailslot,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
SetMailslotInfo(HANDLE hMailslot, SetMailslotInfo(HANDLE hMailslot,
DWORD lReadTimeout) DWORD lReadTimeout)
{ {

View file

@ -1,4 +1,4 @@
/* $Id: move.c,v 1.11 2003/11/18 05:16:31 royce Exp $ /* $Id: move.c,v 1.12 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -25,7 +25,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
MoveFileA ( MoveFileA (
LPCSTR lpExistingFileName, LPCSTR lpExistingFileName,
@ -41,7 +41,7 @@ MoveFileA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
MoveFileExA ( MoveFileExA (
LPCSTR lpExistingFileName, LPCSTR lpExistingFileName,
@ -60,7 +60,7 @@ MoveFileExA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
MoveFileWithProgressA ( MoveFileWithProgressA (
LPCSTR lpExistingFileName, LPCSTR lpExistingFileName,
@ -74,7 +74,7 @@ MoveFileWithProgressA (
UNICODE_STRING NewFileNameU; UNICODE_STRING NewFileNameU;
ANSI_STRING ExistingFileName; ANSI_STRING ExistingFileName;
ANSI_STRING NewFileName; ANSI_STRING NewFileName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&ExistingFileName, RtlInitAnsiString (&ExistingFileName,
(LPSTR)lpExistingFileName); (LPSTR)lpExistingFileName);
@ -122,7 +122,7 @@ MoveFileWithProgressA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
MoveFileW ( MoveFileW (
LPCWSTR lpExistingFileName, LPCWSTR lpExistingFileName,
@ -138,7 +138,7 @@ MoveFileW (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
MoveFileExW ( MoveFileExW (
LPCWSTR lpExistingFileName, LPCWSTR lpExistingFileName,
@ -154,7 +154,7 @@ MoveFileExW (
} }
static WINBOOL static BOOL
AdjustFileAttributes ( AdjustFileAttributes (
LPCWSTR ExistingFileName, LPCWSTR ExistingFileName,
LPCWSTR NewFileName LPCWSTR NewFileName
@ -166,7 +166,7 @@ AdjustFileAttributes (
HANDLE hFile; HANDLE hFile;
DWORD Attributes; DWORD Attributes;
NTSTATUS errCode; NTSTATUS errCode;
WINBOOL Result = FALSE; BOOL Result = FALSE;
hFile = CreateFileW (ExistingFileName, hFile = CreateFileW (ExistingFileName,
FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES, FILE_READ_ATTRIBUTES | FILE_WRITE_ATTRIBUTES,
@ -284,7 +284,7 @@ AdjustFileAttributes (
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
MoveFileWithProgressW ( MoveFileWithProgressW (
LPCWSTR lpExistingFileName, LPCWSTR lpExistingFileName,
@ -300,7 +300,7 @@ MoveFileWithProgressW (
USHORT Buffer[FILE_RENAME_SIZE]; USHORT Buffer[FILE_RENAME_SIZE];
NTSTATUS errCode; NTSTATUS errCode;
DWORD err; DWORD err;
WINBOOL Result; BOOL Result;
hFile = CreateFileW (lpExistingFileName, hFile = CreateFileW (lpExistingFileName,
GENERIC_ALL, GENERIC_ALL,

View file

@ -1,4 +1,4 @@
/* $Id: npipe.c,v 1.15 2003/07/10 18:50:51 chorns Exp $ /* $Id: npipe.c,v 1.16 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -591,7 +591,7 @@ DisconnectNamedPipe(HANDLE hNamedPipe)
/* /*
* @unimplemented * @unimplemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetNamedPipeHandleStateW(HANDLE hNamedPipe, GetNamedPipeHandleStateW(HANDLE hNamedPipe,
LPDWORD lpState, LPDWORD lpState,
LPDWORD lpCurInstances, LPDWORD lpCurInstances,
@ -646,7 +646,7 @@ GetNamedPipeHandleStateW(HANDLE hNamedPipe,
/* /*
* @unimplemented * @unimplemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetNamedPipeHandleStateA(HANDLE hNamedPipe, GetNamedPipeHandleStateA(HANDLE hNamedPipe,
LPDWORD lpState, LPDWORD lpState,
LPDWORD lpCurInstances, LPDWORD lpCurInstances,
@ -663,7 +663,7 @@ GetNamedPipeHandleStateA(HANDLE hNamedPipe,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetNamedPipeInfo(HANDLE hNamedPipe, GetNamedPipeInfo(HANDLE hNamedPipe,
LPDWORD lpFlags, LPDWORD lpFlags,
LPDWORD lpOutBufferSize, LPDWORD lpOutBufferSize,

View file

@ -1,4 +1,4 @@
/* $Id: rw.c,v 1.23 2003/11/30 19:50:42 gdalsnes Exp $ /* $Id: rw.c,v 1.24 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -22,7 +22,7 @@
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
WriteFile(HANDLE hFile, WriteFile(HANDLE hFile,
LPCVOID lpBuffer, LPCVOID lpBuffer,
DWORD nNumberOfBytesToWrite, DWORD nNumberOfBytesToWrite,
@ -101,7 +101,7 @@ WriteFile(HANDLE hFile,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
ReadFile( ReadFile(
HANDLE hFile, HANDLE hFile,
LPVOID lpBuffer, LPVOID lpBuffer,
@ -204,7 +204,7 @@ ApcRoutine(PVOID ApcContext,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
WriteFileEx (HANDLE hFile, WriteFileEx (HANDLE hFile,
LPCVOID lpBuffer, LPCVOID lpBuffer,
DWORD nNumberOfBytesToWrite, DWORD nNumberOfBytesToWrite,
@ -259,7 +259,7 @@ WriteFileEx (HANDLE hFile,
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
ReadFileEx(HANDLE hFile, ReadFileEx(HANDLE hFile,
LPVOID lpBuffer, LPVOID lpBuffer,
DWORD nNumberOfBytesToRead, DWORD nNumberOfBytesToRead,

View file

@ -1,4 +1,4 @@
/* $Id: tape.c,v 1.5 2003/07/10 18:50:51 chorns Exp $ /* $Id: tape.c,v 1.6 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -44,7 +44,7 @@ STDCALL
EraseTape ( EraseTape (
HANDLE hDevice, HANDLE hDevice,
DWORD dwEraseType, DWORD dwEraseType,
WINBOOL bImmediate BOOL bImmediate
) )
{ {
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
@ -90,7 +90,7 @@ STDCALL
PrepareTape ( PrepareTape (
HANDLE hDevice, HANDLE hDevice,
DWORD dwOperation, DWORD dwOperation,
WINBOOL bImmediate BOOL bImmediate
) )
{ {
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
@ -125,7 +125,7 @@ SetTapePosition (
DWORD dwPartition, DWORD dwPartition,
DWORD dwOffsetLow, DWORD dwOffsetLow,
DWORD dwOffsetHigh, DWORD dwOffsetHigh,
WINBOOL bImmediate BOOL bImmediate
) )
{ {
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
@ -142,7 +142,7 @@ WriteTapemark (
HANDLE hDevice, HANDLE hDevice,
DWORD dwTapemarkType, DWORD dwTapemarkType,
DWORD dwTapemarkCount, DWORD dwTapemarkCount,
WINBOOL bImmediate BOOL bImmediate
) )
{ {
SetLastError(ERROR_CALL_NOT_IMPLEMENTED); SetLastError(ERROR_CALL_NOT_IMPLEMENTED);

View file

@ -1,4 +1,4 @@
/* $Id: volume.c,v 1.36 2004/01/17 23:04:28 gvg Exp $ /* $Id: volume.c,v 1.37 2004/01/23 16:37:11 ekohl Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -162,7 +162,7 @@ GetLogicalDrives(VOID)
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetDiskFreeSpaceA ( GetDiskFreeSpaceA (
LPCSTR lpRootPathName, LPCSTR lpRootPathName,
LPDWORD lpSectorsPerCluster, LPDWORD lpSectorsPerCluster,
@ -173,7 +173,7 @@ GetDiskFreeSpaceA (
{ {
UNICODE_STRING RootPathNameU; UNICODE_STRING RootPathNameU;
ANSI_STRING RootPathName; ANSI_STRING RootPathName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&RootPathName, RtlInitAnsiString (&RootPathName,
(LPSTR)lpRootPathName); (LPSTR)lpRootPathName);
@ -214,7 +214,7 @@ GetDiskFreeSpaceA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetDiskFreeSpaceW( GetDiskFreeSpaceW(
LPCWSTR lpRootPathName, LPCWSTR lpRootPathName,
LPDWORD lpSectorsPerCluster, LPDWORD lpSectorsPerCluster,
@ -270,7 +270,7 @@ GetDiskFreeSpaceW(
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetDiskFreeSpaceExA ( GetDiskFreeSpaceExA (
LPCSTR lpDirectoryName, LPCSTR lpDirectoryName,
PULARGE_INTEGER lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpFreeBytesAvailableToCaller,
@ -280,7 +280,7 @@ GetDiskFreeSpaceExA (
{ {
UNICODE_STRING DirectoryNameU; UNICODE_STRING DirectoryNameU;
ANSI_STRING DirectoryName; ANSI_STRING DirectoryName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&DirectoryName, RtlInitAnsiString (&DirectoryName,
(LPSTR)lpDirectoryName); (LPSTR)lpDirectoryName);
@ -320,7 +320,7 @@ GetDiskFreeSpaceExA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetDiskFreeSpaceExW( GetDiskFreeSpaceExW(
LPCWSTR lpDirectoryName, LPCWSTR lpDirectoryName,
PULARGE_INTEGER lpFreeBytesAvailableToCaller, PULARGE_INTEGER lpFreeBytesAvailableToCaller,
@ -453,7 +453,7 @@ GetDriveTypeW(LPCWSTR lpRootPathName)
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetVolumeInformationA( GetVolumeInformationA(
LPCSTR lpRootPathName, LPCSTR lpRootPathName,
LPSTR lpVolumeNameBuffer, LPSTR lpVolumeNameBuffer,
@ -471,7 +471,7 @@ GetVolumeInformationA(
ANSI_STRING RootPathName; ANSI_STRING RootPathName;
ANSI_STRING VolumeName; ANSI_STRING VolumeName;
ANSI_STRING FileSystemName; ANSI_STRING FileSystemName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&RootPathName, RtlInitAnsiString (&RootPathName,
(LPSTR)lpRootPathName); (LPSTR)lpRootPathName);
@ -590,7 +590,7 @@ GetVolumeInformationA(
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
GetVolumeInformationW( GetVolumeInformationW(
LPCWSTR lpRootPathName, LPCWSTR lpRootPathName,
LPWSTR lpVolumeNameBuffer, LPWSTR lpVolumeNameBuffer,
@ -706,7 +706,7 @@ GetVolumeInformationW(
/* /*
* @implemented * @implemented
*/ */
WINBOOL BOOL
STDCALL STDCALL
SetVolumeLabelA ( SetVolumeLabelA (
LPCSTR lpRootPathName, LPCSTR lpRootPathName,
@ -717,7 +717,7 @@ SetVolumeLabelA (
ANSI_STRING RootPathName; ANSI_STRING RootPathName;
UNICODE_STRING VolumeNameU; UNICODE_STRING VolumeNameU;
ANSI_STRING VolumeName; ANSI_STRING VolumeName;
WINBOOL Result; BOOL Result;
RtlInitAnsiString (&RootPathName, RtlInitAnsiString (&RootPathName,
(LPSTR)lpRootPathName); (LPSTR)lpRootPathName);
@ -761,7 +761,7 @@ SetVolumeLabelA (
/* /*
* @implemented * @implemented
*/ */
WINBOOL STDCALL BOOL STDCALL
SetVolumeLabelW(LPCWSTR lpRootPathName, SetVolumeLabelW(LPCWSTR lpRootPathName,
LPCWSTR lpVolumeName) LPCWSTR lpVolumeName)
{ {