mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 01:19:38 +01:00 
			
		
		
		
	* Windows unit has now more Delphi compatibile functions
* placed the external functions only in the interface
This commit is contained in:
		
							parent
							
								
									b4c4d9d1a3
								
							
						
					
					
						commit
						3faa571532
					
				@ -789,7 +789,7 @@ begin
 | 
			
		||||
            DestRect.Right := (CurrX - 01);
 | 
			
		||||
            DestRect.Bottom := (CurrY - 01);
 | 
			
		||||
 | 
			
		||||
            WriteConsoleOutput(OutHandle, Cell, BufSize, WritePos, @DestRect);
 | 
			
		||||
            WriteConsoleOutput(OutHandle, @Cell, BufSize, WritePos, DestRect);
 | 
			
		||||
 | 
			
		||||
            Inc(CurrX);
 | 
			
		||||
          end; { else }
 | 
			
		||||
@ -1007,7 +1007,11 @@ end. { unit Crt }
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.15  2000-04-14 12:14:39  pierre
 | 
			
		||||
  Revision 1.16  2000-06-11 07:04:58  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.15  2000/04/14 12:14:39  pierre
 | 
			
		||||
   * try to get it to work if output is redirected
 | 
			
		||||
 | 
			
		||||
  Revision 1.14  2000/02/26 14:57:17  florian
 | 
			
		||||
@ -1025,4 +1029,4 @@ end. { unit Crt }
 | 
			
		||||
 | 
			
		||||
  Revision 1.10  1999/08/24 13:15:44  peter
 | 
			
		||||
    * Removeline fixed
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -13,24 +13,17 @@
 | 
			
		||||
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
unit windows;
 | 
			
		||||
 | 
			
		||||
{$define windows_include_files}
 | 
			
		||||
 | 
			
		||||
  interface
 | 
			
		||||
interface
 | 
			
		||||
 | 
			
		||||
{$define read_interface}
 | 
			
		||||
{$undef read_implementation}
 | 
			
		||||
 | 
			
		||||
{$message starting interface of windows unit }
 | 
			
		||||
 | 
			
		||||
{$i base.inc}
 | 
			
		||||
{$i errors.inc}
 | 
			
		||||
{$i defines.inc}
 | 
			
		||||
{$i messages.inc}
 | 
			
		||||
{$i struct.inc}
 | 
			
		||||
{$i redef.inc}
 | 
			
		||||
{$i ascfun.inc}
 | 
			
		||||
{$i unifun.inc}
 | 
			
		||||
{$ifdef UNICODE}
 | 
			
		||||
@ -39,8 +32,9 @@ unit windows;
 | 
			
		||||
{$i ascdef.inc}
 | 
			
		||||
{$endif UNICODE}
 | 
			
		||||
{$i func.inc}
 | 
			
		||||
{$i redef.inc}
 | 
			
		||||
 | 
			
		||||
  implementation
 | 
			
		||||
implementation
 | 
			
		||||
 | 
			
		||||
{$undef read_interface}
 | 
			
		||||
{$define read_implementation}
 | 
			
		||||
@ -58,31 +52,16 @@ unit windows;
 | 
			
		||||
{$i ascdef.inc}
 | 
			
		||||
{$endif UNICODE}
 | 
			
		||||
{$i func.inc}
 | 
			
		||||
 | 
			
		||||
  procedure InitializeCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'InitializeCriticalSection';
 | 
			
		||||
  procedure EnterCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'EnterCriticalSection';
 | 
			
		||||
  procedure LeaveCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'LeaveCriticalSection';
 | 
			
		||||
  procedure DeleteCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'DeleteCriticalSection';
 | 
			
		||||
 | 
			
		||||
{MvdV: JCL templates}
 | 
			
		||||
function GetTimeZoneInformation(var TimeZoneInformation:TTimeZoneInformation):DWORD;  external 'kernel32' name 'GetTimeZoneInformation';
 | 
			
		||||
function FileTimeToLocalFileTime(const lpFileTime:TFILETIME; var LocalFileTime :TFILETIME):WINBOOL; external 'kernel32' name 'FileTimeToLocalFileTime';
 | 
			
		||||
function FileTimeToSystemTime(const lpFileTime:TFILETIME; var lpSystemTime:TSYSTEMTIME):WINBOOL; external 'kernel32' name 'FileTimeToSystemTime';
 | 
			
		||||
function DosDateTimeToFileTime(wFatDate:WORD; wFatTime:WORD; var lpFileTime:tFILETIME):WINBOOL; external 'kernel32' name 'DosDateTimeToFileTime';
 | 
			
		||||
function SystemTimeToFileTime(const lSystemTime:tSYSTEMTIME;var FileTime:tFILETIME):WINBOOL;external 'kernel32' name 'SystemTimeToFileTime';
 | 
			
		||||
function GetStringTypeExA(Locale:LCID; dwInfoType:DWORD; lpSrcStr:LPCSTR;cchSrc:longint;var CharType:WORD):WINBOOL; external 'kernel32' name 'GetStringTypeExA';
 | 
			
		||||
 | 
			
		||||
{MvdV: Lazarus mwedit templates}
 | 
			
		||||
function ExtTextOut(_para1:HDC; _para2:longint; _para3:longint; _para4:UINT; _para5:pRECT;
 | 
			
		||||
             _para6:lpcstr; _para7:UINT; _para8:pointer):WINBOOL; external 'gdi32' name 'ExtTextOutA';
 | 
			
		||||
function SetScrollInfo(_para1:HWND; _para2:longint; const _para3:TSCROLLINFO; _para4:WINBOOL):longint; external 'user32' name 'SetScrollInfo';
 | 
			
		||||
// function PtInRect(var lprc:TRECT; pt:TPOINT):WINBOOL; external 'user32' name 'PtInRect';
 | 
			
		||||
 | 
			
		||||
{$i redef.inc}
 | 
			
		||||
 | 
			
		||||
end.
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.11  2000-05-17 11:00:29  marco
 | 
			
		||||
  Revision 1.12  2000-06-11 07:04:58  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.11  2000/05/17 11:00:29  marco
 | 
			
		||||
   * JCL alias
 | 
			
		||||
 | 
			
		||||
  Revision 1.10  2000/04/22 19:51:08  marco
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -14,61 +14,44 @@
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
{$define read_interface}
 | 
			
		||||
{$define read_implementation}
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  Base.h
 | 
			
		||||
 | 
			
		||||
  Base definitions
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  Copyright (C) 1996, 1997 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
unit base;
 | 
			
		||||
interface
 | 
			
		||||
  Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
  This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
  This library is free software; you can redistribute it and/or
 | 
			
		||||
  modify it under the terms of the GNU Library General Public
 | 
			
		||||
  License as published by the Free Software Foundation; either
 | 
			
		||||
  version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
  This library is distributed in the hope that it will be useful,
 | 
			
		||||
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
  Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
  If you are interested in a warranty or support for this source code,
 | 
			
		||||
  contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
  You should have received a copy of the GNU Library General Public
 | 
			
		||||
  License along with this library; see the file COPYING.LIB.
 | 
			
		||||
  If not, write to the Free Software Foundation,
 | 
			
		||||
  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_interface}
 | 
			
		||||
 | 
			
		||||
  { C default packing is dword }
 | 
			
		||||
{$PACKRECORDS C}
 | 
			
		||||
 | 
			
		||||
{$PACKRECORDS 4}
 | 
			
		||||
  {
 | 
			
		||||
     Base.h
 | 
			
		||||
 | 
			
		||||
     Base definitions
 | 
			
		||||
 | 
			
		||||
     Copyright (C) 1996, 1997 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
     Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
     This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
     This library is free software; you can redistribute it and/or
 | 
			
		||||
     modify it under the terms of the GNU Library General Public
 | 
			
		||||
     License as published by the Free Software Foundation; either
 | 
			
		||||
     version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
     This library is distributed in the hope that it will be useful,
 | 
			
		||||
     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
     Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
     If you are interested in a warranty or support for this source code,
 | 
			
		||||
     contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
     You should have received a copy of the GNU Library General Public
 | 
			
		||||
     License along with this library; see the file COPYING.LIB.
 | 
			
		||||
     If not, write to the Free Software Foundation,
 | 
			
		||||
     59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
{$ifndef VER0_99_10}
 | 
			
		||||
  const
 | 
			
		||||
     NULL = nil;
 | 
			
		||||
{$endif}
 | 
			
		||||
 | 
			
		||||
  type
 | 
			
		||||
 | 
			
		||||
     ATOM = word;
 | 
			
		||||
 | 
			
		||||
     WINBOOL = longbool;
 | 
			
		||||
@ -88,6 +71,8 @@ interface
 | 
			
		||||
     LONG  = longint;
 | 
			
		||||
     DWORD = cardinal;
 | 
			
		||||
 | 
			
		||||
     PINTEGER = ^longint;
 | 
			
		||||
 | 
			
		||||
     LONGLONG  = double;
 | 
			
		||||
     PLONGLONG = ^LONGLONG;
 | 
			
		||||
 | 
			
		||||
@ -698,10 +683,6 @@ type
 | 
			
		||||
{$endif read_interface}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  implementation
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_implementation}
 | 
			
		||||
 | 
			
		||||
  { was #define dname(params) def_expr }
 | 
			
		||||
@ -957,14 +938,13 @@ type
 | 
			
		||||
 | 
			
		||||
{$endif read_implementation}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
end.
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.6  2000-03-20 11:42:46  pierre
 | 
			
		||||
  Revision 1.7  2000-06-11 07:04:58  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.6  2000/03/20 11:42:46  pierre
 | 
			
		||||
   + WINT = longint to avoid errors
 | 
			
		||||
 | 
			
		||||
  Revision 1.5  2000/02/09 16:59:35  peter
 | 
			
		||||
@ -982,4 +962,4 @@ end.
 | 
			
		||||
  Revision 1.1  1999/09/16 13:38:22  peter
 | 
			
		||||
    * windows unit include moved to wininc/
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -14,61 +14,39 @@
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
{$define read_interface}
 | 
			
		||||
{$define read_implementation}
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  Defines.h
 | 
			
		||||
 | 
			
		||||
  Windows32 API definitions
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  Copyright (C) 1996, 1997 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
unit defines;
 | 
			
		||||
  Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
{  Automatically converted by H2PAS.EXE from defines.h
 | 
			
		||||
   Utility made by Florian Klaempfl 25th-28th september 96
 | 
			
		||||
   Improvements made by Mark A. Malakanov 22nd-25th may 97
 | 
			
		||||
   Further improvements by Michael Van Canneyt, April 1998
 | 
			
		||||
   define handling and error recovery by Pierre Muller, June 1998 }
 | 
			
		||||
  This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
  This library is free software; you can redistribute it and/or
 | 
			
		||||
  modify it under the terms of the GNU Library General Public
 | 
			
		||||
  License as published by the Free Software Foundation; either
 | 
			
		||||
  version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
  interface
 | 
			
		||||
  This library is distributed in the hope that it will be useful,
 | 
			
		||||
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
  Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
  { C default packing is dword }
 | 
			
		||||
  If you are interested in a warranty or support for this source code,
 | 
			
		||||
  contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
{$PACKRECORDS 4}
 | 
			
		||||
  {
 | 
			
		||||
     Defines.h
 | 
			
		||||
 | 
			
		||||
     Windows32 API definitions
 | 
			
		||||
 | 
			
		||||
     Copyright (C) 1996, 1997 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
     Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
     This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
     This library is free software; you can redistribute it and/or
 | 
			
		||||
     modify it under the terms of the GNU Library General Public
 | 
			
		||||
     License as published by the Free Software Foundation; either
 | 
			
		||||
     version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
     This library is distributed in the hope that it will be useful,
 | 
			
		||||
     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
     Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
     If you are interested in a warranty or support for this source code,
 | 
			
		||||
     contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
     License along with this library; see the file COPYING.LIB.
 | 
			
		||||
     If not, write to the Free Software Foundation,
 | 
			
		||||
     59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
  License along with this library; see the file COPYING.LIB.
 | 
			
		||||
  If not, write to the Free Software Foundation,
 | 
			
		||||
  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_interface}
 | 
			
		||||
 | 
			
		||||
{$PACKRECORDS C}
 | 
			
		||||
 | 
			
		||||
  { was #define dname def_expr }
 | 
			
		||||
  function UNICODE_NULL : WCHAR;
 | 
			
		||||
 | 
			
		||||
@ -5118,7 +5096,7 @@ unit defines;
 | 
			
		||||
  { Severity values }
 | 
			
		||||
    SEVERITY_SUCCESS = 0;
 | 
			
		||||
    SEVERITY_ERROR = 1;
 | 
			
		||||
          
 | 
			
		||||
 | 
			
		||||
 { Variant type codes (wtypes.h).
 | 
			
		||||
    Some, not all though }
 | 
			
		||||
    VT_EMPTY           = 0;
 | 
			
		||||
@ -5153,21 +5131,6 @@ const
 | 
			
		||||
{$endif read_interface}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  implementation
 | 
			
		||||
 | 
			
		||||
    uses
 | 
			
		||||
{$ifdef UNICODE}
 | 
			
		||||
      unidef,
 | 
			
		||||
{$else not UNICODE}
 | 
			
		||||
      ascdef,
 | 
			
		||||
{$endif UNICODE}
 | 
			
		||||
      func;
 | 
			
		||||
 | 
			
		||||
    const External_library='kernel32'; {Setup as you need!}
 | 
			
		||||
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_implementation}
 | 
			
		||||
    { was #define dname def_expr }
 | 
			
		||||
    function UNICODE_NULL : WCHAR;
 | 
			
		||||
@ -5750,12 +5713,13 @@ const
 | 
			
		||||
 | 
			
		||||
{$endif read_implementation}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
end.
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.5  2000-03-14 10:20:19  michael
 | 
			
		||||
  Revision 1.6  2000-06-11 07:04:58  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.5  2000/03/14 10:20:19  michael
 | 
			
		||||
  + Added constants and types for Delphi compatibility
 | 
			
		||||
 | 
			
		||||
  Revision 1.4  2000/02/09 16:59:35  peter
 | 
			
		||||
@ -5770,4 +5734,4 @@ end.
 | 
			
		||||
  Revision 1.1  1999/09/16 13:38:22  peter
 | 
			
		||||
    * windows unit include moved to wininc/
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -14,76 +14,47 @@
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
{$define read_interface}
 | 
			
		||||
{$define read_implementation}
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
  Errors.h
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
 | 
			
		||||
unit errors;
 | 
			
		||||
 | 
			
		||||
{  Automatically converted by H2PAS.EXE from errors.h
 | 
			
		||||
   Utility made by Florian Klaempfl 25th-28th september 96
 | 
			
		||||
   Improvements made by Mark A. Malakanov 22nd-25th may 97
 | 
			
		||||
 | 
			
		||||
   Further improvements by Michael Van Canneyt, April 1998
 | 
			
		||||
 | 
			
		||||
   define handling and error recovery by Pierre Muller, June 1998 }
 | 
			
		||||
  Windows32 API error codes
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  interface
 | 
			
		||||
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
 | 
			
		||||
  { C default packing is dword }
 | 
			
		||||
 | 
			
		||||
{$PACKRECORDS 4}
 | 
			
		||||
  {
 | 
			
		||||
 | 
			
		||||
     Errors.h
 | 
			
		||||
  Copyright (C) 1996 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     Windows32 API error codes
 | 
			
		||||
  Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     Copyright (C) 1996 Free Software Foundation, Inc.
 | 
			
		||||
  This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
  This library is free software; you can redistribute it and/or
 | 
			
		||||
  modify it under the terms of the GNU Library General Public
 | 
			
		||||
  License as published by the Free Software Foundation; either
 | 
			
		||||
  version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     This file is part of the Windows32 API Library.
 | 
			
		||||
  This library is distributed in the hope that it will be useful,
 | 
			
		||||
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
  Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     This library is free software; you can redistribute it and/or
 | 
			
		||||
     modify it under the terms of the GNU Library General Public
 | 
			
		||||
     License as published by the Free Software Foundation; either
 | 
			
		||||
     version 2 of the License, or (at your option) any later version.
 | 
			
		||||
  If you are interested in a warranty or support for this source code,
 | 
			
		||||
  contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     This library is distributed in the hope that it will be useful,
 | 
			
		||||
     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
     Library General Public License for more details.
 | 
			
		||||
  You should have received a copy of the GNU Library General Public
 | 
			
		||||
  License along with this library; see the file COPYING.LIB.
 | 
			
		||||
  If not, write to the Free Software Foundation,
 | 
			
		||||
 | 
			
		||||
  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
     If you are interested in a warranty or support for this source code,
 | 
			
		||||
     contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     You should have received a copy of the GNU Library General Public
 | 
			
		||||
     License along with this library; see the file COPYING.LIB.
 | 
			
		||||
     If not, write to the Free Software Foundation,
 | 
			
		||||
 | 
			
		||||
     59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
   }
 | 
			
		||||
{$ifndef _GNU_H_WINDOWS32_ERROR}
 | 
			
		||||
{$define _GNU_H_WINDOWS32_ERROR}
 | 
			
		||||
{ C++ extern C conditionnal removed }
 | 
			
		||||
  { __cplusplus  }
 | 
			
		||||
  { Numerical order  }
 | 
			
		||||
{$ifdef read_interface}
 | 
			
		||||
 | 
			
		||||
  const
 | 
			
		||||
     LZERROR_UNKNOWNALG = -(8);
 | 
			
		||||
@ -754,23 +725,16 @@ unit errors;
 | 
			
		||||
     ERROR_REC_NON_EXISTENT = 4005;
 | 
			
		||||
     ERROR_RPL_NOT_ALLOWED = 4006;
 | 
			
		||||
     {ERROR_NO_BROWSER_SERVERS_FOUND = 6118; already above }
 | 
			
		||||
{ C++ end of extern C conditionnal removed }
 | 
			
		||||
  { __cplusplus  }
 | 
			
		||||
{$endif}
 | 
			
		||||
  { _GNU_H_WINDOWS32_ERROR  }
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  implementation
 | 
			
		||||
{$endif read_interface}
 | 
			
		||||
 | 
			
		||||
{ const External_library='kernel32'; not needed }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
end.
 | 
			
		||||
 | 
			
		||||
{$endif windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.4  2000-02-09 16:59:35  peter
 | 
			
		||||
  Revision 1.5  2000-06-11 07:04:59  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.4  2000/02/09 16:59:35  peter
 | 
			
		||||
    * truncated log
 | 
			
		||||
 | 
			
		||||
  Revision 1.3  2000/01/07 16:41:55  daniel
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@ -13,111 +13,67 @@
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
{$define read_interface}
 | 
			
		||||
{$define read_implementation}
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  Messages.h    Windows32 API message definitions
 | 
			
		||||
  Copyright (C) 1996 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
  Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
  This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
 | 
			
		||||
unit messages;
 | 
			
		||||
 | 
			
		||||
{  Automatically converted by H2PAS.EXE from messages.h
 | 
			
		||||
   Utility made by Florian Klaempfl 25th-28th september 96
 | 
			
		||||
   Improvements made by Mark A. Malakanov 22nd-25th may 97
 | 
			
		||||
 | 
			
		||||
   Further improvements by Michael Van Canneyt, April 1998
 | 
			
		||||
 | 
			
		||||
   define handling and error recovery by Pierre Muller, June 1998 }
 | 
			
		||||
  This library is free software; you can redistribute it and/or
 | 
			
		||||
  modify it under the terms of the GNU Library General Public
 | 
			
		||||
  License as published by the Free Software Foundation; either
 | 
			
		||||
  version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  interface
 | 
			
		||||
  This library is distributed in the hope that it will be useful,
 | 
			
		||||
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
  Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
 | 
			
		||||
  If you are interested in a warranty or support for this source code,
 | 
			
		||||
  contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  You should have received a copy of the GNU Library General Public
 | 
			
		||||
  License along with this library; see the file COPYING.LIB.
 | 
			
		||||
  If not, write to the Free Software Foundation,
 | 
			
		||||
 | 
			
		||||
  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_interface}
 | 
			
		||||
 | 
			
		||||
  { C default packing is dword }
 | 
			
		||||
    const
 | 
			
		||||
       ACM_OPENW = 1127;
 | 
			
		||||
       ACM_OPENA = 1124;
 | 
			
		||||
  {$ifdef UNICODE}
 | 
			
		||||
    const
 | 
			
		||||
       ACM_OPEN = ACM_OPENW;
 | 
			
		||||
  {$else}
 | 
			
		||||
    const
 | 
			
		||||
       ACM_OPEN = ACM_OPENA;
 | 
			
		||||
  {$endif}
 | 
			
		||||
    { UNICODE  }
 | 
			
		||||
 | 
			
		||||
{$PACKRECORDS 4}
 | 
			
		||||
  {
 | 
			
		||||
 | 
			
		||||
     Messages.h
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     Windows32 API message definitions
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     Copyright (C) 1996 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     Author: Scott Christley <scottc@net-community.com>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     This library is free software; you can redistribute it and/or
 | 
			
		||||
     modify it under the terms of the GNU Library General Public
 | 
			
		||||
     License as published by the Free Software Foundation; either
 | 
			
		||||
     version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     This library is distributed in the hope that it will be useful,
 | 
			
		||||
     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
     Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     If you are interested in a warranty or support for this source code,
 | 
			
		||||
     contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     You should have received a copy of the GNU Library General Public
 | 
			
		||||
     License along with this library; see the file COPYING.LIB.
 | 
			
		||||
     If not, write to the Free Software Foundation,
 | 
			
		||||
 | 
			
		||||
     59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
   }
 | 
			
		||||
  { WARNING:  This file is automatically generated.  }
 | 
			
		||||
{$ifndef _GNU_H_WINDOWS32_MESSAGES}
 | 
			
		||||
{$define _GNU_H_WINDOWS32_MESSAGES}
 | 
			
		||||
{ C++ extern C conditionnal removed }
 | 
			
		||||
  { __cplusplus  }
 | 
			
		||||
  { Application bar  }
 | 
			
		||||
  { Application bar notifications  }
 | 
			
		||||
  { Animation Control  }
 | 
			
		||||
 | 
			
		||||
  const
 | 
			
		||||
     ACM_OPENW = 1127;
 | 
			
		||||
     ACM_OPENA = 1124;
 | 
			
		||||
{$ifdef UNICODE}
 | 
			
		||||
 | 
			
		||||
  const
 | 
			
		||||
     ACM_OPEN = ACM_OPENW;
 | 
			
		||||
{$else}
 | 
			
		||||
 | 
			
		||||
  const
 | 
			
		||||
     ACM_OPEN = ACM_OPENA;
 | 
			
		||||
{$endif}
 | 
			
		||||
  { UNICODE  }
 | 
			
		||||
 | 
			
		||||
  const
 | 
			
		||||
     ACM_PLAY = 1125;
 | 
			
		||||
     ACM_STOP = 1126;
 | 
			
		||||
     ACN_START = 1;
 | 
			
		||||
     ACN_STOP = 2;
 | 
			
		||||
  { Buttons  }
 | 
			
		||||
     BM_CLICK = 245;
 | 
			
		||||
     BM_GETCHECK = 240;
 | 
			
		||||
     BM_GETIMAGE = 246;
 | 
			
		||||
     BM_GETSTATE = 242;
 | 
			
		||||
     BM_SETCHECK = 241;
 | 
			
		||||
     BM_SETIMAGE = 247;
 | 
			
		||||
     BM_SETSTATE = 243;
 | 
			
		||||
     BM_SETSTYLE = 244;
 | 
			
		||||
     BN_CLICKED = 0;
 | 
			
		||||
    const
 | 
			
		||||
       ACM_PLAY = 1125;
 | 
			
		||||
       ACM_STOP = 1126;
 | 
			
		||||
       ACN_START = 1;
 | 
			
		||||
       ACN_STOP = 2;
 | 
			
		||||
    { Buttons  }
 | 
			
		||||
       BM_CLICK = 245;
 | 
			
		||||
       BM_GETCHECK = 240;
 | 
			
		||||
       BM_GETIMAGE = 246;
 | 
			
		||||
       BM_GETSTATE = 242;
 | 
			
		||||
       BM_SETCHECK = 241;
 | 
			
		||||
       BM_SETIMAGE = 247;
 | 
			
		||||
       BM_SETSTATE = 243;
 | 
			
		||||
       BM_SETSTYLE = 244;
 | 
			
		||||
       BN_CLICKED = 0;
 | 
			
		||||
     BN_DBLCLK = 5;
 | 
			
		||||
     BN_DISABLE = 4;
 | 
			
		||||
     BN_DOUBLECLICKED = 5;
 | 
			
		||||
@ -1192,34 +1148,13 @@ unit messages;
 | 
			
		||||
     WM_KEYLAST = 264;
 | 
			
		||||
     WM_MOUSEFIRST = 512;
 | 
			
		||||
     WM_MOUSELAST = 521;
 | 
			
		||||
{ C++ end of extern C conditionnal removed }
 | 
			
		||||
  { __cplusplus  }
 | 
			
		||||
{$endif}
 | 
			
		||||
  { _GNU_H_WINDOWS32_MESSAGES  }
 | 
			
		||||
 | 
			
		||||
{$endif read_interface}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  implementation
 | 
			
		||||
 | 
			
		||||
{ const External_library='kernel32'; not needed }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
end.
 | 
			
		||||
 | 
			
		||||
{$endif windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.4  2000-02-09 16:59:36  peter
 | 
			
		||||
    * truncated log
 | 
			
		||||
 | 
			
		||||
  Revision 1.3  2000/01/07 16:41:56  daniel
 | 
			
		||||
    * copyright 2000
 | 
			
		||||
 | 
			
		||||
  Revision 1.2  2000/01/07 16:32:36  daniel
 | 
			
		||||
    * copyright 2000 added
 | 
			
		||||
 | 
			
		||||
  Revision 1.1  1999/09/16 13:38:23  peter
 | 
			
		||||
    * windows unit include moved to wininc/
 | 
			
		||||
  Revision 1.5  2000-06-11 07:04:59  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -13,117 +13,817 @@
 | 
			
		||||
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_interface}
 | 
			
		||||
 | 
			
		||||
type
 | 
			
		||||
   TRTLCriticalSection = CRITICAL_SECTION;
 | 
			
		||||
   PRTLCriticalSection = PCRITICAL_SECTION;
 | 
			
		||||
  TRTLCriticalSection = CRITICAL_SECTION;
 | 
			
		||||
  PRTLCriticalSection = PCRITICAL_SECTION;
 | 
			
		||||
 | 
			
		||||
   PIID = PGUID;
 | 
			
		||||
   TIID = TGUID;
 | 
			
		||||
   THANDLE = HANDLE;
 | 
			
		||||
  PIID = PGUID;
 | 
			
		||||
  TIID = TGUID;
 | 
			
		||||
  THANDLE = HANDLE;
 | 
			
		||||
 | 
			
		||||
   PSmallRect = ^TSmallRect;
 | 
			
		||||
   TSmallRect = SMALL_RECT;
 | 
			
		||||
  PSmallRect = ^TSmallRect;
 | 
			
		||||
  TSmallRect = SMALL_RECT;
 | 
			
		||||
 | 
			
		||||
   PCharInfo = ^TCharInfo;
 | 
			
		||||
   TCharInfo = _CHAR_INFO;
 | 
			
		||||
  PCharInfo = ^TCharInfo;
 | 
			
		||||
  TCharInfo = _CHAR_INFO;
 | 
			
		||||
 | 
			
		||||
   TFarProc = FARPROC;
 | 
			
		||||
  TFarProc = FARPROC;
 | 
			
		||||
  TFNDlgProc = FARPROC;
 | 
			
		||||
  TFNThreadStartRoutine = FARPROC;
 | 
			
		||||
 | 
			
		||||
  procedure InitializeCriticalSection(var CriticalSection : TRTLCriticalSection);
 | 
			
		||||
  procedure EnterCriticalSection(var CriticalSection : TRTLCriticalSection);
 | 
			
		||||
  procedure LeaveCriticalSection(var CriticalSection : TRTLCriticalSection);
 | 
			
		||||
  procedure DeleteCriticalSection(var CriticalSection : TRTLCriticalSection);
 | 
			
		||||
  PObjectTypeList = ^TObjectTypeList;
 | 
			
		||||
  _OBJECT_TYPE_LIST = record
 | 
			
		||||
     Level: WORD;
 | 
			
		||||
     Sbz: WORD;
 | 
			
		||||
     ObjectType: PGUID;
 | 
			
		||||
  end;
 | 
			
		||||
  TObjectTypeList = _OBJECT_TYPE_LIST;
 | 
			
		||||
  OBJECT_TYPE_LIST = _OBJECT_TYPE_LIST;
 | 
			
		||||
 | 
			
		||||
  AUDIT_EVENT_TYPE = DWORD;
 | 
			
		||||
 | 
			
		||||
  PBlendFunction = ^TBlendFunction;
 | 
			
		||||
  _BLENDFUNCTION = packed record
 | 
			
		||||
    BlendOp: BYTE;
 | 
			
		||||
    BlendFlags: BYTE;
 | 
			
		||||
    SourceConstantAlpha: BYTE;
 | 
			
		||||
    AlphaFormat: BYTE;
 | 
			
		||||
  end;
 | 
			
		||||
  TBlendFunction = _BLENDFUNCTION;
 | 
			
		||||
  BLENDFUNCTION = _BLENDFUNCTION;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  const
 | 
			
		||||
   { Openfile Share modes normally declared in sysutils }
 | 
			
		||||
   fmShareCompat    = $00000000;
 | 
			
		||||
   fmShareExclusive = $10;
 | 
			
		||||
   fmShareDenyWrite = $20;
 | 
			
		||||
   fmShareDenyRead  = $30;
 | 
			
		||||
   fmShareDenyNone  = $40;
 | 
			
		||||
const
 | 
			
		||||
  { dll names }
 | 
			
		||||
  advapi32 = 'advapi32.dll';
 | 
			
		||||
  kernel32 = 'kernel32.dll';
 | 
			
		||||
  mpr = 'mpr.dll';
 | 
			
		||||
  version = 'version.dll';
 | 
			
		||||
  comctl32 = 'comctl32.dll';
 | 
			
		||||
  gdi32 = 'gdi32.dll';
 | 
			
		||||
  opengl32 = 'opengl32.dll';
 | 
			
		||||
  user32 = 'user32.dll';
 | 
			
		||||
  wintrust = 'wintrust.dll';
 | 
			
		||||
 | 
			
		||||
     { HRESULT codes, delphilike }
 | 
			
		||||
     S_OK    = $00000000;
 | 
			
		||||
     S_FALSE = $00000001;
 | 
			
		||||
     NOERROR = 0;
 | 
			
		||||
     E_UNEXPECTED = DWORD($8000FFFF);
 | 
			
		||||
     E_NOTIMPL = DWORD($80004001);
 | 
			
		||||
     E_OUTOFMEMORY = DWORD($8007000E);
 | 
			
		||||
     E_INVALIDARG = DWORD($80070057);
 | 
			
		||||
     E_NOINTERFACE = DWORD($80004002);
 | 
			
		||||
     E_POINTER = DWORD($80004003);
 | 
			
		||||
     E_HANDLE = DWORD($80070006);
 | 
			
		||||
     E_ABORT = DWORD($80004004);
 | 
			
		||||
     E_FAIL = DWORD($80004005);
 | 
			
		||||
     E_ACCESSDENIED = DWORD($80070005);
 | 
			
		||||
     E_PENDING = DWORD($8000000A);
 | 
			
		||||
     CO_E_INIT_TLS = DWORD($80004006);
 | 
			
		||||
  { Openfile Share modes normally declared in sysutils }
 | 
			
		||||
  fmShareCompat    = $00000000;
 | 
			
		||||
  fmShareExclusive = $10;
 | 
			
		||||
  fmShareDenyWrite = $20;
 | 
			
		||||
  fmShareDenyRead  = $30;
 | 
			
		||||
  fmShareDenyNone  = $40;
 | 
			
		||||
 | 
			
		||||
     CO_E_INIT_MEMORY_ALLOCATOR = DWORD($80004008);
 | 
			
		||||
     CO_E_INIT_CLASS_CACHE = DWORD($80004009);
 | 
			
		||||
     CO_E_INIT_RPC_CHANNEL = DWORD($8000400A);
 | 
			
		||||
     CO_E_INIT_TLS_SET_CHANNEL_CONTROL = DWORD($8000400B);
 | 
			
		||||
     CO_E_INIT_TLS_CHANNEL_CONTROL = DWORD($8000400C);
 | 
			
		||||
     CO_E_INIT_UNACCEPTED_USER_ALLOCATOR = DWORD($8000400D);
 | 
			
		||||
     CO_E_INIT_SCM_MUTEX_EXISTS = DWORD($8000400E);
 | 
			
		||||
     CO_E_INIT_SCM_FILE_MAPPING_EXISTS = DWORD($8000400F);
 | 
			
		||||
     CO_E_INIT_SCM_MAP_VIEW_OF_FILE = DWORD($80004010);
 | 
			
		||||
     CO_E_INIT_SCM_EXEC_FAILURE = DWORD($80004011);
 | 
			
		||||
     CO_E_INIT_ONLY_SINGLE_THREADED = DWORD($80004012);
 | 
			
		||||
     CO_E_CANT_REMOTE = DWORD($80004013);
 | 
			
		||||
     CO_E_BAD_SERVER_NAME = DWORD($80004014);
 | 
			
		||||
     CO_E_WRONG_SERVER_IDENTITY = DWORD($80004015);
 | 
			
		||||
     CO_E_OLE1DDE_DISABLED = DWORD($80004016);
 | 
			
		||||
     CO_E_RUNAS_SYNTAX = DWORD($80004017);
 | 
			
		||||
     CO_E_CREATEPROCESS_FAILURE = DWORD($80004018);
 | 
			
		||||
     CO_E_RUNAS_CREATEPROCESS_FAILURE = DWORD($80004019);
 | 
			
		||||
     CO_E_RUNAS_LOGON_FAILURE = DWORD($8000401A);
 | 
			
		||||
     CO_E_LAUNCH_PERMSSION_DENIED = DWORD($8000401B);
 | 
			
		||||
     CO_E_START_SERVICE_FAILURE = DWORD($8000401C);
 | 
			
		||||
     CO_E_REMOTE_COMMUNICATION_FAILURE = DWORD($8000401D);
 | 
			
		||||
     CO_E_SERVER_START_TIMEOUT = DWORD($8000401E);
 | 
			
		||||
     CO_E_CLSREG_INCONSISTENT = DWORD($8000401F);
 | 
			
		||||
     CO_E_IIDREG_INCONSISTENT = DWORD($80004020);
 | 
			
		||||
     CO_E_NOT_SUPPORTED = DWORD($80004021);
 | 
			
		||||
     CO_E_FIRST = DWORD($800401F0);
 | 
			
		||||
     CO_E_LAST  = DWORD($800401FF);
 | 
			
		||||
     CO_S_FIRST = $401F0;
 | 
			
		||||
     CO_E_NOTINITIALIZED = DWORD($800401F0);
 | 
			
		||||
     CO_E_ALREADYINITIALIZED = DWORD($800401F1);
 | 
			
		||||
     CO_E_CANTDETERMINECLASS = DWORD($800401F2);
 | 
			
		||||
     CO_E_CLASSSTRING = DWORD($800401F3);
 | 
			
		||||
     CO_E_IIDSTRING = DWORD($800401F4);
 | 
			
		||||
     CO_E_APPNOTFOUND = DWORD($800401F5);
 | 
			
		||||
     CO_E_APPSINGLEUSE = DWORD($800401F6);
 | 
			
		||||
     CO_E_ERRORINAPP = DWORD($800401F7);
 | 
			
		||||
     CO_E_DLLNOTFOUND = DWORD($800401F8);
 | 
			
		||||
     CO_E_ERRORINDLL = DWORD($800401F9);
 | 
			
		||||
     CO_E_WRONGOSFORAPP = DWORD($800401FA);
 | 
			
		||||
     CO_E_OBJNOTREG = DWORD($800401FB);
 | 
			
		||||
     CO_E_OBJISREG = DWORD($800401FC);
 | 
			
		||||
     CO_E_OBJNOTCONNECTED = DWORD($800401FD);
 | 
			
		||||
     CO_E_APPDIDNTREG = DWORD($800401FE);
 | 
			
		||||
     CO_E_RELEASED = DWORD($800401FF);
 | 
			
		||||
  { HRESULT codes, delphilike }
 | 
			
		||||
  S_OK    = $00000000;
 | 
			
		||||
  S_FALSE = $00000001;
 | 
			
		||||
  NOERROR = 0;
 | 
			
		||||
  E_UNEXPECTED = DWORD($8000FFFF);
 | 
			
		||||
  E_NOTIMPL = DWORD($80004001);
 | 
			
		||||
  E_OUTOFMEMORY = DWORD($8007000E);
 | 
			
		||||
  E_INVALIDARG = DWORD($80070057);
 | 
			
		||||
  E_NOINTERFACE = DWORD($80004002);
 | 
			
		||||
  E_POINTER = DWORD($80004003);
 | 
			
		||||
  E_HANDLE = DWORD($80070006);
 | 
			
		||||
  E_ABORT = DWORD($80004004);
 | 
			
		||||
  E_FAIL = DWORD($80004005);
 | 
			
		||||
  E_ACCESSDENIED = DWORD($80070005);
 | 
			
		||||
  E_PENDING = DWORD($8000000A);
 | 
			
		||||
  CO_E_INIT_TLS = DWORD($80004006);
 | 
			
		||||
 | 
			
		||||
{MvdV: JCL templates}
 | 
			
		||||
function GetTimeZoneInformation(var TimeZoneInformation:TTimeZoneInformation):DWORD;
 | 
			
		||||
function FileTimeToLocalFileTime(const lpFileTime:TFILETIME; var LocalFileTime :TFILETIME):WINBOOL;
 | 
			
		||||
function FileTimeToSystemTime(const lpFileTime:TFILETIME; var lpSystemTime:TSYSTEMTIME):WINBOOL;
 | 
			
		||||
function DosDateTimeToFileTime(wFatDate:WORD; wFatTime:WORD; var lpFileTime:tFILETIME):WINBOOL;
 | 
			
		||||
function SystemTimeToFileTime(const lSystemTime:tSYSTEMTIME; var FileTime:TFILETIME):WINBOOL;
 | 
			
		||||
function GetStringTypeExA(Locale:LCID; dwInfoType:DWORD; lpSrcStr:LPCSTR;cchSrc:longint;var CharType:WORD):WINBOOL;
 | 
			
		||||
  CO_E_INIT_MEMORY_ALLOCATOR = DWORD($80004008);
 | 
			
		||||
  CO_E_INIT_CLASS_CACHE = DWORD($80004009);
 | 
			
		||||
  CO_E_INIT_RPC_CHANNEL = DWORD($8000400A);
 | 
			
		||||
  CO_E_INIT_TLS_SET_CHANNEL_CONTROL = DWORD($8000400B);
 | 
			
		||||
  CO_E_INIT_TLS_CHANNEL_CONTROL = DWORD($8000400C);
 | 
			
		||||
  CO_E_INIT_UNACCEPTED_USER_ALLOCATOR = DWORD($8000400D);
 | 
			
		||||
  CO_E_INIT_SCM_MUTEX_EXISTS = DWORD($8000400E);
 | 
			
		||||
  CO_E_INIT_SCM_FILE_MAPPING_EXISTS = DWORD($8000400F);
 | 
			
		||||
  CO_E_INIT_SCM_MAP_VIEW_OF_FILE = DWORD($80004010);
 | 
			
		||||
  CO_E_INIT_SCM_EXEC_FAILURE = DWORD($80004011);
 | 
			
		||||
  CO_E_INIT_ONLY_SINGLE_THREADED = DWORD($80004012);
 | 
			
		||||
  CO_E_CANT_REMOTE = DWORD($80004013);
 | 
			
		||||
  CO_E_BAD_SERVER_NAME = DWORD($80004014);
 | 
			
		||||
  CO_E_WRONG_SERVER_IDENTITY = DWORD($80004015);
 | 
			
		||||
  CO_E_OLE1DDE_DISABLED = DWORD($80004016);
 | 
			
		||||
  CO_E_RUNAS_SYNTAX = DWORD($80004017);
 | 
			
		||||
  CO_E_CREATEPROCESS_FAILURE = DWORD($80004018);
 | 
			
		||||
  CO_E_RUNAS_CREATEPROCESS_FAILURE = DWORD($80004019);
 | 
			
		||||
  CO_E_RUNAS_LOGON_FAILURE = DWORD($8000401A);
 | 
			
		||||
  CO_E_LAUNCH_PERMSSION_DENIED = DWORD($8000401B);
 | 
			
		||||
  CO_E_START_SERVICE_FAILURE = DWORD($8000401C);
 | 
			
		||||
  CO_E_REMOTE_COMMUNICATION_FAILURE = DWORD($8000401D);
 | 
			
		||||
  CO_E_SERVER_START_TIMEOUT = DWORD($8000401E);
 | 
			
		||||
  CO_E_CLSREG_INCONSISTENT = DWORD($8000401F);
 | 
			
		||||
  CO_E_IIDREG_INCONSISTENT = DWORD($80004020);
 | 
			
		||||
  CO_E_NOT_SUPPORTED = DWORD($80004021);
 | 
			
		||||
  CO_E_FIRST = DWORD($800401F0);
 | 
			
		||||
  CO_E_LAST  = DWORD($800401FF);
 | 
			
		||||
  CO_S_FIRST = $401F0;
 | 
			
		||||
  CO_E_NOTINITIALIZED = DWORD($800401F0);
 | 
			
		||||
  CO_E_ALREADYINITIALIZED = DWORD($800401F1);
 | 
			
		||||
  CO_E_CANTDETERMINECLASS = DWORD($800401F2);
 | 
			
		||||
  CO_E_CLASSSTRING = DWORD($800401F3);
 | 
			
		||||
  CO_E_IIDSTRING = DWORD($800401F4);
 | 
			
		||||
  CO_E_APPNOTFOUND = DWORD($800401F5);
 | 
			
		||||
  CO_E_APPSINGLEUSE = DWORD($800401F6);
 | 
			
		||||
  CO_E_ERRORINAPP = DWORD($800401F7);
 | 
			
		||||
  CO_E_DLLNOTFOUND = DWORD($800401F8);
 | 
			
		||||
  CO_E_ERRORINDLL = DWORD($800401F9);
 | 
			
		||||
  CO_E_WRONGOSFORAPP = DWORD($800401FA);
 | 
			
		||||
  CO_E_OBJNOTREG = DWORD($800401FB);
 | 
			
		||||
  CO_E_OBJISREG = DWORD($800401FC);
 | 
			
		||||
  CO_E_OBJNOTCONNECTED = DWORD($800401FD);
 | 
			
		||||
  CO_E_APPDIDNTREG = DWORD($800401FE);
 | 
			
		||||
  CO_E_RELEASED = DWORD($800401FF);
 | 
			
		||||
 | 
			
		||||
{MvdV: Lazarus mwedit templates}
 | 
			
		||||
function ExtTextOut(_para1:HDC; _para2:longint; _para3:longint; _para4:UINT; _para5:pRECT;
 | 
			
		||||
             _para6:lpcstr; _para7:UINT; _para8:pointer):WINBOOL;
 | 
			
		||||
procedure InitializeCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'InitializeCriticalSection';
 | 
			
		||||
procedure EnterCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'EnterCriticalSection';
 | 
			
		||||
procedure LeaveCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'LeaveCriticalSection';
 | 
			
		||||
procedure DeleteCriticalSection(var CriticalSection : TRTLCriticalSection); external 'kernel32' name 'DeleteCriticalSection';
 | 
			
		||||
 | 
			
		||||
function SetScrollInfo(_para1:HWND; _para2:longint;const _para3:TSCROLLINFO; _para4:WINBOOL):longint;
 | 
			
		||||
{function PtInRect(var lprc:TRECT; pt:TPOINT):WINBOOL;}
 | 
			
		||||
function _lcreat(const lpPathName: LPCSTR; iAttribute: Integer): HFILE; external 'kernel32' name '_lcreat';
 | 
			
		||||
function _lopen(const lpPathName: LPCSTR; iReadWrite: Integer): HFILE; external 'kernel32' name '_lopen';
 | 
			
		||||
function _lwrite(hFile: HFILE; const lpBuffer: LPCSTR; uBytes: UINT): UINT; external 'kernel32' name '_lwrite';
 | 
			
		||||
function AccessCheck(pSecurityDescriptor: PSecurityDescriptor; ClientToken: THandle; DesiredAccess: DWORD; const GenericMapping: TGenericMapping; var PrivilegeSet: TPrivilegeSet; var PrivilegeSetLength: DWORD; var GrantedAccess: DWORD; var AccessStatus: BOOL): BOOL; external 'advapi32' name 'AccessCheck';
 | 
			
		||||
function AccessCheckAndAuditAlarm(SubsystemName: PChar; HandleId: Pointer; ObjectTypeName, ObjectName: PChar; SecurityDescriptor: PSecurityDescriptor; DesiredAccess: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatus, pfGenerateOnClose: BOOL): BOOL; external 'advapi32' name 'AccessCheckAndAuditAlarm';
 | 
			
		||||
function AccessCheckAndAuditAlarmA(SubsystemName: LPCSTR; HandleId: Pointer; ObjectTypeName, ObjectName: LPCSTR; SecurityDescriptor: PSecurityDescriptor; DesiredAccess: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatus, pfGenerateOnClose: BOOL): BOOL; external 'advapi32' name 'AccessCheckAndAuditAlarmA';
 | 
			
		||||
function AccessCheckAndAuditAlarmW(SubsystemName: LPWSTR; HandleId: Pointer; ObjectTypeName, ObjectName: LPWSTR; SecurityDescriptor: PSecurityDescriptor; DesiredAccess: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatus, pfGenerateOnClose: BOOL): BOOL; external 'advapi32' name 'AccessCheckAndAuditAlarmW';
 | 
			
		||||
function AccessCheckByType(pSecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; ClientToken: THandle; DesiredAccess: DWORD; ObjectTypeList: PObjectTypeList; const GenericMapping: TGenericMapping; ObjectTypeListLength: DWORD; var PrivilegeSet: TPrivilegeSet; var PrivilegeSetLength: DWORD; var GrantedAccess: DWORD; var AccessStatus: BOOL): BOOL;external 'advapi32' name 'AccessCheckByType';
 | 
			
		||||
function AccessCheckByTypeAndAuditAlarm(SubsystemName: PChar; HandleId: Pointer; ObjectTypeName, ObjectName: PChar; SecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; DesiredAccess: DWORD; AuditType: AUDIT_EVENT_TYPE; Flags: DWORD; ObjectTypeList: PObjectTypeList; ObjectTypeListLength: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatus, pfGenerateOnClose: BOOL): BOOL;external 'advapi32' name 'AccessCheckByTypeAndAuditAlarm';
 | 
			
		||||
function AccessCheckByTypeAndAuditAlarmA(SubsystemName: LPCSTR; HandleId: Pointer; ObjectTypeName, ObjectName: LPCSTR; SecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; DesiredAccess: DWORD; AuditType: AUDIT_EVENT_TYPE; Flags: DWORD; ObjectTypeList: PObjectTypeList; ObjectTypeListLength: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatus, pfGenerateOnClose: BOOL): BOOL;external 'advapi32' name 'AccessCheckByTypeAndAuditAlarmA';
 | 
			
		||||
function AccessCheckByTypeAndAuditAlarmW(SubsystemName: LPWSTR; HandleId: Pointer; ObjectTypeName, ObjectName: LPWSTR; SecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; DesiredAccess: DWORD; AuditType: AUDIT_EVENT_TYPE; Flags: DWORD; ObjectTypeList: PObjectTypeList; ObjectTypeListLength: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatus, pfGenerateOnClose: BOOL): BOOL;external 'advapi32' name 'AccessCheckByTypeAndAuditAlarmW';
 | 
			
		||||
function AccessCheckByTypeResultList(pSecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; ClientToken: THandle; DesiredAccess: DWORD; ObjectTypeList: PObjectTypeList; const GenericMapping: TGenericMapping; ObjectTypeListLength: DWORD; var PrivilegeSet: TPrivilegeSet; var PrivilegeSetLength: DWORD; var GrantedAccess: DWORD; var AccessStatusList: DWORD): BOOL;external 'advapi32' name 'AccessCheckByTypeResultList';
 | 
			
		||||
function AccessCheckByTypeResultListAndAuditAlarm(SubsystemName: PChar; HandleId: Pointer; ObjectTypeName, ObjectName: PChar; SecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; DesiredAccess: DWORD; AuditType: AUDIT_EVENT_TYPE; Flags: DWORD; ObjectTypeList: PObjectTypeList; ObjectTypeListLength: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatusList: DWORD; var pfGenerateOnClose: BOOL): BOOL;external 'advapi32' name 'AccessCheckByTypeResultListAndAuditAlarm';
 | 
			
		||||
function AccessCheckByTypeResultListAndAuditAlarmA(SubsystemName: LPCSTR; HandleId: Pointer; ObjectTypeName, ObjectName: LPCSTR; SecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; DesiredAccess: DWORD; AuditType: AUDIT_EVENT_TYPE; Flags: DWORD; ObjectTypeList: PObjectTypeList; ObjectTypeListLength: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatusList: DWORD; var pfGenerateOnClose: BOOL): BOOL;external 'advapi32' name 'AccessCheckByTypeResultListAndAuditAlarmA';
 | 
			
		||||
function AccessCheckByTypeResultListAndAuditAlarmW(SubsystemName: LPWSTR; HandleId: Pointer; ObjectTypeName, ObjectName: LPWSTR; SecurityDescriptor: PSecurityDescriptor; PrincipalSelfSid: PSID; DesiredAccess: DWORD; AuditType: AUDIT_EVENT_TYPE; Flags: DWORD; ObjectTypeList: PObjectTypeList; ObjectTypeListLength: DWORD; const GenericMapping: TGenericMapping;  ObjectCreation: BOOL; var GrantedAccess: DWORD; var AccessStatusList: DWORD; var pfGenerateOnClose: BOOL): BOOL;external 'advapi32' name 'AccessCheckByTypeResultListAndAuditAlarmW';
 | 
			
		||||
function AddAccessAllowedAce(var pAcl: TACL; dwAceRevision: DWORD; AccessMask: DWORD; pSid: PSID): BOOL; external 'advapi32' name 'AddAccessAllowedAce';
 | 
			
		||||
function AddAccessAllowedAceEx(var pAcl: TACL; dwAceRevision: DWORD; AceFlags: DWORD; AccessMask: DWORD; pSid: PSID): BOOL;external 'advapi32' name 'AddAccessAllowedAceEx';
 | 
			
		||||
function AddAccessAllowedObjectAce(var pAcl: TACL; dwAceRevision: DWORD; AceFlags: DWORD; AccessMask: DWORD; ObjectTypeGuid, InheritedObjectTypeGuid: PGuid; pSid: Pointer): BOOL;external 'advapi32' name 'AddAccessAllowedObjectAce';
 | 
			
		||||
function AddAccessDeniedAce(var pAcl: TACL; dwAceRevision: DWORD; AccessMask: DWORD; pSid: PSID): BOOL; external 'advapi32' name 'AddAccessDeniedAce';
 | 
			
		||||
function AddAccessDeniedAceEx(var pAcl: TACL; dwAceRevision: DWORD; ACEFlags: DWORD; AccessMask: DWORD; pSid: PSID): BOOL;external 'advapi32' name 'AddAccessDeniedAceEx';
 | 
			
		||||
function AddAccessDeniedObjectAce(var pAcl: TACL; dwAceRevision: DWORD; AceFlags: DWORD; AccessMask: DWORD; ObjectTypeGuid, InheritedObjectTypeGuid: PGuid; pSid: Pointer): BOOL;external 'advapi32' name 'AddAccessDeniedObjectAce';
 | 
			
		||||
function AddAce(var pAcl: TACL; dwAceRevision, dwStartingAceIndex: DWORD; pAceList: Pointer; nAceListLength: DWORD): BOOL; external 'advapi32' name 'AddAce';
 | 
			
		||||
function AddAuditAccessAce(var pAcl: TACL; dwAceRevision: DWORD; dwAccessMask: DWORD; pSid: Pointer; bAuditSuccess, bAuditFailure: BOOL): BOOL; external 'advapi32' name 'AddAuditAccessAce';
 | 
			
		||||
function AddAuditAccessAceEx(var pAcl: TACL; dwAceRevision: DWORD; AceFlags: DWORD; dwAccessMask: DWORD; pSid: Pointer; bAuditSuccess, bAuditFailure: BOOL): BOOL;external 'advapi32' name 'AddAuditAccessAceEx';
 | 
			
		||||
function AddAuditAccessObjectAce(var pAcl: TACL; dwAceRevision: DWORD; AceFlags: DWORD; AccessMask: DWORD; ObjectTypeGuid, InheritedObjectTypeGuid: PGuid; pSid: Pointer; bAuditSuccess, bAuditFailure: BOOL): BOOL;external 'advapi32' name 'AddAuditAccessObjectAce';
 | 
			
		||||
function AdjustTokenGroups(TokenHandle: THandle; ResetToDefault: BOOL; const NewState: TTokenGroups; BufferLength: DWORD; var PreviousState: TTokenGroups; var ReturnLength: DWORD): BOOL; external 'advapi32' name 'AdjustTokenGroups';
 | 
			
		||||
function AdjustTokenPrivileges(TokenHandle: THandle; DisableAllPrivileges: BOOL; const NewState: TTokenPrivileges; BufferLength: DWORD; var PreviousState: TTokenPrivileges; var ReturnLength: DWORD): BOOL; external 'advapi32' name 'AdjustTokenPrivileges';
 | 
			
		||||
function AdjustWindowRect(var lpRect: TRect; dwStyle: DWORD; bMenu: BOOL): BOOL; external 'user32' name 'AdjustWindowRect';
 | 
			
		||||
function AdjustWindowRectEx(var lpRect: TRect; dwStyle: DWORD; bMenu: BOOL; dwExStyle: DWORD): BOOL; external 'user32' name 'AdjustWindowRectEx';
 | 
			
		||||
function AllocateAndInitializeSid(const pIdentifierAuthority: TSIDIdentifierAuthority; nSubAuthorityCount: Byte; nSubAuthority0, nSubAuthority1: DWORD; nSubAuthority2, nSubAuthority3, nSubAuthority4: DWORD; nSubAuthority5, nSubAuthority6, nSubAuthority7: DWORD; var pSid: Pointer): BOOL; external 'advapi32' name 'AllocateAndInitializeSid';
 | 
			
		||||
function AllocateLocallyUniqueId(var Luid: TLargeInteger): BOOL; external 'advapi32' name 'AllocateLocallyUniqueId';
 | 
			
		||||
function AlphaDIBBlend(DC: HDC; p2, p3, p4, p5: Integer; const p6: Pointer; const p7: PBitmapInfo; p8: UINT; p9, p10, p11, p12: Integer; p13: TBlendFunction): BOOL;external 'gdi32' name 'AlphaDIBBlend';
 | 
			
		||||
function AnsiNext(const lpsz: LPCSTR): LPSTR;external 'user32' name 'AnsiNext';
 | 
			
		||||
function AnsiPrev(const lpszStart: LPCSTR; const lpszCurrent: LPCSTR): LPSTR;external 'user32' name 'AnsiPrev';
 | 
			
		||||
function AnsiToOem(const lpszSrc: LPCSTR; lpszDst: LPSTR): BOOL;external 'user32' name 'AnsiToOem';
 | 
			
		||||
function BackupRead(hFile: THandle; lpBuffer: PByte; nNumberOfBytesToRead: DWORD; var lpNumberOfBytesRead: DWORD; bAbort: BOOL; bProcessSecurity: BOOL; var lpContext: Pointer): BOOL; external 'kernel32' name 'BackupRead';
 | 
			
		||||
function BackupSeek(hFile: THandle; dwLowBytesToSeek, dwHighBytesToSeek: DWORD; var lpdwLowByteSeeked, lpdwHighByteSeeked: DWORD; lpContext: Pointer): BOOL; external 'kernel32' name 'BackupSeek';
 | 
			
		||||
function BackupWrite(hFile: THandle; lpBuffer: PByte; nNumberOfBytesToWrite: DWORD; var lpNumberOfBytesWritten: DWORD; bAbort, bProcessSecurity: BOOL; var lpContext: Pointer): BOOL; external 'kernel32' name 'BackupWrite';
 | 
			
		||||
function BeginPaint(hWnd: HWND; var lpPaint: TPaintStruct): HDC; external 'user32' name 'BeginPaint';
 | 
			
		||||
function BuildCommDCB(lpDef: PChar; var lpDCB: TDCB): BOOL;external 'kernel32' name 'BuildCommDCB';
 | 
			
		||||
function BuildCommDCBA(lpDef: LPCSTR; var lpDCB: TDCB): BOOL; external 'kernel32' name 'BuildCommDCBA';
 | 
			
		||||
function BuildCommDCBAndTimeouts(lpDef: PChar; var lpDCB: TDCB; var lpCommTimeouts: TCommTimeouts): BOOL;external 'kernel32' name 'BuildCommDCBAndTimeouts';
 | 
			
		||||
function BuildCommDCBAndTimeoutsA(lpDef: LPCSTR; var lpDCB: TDCB; var lpCommTimeouts: TCommTimeouts): BOOL; external 'kernel32' name 'BuildCommDCBAndTimeoutsA';
 | 
			
		||||
function BuildCommDCBAndTimeoutsW(lpDef: LPWSTR; var lpDCB: TDCB; var lpCommTimeouts: TCommTimeouts): BOOL; external 'kernel32' name 'BuildCommDCBAndTimeoutsW';
 | 
			
		||||
function BuildCommDCBW(lpDef: LPWSTR; var lpDCB: TDCB): BOOL; external 'kernel32' name 'BuildCommDCBW';
 | 
			
		||||
function CallMsgFilter(var lpMsg: TMsg; nCode: Integer): BOOL;external 'user32' name 'CallMsgFilter';
 | 
			
		||||
function CallMsgFilterA(var lpMsg: TMsg; nCode: Integer): BOOL; external 'user32' name 'CallMsgFilterA';
 | 
			
		||||
function CallMsgFilterW(var lpMsg: TMsg; nCode: Integer): BOOL; external 'user32' name 'CallMsgFilterW';
 | 
			
		||||
function CallNamedPipe(lpNamedPipeName: PChar; lpInBuffer: Pointer; nInBufferSize: DWORD; lpOutBuffer: Pointer; nOutBufferSize: DWORD; var lpBytesRead: DWORD; nTimeOut: DWORD): BOOL;external 'kernel32' name 'CallNamedPipe';
 | 
			
		||||
function CallNamedPipeA(lpNamedPipeName: LPCSTR; lpInBuffer: Pointer; nInBufferSize: DWORD; lpOutBuffer: Pointer; nOutBufferSize: DWORD; var lpBytesRead: DWORD; nTimeOut: DWORD): BOOL; external 'kernel32' name 'CallNamedPipeA';
 | 
			
		||||
function CallNamedPipeW(lpNamedPipeName: LPWSTR; lpInBuffer: Pointer; nInBufferSize: DWORD; lpOutBuffer: Pointer; nOutBufferSize: DWORD; var lpBytesRead: DWORD; nTimeOut: DWORD): BOOL; external 'kernel32' name 'CallNamedPipeW';
 | 
			
		||||
function ChangeDisplaySettings(var lpDevMode: TDeviceMode; dwFlags: DWORD): Longint;external 'user32' name 'ChangeDisplaySettings';
 | 
			
		||||
function ChangeDisplaySettingsA(var lpDevMode: TDeviceModeA; dwFlags: DWORD): Longint; external 'user32' name 'ChangeDisplaySettingsA';
 | 
			
		||||
function ChangeDisplaySettingsEx(lpszDeviceName: PChar; var lpDevMode: TDeviceMode; wnd: HWND; dwFlags: DWORD; lParam: Pointer): Longint;external 'user32' name 'ChangeDisplaySettingsEx';
 | 
			
		||||
function ChangeDisplaySettingsExA(lpszDeviceName: LPCSTR; var lpDevMode: TDeviceModeA; wnd: HWND; dwFlags: DWORD; lParam: Pointer): Longint;external 'user32' name 'ChangeDisplaySettingsExA';
 | 
			
		||||
//function ChangeDisplaySettingsExW(lpszDeviceName: LPWSTR; var lpDevMode: TDeviceModeW; wnd: HWND; dwFlags: DWORD; lParam: Pointer): Longint;external 'user32' name 'ChangeDisplaySettingsExW';
 | 
			
		||||
//function ChangeDisplaySettingsW(var lpDevMode: TDeviceModeW; dwFlags: DWORD): Longint; external 'user32' name 'ChangeDisplaySettingsW';
 | 
			
		||||
function CheckColorsInGamut(DC: HDC; var RGBQuads, Results; Count: DWORD): BOOL; external 'gdi32' name 'CheckColorsInGamut';
 | 
			
		||||
function ClearCommError(hFile: THandle; var lpErrors: DWORD; lpStat: PComStat): BOOL; external 'kernel32' name 'ClearCommError';
 | 
			
		||||
function ClientToScreen(hWnd: HWND; var lpPoint: TPoint): BOOL; external 'user32' name 'ClientToScreen';
 | 
			
		||||
function CombineTransform(var p1: TXForm; const p2, p3: TXForm): BOOL; external 'gdi32' name 'CombineTransform';
 | 
			
		||||
function CommConfigDialog(lpszName: PChar; hWnd: HWND; var lpCC: TCommConfig): BOOL;external 'kernel32' name 'CommConfigDialog';
 | 
			
		||||
function CommConfigDialogA(lpszName: LPCSTR; hWnd: HWND; var lpCC: TCommConfig): BOOL; external 'kernel32' name 'CommConfigDialogA';
 | 
			
		||||
function CommConfigDialogW(lpszName: LPWSTR; hWnd: HWND; var lpCC: TCommConfig): BOOL; external 'kernel32' name 'CommConfigDialogW';
 | 
			
		||||
function CompareFileTime(const lpFileTime1, lpFileTime2: TFileTime): Longint; external 'kernel32' name 'CompareFileTime';
 | 
			
		||||
function ConvertToAutoInheritPrivateObjectSecurity(ParentDescriptor, CurrentSecurityDescriptor: PSecurityDescriptor; var NewDescriptor: PSecurityDescriptor; ObjectType: PGUID; IsDirectoryObject: BOOL; const GenericMapping: TGenericMapping): BOOL;external 'advapi32' name 'ConvertToAutoInheritPrivateObjectSecurity';
 | 
			
		||||
function CopyAcceleratorTable(hAccelSrc: HACCEL; var lpAccelDst; cAccelEntries: Integer): Integer;external 'user32' name 'CopyAcceleratorTable';
 | 
			
		||||
function CopyAcceleratorTableA(hAccelSrc: HACCEL; var lpAccelDst; cAccelEntries: Integer): Integer; external 'user32' name 'CopyAcceleratorTableA';
 | 
			
		||||
function CopyAcceleratorTableW(hAccelSrc: HACCEL; var lpAccelDst; cAccelEntries: Integer): Integer; external 'user32' name 'CopyAcceleratorTableW';
 | 
			
		||||
function CopyRect(var lprcDst: TRect; const lprcSrc: TRect): BOOL; external 'user32' name 'CopyRect';
 | 
			
		||||
function CreateAcceleratorTable(var Accel; Count: Integer): HACCEL;external 'user32' name 'CreateAcceleratorTable';
 | 
			
		||||
function CreateAcceleratorTableA(var Accel; Count: Integer): HACCEL; external 'user32' name 'CreateAcceleratorTableA';
 | 
			
		||||
function CreateAcceleratorTableW(var Accel; Count: Integer): HACCEL; external 'user32' name 'CreateAcceleratorTableW';
 | 
			
		||||
function CreateBitmapIndirect(const p1: TBitmap): HBITMAP; external 'gdi32' name 'CreateBitmapIndirect';
 | 
			
		||||
function CreateBrushIndirect(const p1: TLogBrush): HBRUSH; external 'gdi32' name 'CreateBrushIndirect';
 | 
			
		||||
function CreateColorSpace(var ColorSpace: TLogColorSpace): HCOLORSPACE;external 'gdi32' name 'CreateColorSpace';
 | 
			
		||||
function CreateColorSpaceA(var ColorSpace: TLogColorSpaceA): HCOLORSPACE; external 'gdi32' name 'CreateColorSpaceA';
 | 
			
		||||
//function CreateColorSpaceW(var ColorSpace: TLogColorSpaceW): HCOLORSPACE; external 'gdi32' name 'CreateColorSpaceW';
 | 
			
		||||
function CreateDialogIndirectParam(hInstance: HINST; const lpTemplate: TDlgTemplate; hWndParent: HWND; lpDialogFunc: TFNDlgProc; dwInitParam: LPARAM): HWND;external 'user32' name 'CreateDialogIndirectParam';
 | 
			
		||||
//function CreateDialogIndirectParamA(hInstance: HINST; const lpTemplate: TDlgTemplate; hWndParent: HWND; lpDialogFunc: TFNDlgProc; dwInitParam: LPARAM): HWND; external 'user32' name 'CreateDialogIndirectParamA';
 | 
			
		||||
//function CreateDialogIndirectParamW(hInstance: HINST; const lpTemplate: TDlgTemplate; hWndParent: HWND; lpDialogFunc: TFNDlgProc; dwInitParam: LPARAM): HWND; external 'user32' name 'CreateDialogIndirectParamW';
 | 
			
		||||
function CreateDIBitmap(DC: HDC; var InfoHeader: TBitmapInfoHeader; dwUsage: DWORD; InitBits: PChar; var InitInfo: TBitmapInfo; wUsage: UINT): HBITMAP; external 'gdi32' name 'CreateDIBitmap';
 | 
			
		||||
function CreateDIBPatternBrushPt(const p1: Pointer; p2: UINT): HBRUSH; external 'gdi32' name 'CreateDIBPatternBrushPt';
 | 
			
		||||
function CreateDIBSection(DC: HDC; const p2: TBitmapInfo; p3: UINT; var p4: Pointer; p5: THandle; p6: DWORD): HBITMAP; external 'gdi32' name 'CreateDIBSection';
 | 
			
		||||
function CreateEllipticRgnIndirect(const p1: TRect): HRGN; external 'gdi32' name 'CreateEllipticRgnIndirect';
 | 
			
		||||
function CreateFontIndirect(const p1: TLogFont): HFONT;external 'gdi32' name 'CreateFontIndirect';
 | 
			
		||||
function CreateFontIndirectA(const p1: TLogFontA): HFONT; external 'gdi32' name 'CreateFontIndirectA';
 | 
			
		||||
//function CreateFontIndirectEx(const p1: PEnumLogFontExDV): HFONT;external 'gdi32' name 'CreateFontIndirectEx';
 | 
			
		||||
//function CreateFontIndirectExA(const p1: PEnumLogFontExDVA): HFONT;external 'gdi32' name 'CreateFontIndirectExA';
 | 
			
		||||
//function CreateFontIndirectExW(const p1: PEnumLogFontExDVW): HFONT;external 'gdi32' name 'CreateFontIndirectExW';
 | 
			
		||||
//function CreateFontIndirectW(const p1: TLogFontW): HFONT; external 'gdi32' name 'CreateFontIndirectW';
 | 
			
		||||
function CreateIconIndirect(var piconinfo: TIconInfo): HICON; external 'user32' name 'CreateIconIndirect';
 | 
			
		||||
function CreatePalette(const LogPalette: TLogPalette): HPalette; external 'gdi32' name 'CreatePalette';
 | 
			
		||||
function CreatePenIndirect(const LogPen: TLogPen): HPEN; external 'gdi32' name 'CreatePenIndirect';
 | 
			
		||||
function CreatePipe(var hReadPipe, hWritePipe: THandle; lpPipeAttributes: PSecurityAttributes; nSize: DWORD): BOOL; external 'kernel32' name 'CreatePipe';
 | 
			
		||||
function CreatePolygonRgn(const Points; Count, FillMode: Integer): HRGN; external 'gdi32' name 'CreatePolygonRgn';
 | 
			
		||||
function CreatePolyPolygonRgn(const pPtStructs; const pIntArray; p3, p4: Integer): HRGN; external 'gdi32' name 'CreatePolyPolygonRgn';
 | 
			
		||||
function CreatePrivateObjectSecurity(ParentDescriptor, CreatorDescriptor: PSecurityDescriptor; var NewDescriptor: PSecurityDescriptor; IsDirectoryObject: BOOL; Token: THandle; const GenericMapping: TGenericMapping): BOOL; external 'advapi32' name 'CreatePrivateObjectSecurity';
 | 
			
		||||
function CreatePrivateObjectSecurityEx(ParentDescriptor, CreatorDescriptor: PSecurityDescriptor; var NewDescriptor: PSecurityDescriptor; ObjectType: PGUID; IsContainerObject: BOOL; AutoInheritFlags: ULONG; Token: THandle; const GenericMapping: TGenericMapping): BOOL;external 'advapi32' name 'CreatePrivateObjectSecurityEx';
 | 
			
		||||
function CreateProcess(lpApplicationName: PChar; lpCommandLine: PChar; lpProcessAttributes, lpThreadAttributes: PSecurityAttributes; bInheritHandles: BOOL; dwCreationFlags: DWORD; lpEnvironment: Pointer; lpCurrentDirectory: PChar; const lpStartupInfo: TStartupInfo; var lpProcessInformation: TProcessInformation): BOOL;external 'kernel32' name 'CreateProcess';
 | 
			
		||||
function CreateProcessA(lpApplicationName: LPCSTR; lpCommandLine: LPCSTR; lpProcessAttributes, lpThreadAttributes: PSecurityAttributes; bInheritHandles: BOOL; dwCreationFlags: DWORD; lpEnvironment: Pointer; lpCurrentDirectory: LPCSTR; const lpStartupInfo: TStartupInfo; var lpProcessInformation: TProcessInformation): BOOL; external 'kernel32' name 'CreateProcessA';
 | 
			
		||||
function CreateProcessAsUser(hToken: THandle; lpApplicationName: PChar; lpCommandLine: PChar; lpProcessAttributes: PSecurityAttributes; lpThreadAttributes: PSecurityAttributes; bInheritHandles: BOOL; dwCreationFlags: DWORD; lpEnvironment: Pointer; lpCurrentDirectory: PChar; const lpStartupInfo: TStartupInfo; var lpProcessInformation: TProcessInformation): BOOL;external 'advapi32' name 'CreateProcessAsUser';
 | 
			
		||||
function CreateProcessAsUserA(hToken: THandle; lpApplicationName: LPCSTR; lpCommandLine: LPCSTR; lpProcessAttributes: PSecurityAttributes; lpThreadAttributes: PSecurityAttributes; bInheritHandles: BOOL; dwCreationFlags: DWORD; lpEnvironment: Pointer; lpCurrentDirectory: LPCSTR; const lpStartupInfo: TStartupInfo; var lpProcessInformation: TProcessInformation): BOOL; external 'advapi32' name 'CreateProcessAsUserA';
 | 
			
		||||
function CreateProcessAsUserW(hToken: THandle; lpApplicationName: LPWSTR; lpCommandLine: LPWSTR; lpProcessAttributes: PSecurityAttributes; lpThreadAttributes: PSecurityAttributes; bInheritHandles: BOOL; dwCreationFlags: DWORD; lpEnvironment: Pointer; lpCurrentDirectory: LPWSTR; const lpStartupInfo: TStartupInfo; var lpProcessInformation: TProcessInformation): BOOL; external 'advapi32' name 'CreateProcessAsUserW';
 | 
			
		||||
function CreateProcessW(lpApplicationName: LPWSTR; lpCommandLine: LPWSTR; lpProcessAttributes, lpThreadAttributes: PSecurityAttributes; bInheritHandles: BOOL; dwCreationFlags: DWORD; lpEnvironment: Pointer; lpCurrentDirectory: LPWSTR; const lpStartupInfo: TStartupInfo; var lpProcessInformation: TProcessInformation): BOOL; external 'kernel32' name 'CreateProcessW';
 | 
			
		||||
function CreateRectRgnIndirect(const p1: TRect): HRGN; external 'gdi32' name 'CreateRectRgnIndirect';
 | 
			
		||||
function CreateRemoteThread(hProcess: THandle; lpThreadAttributes: Pointer; dwStackSize: DWORD; lpStartAddress: TFNThreadStartRoutine; lpParameter: Pointer; dwCreationFlags: DWORD; var lpThreadId: DWORD): THandle; external 'kernel32' name 'CreateRemoteThread';
 | 
			
		||||
function CreateThread(lpThreadAttributes: Pointer; dwStackSize: DWORD; lpStartAddress: TFNThreadStartRoutine; lpParameter: Pointer; dwCreationFlags: DWORD; var lpThreadId: DWORD): THandle; external 'kernel32' name 'CreateThread';
 | 
			
		||||
function DdeSetQualityOfService(hWndClient: HWnd; const pqosNew: TSecurityQualityOfService; pqosPrev: PSecurityQualityOfService): BOOL;external 'user32' name 'DdeSetQualityOfService';
 | 
			
		||||
function DeleteAce(var pAcl: TACL; dwAceIndex: DWORD): BOOL; external 'advapi32' name 'DeleteAce';
 | 
			
		||||
function DescribePixelFormat(DC: HDC; p2: Integer; p3: UINT; var p4: TPixelFormatDescriptor): BOOL; external 'gdi32' name 'DescribePixelFormat';
 | 
			
		||||
function DestroyPrivateObjectSecurity(var ObjectDescriptor: PSecurityDescriptor): BOOL; external 'advapi32' name 'DestroyPrivateObjectSecurity';
 | 
			
		||||
function DeviceIoControl(hDevice: THandle; dwIoControlCode: DWORD; lpInBuffer: Pointer; nInBufferSize: DWORD; lpOutBuffer: Pointer; nOutBufferSize: DWORD; var lpBytesReturned: DWORD; lpOverlapped: POverlapped): BOOL; external 'kernel32' name 'DeviceIoControl';
 | 
			
		||||
function DialogBoxIndirectParam(hInstance: HINST; const lpDialogTemplate: TDlgTemplate; hWndParent: HWND; lpDialogFunc: TFNDlgProc; dwInitParam: LPARAM): Integer;external 'user32' name 'DialogBoxIndirectParam';
 | 
			
		||||
function DialogBoxIndirectParamA(hInstance: HINST; const lpDialogTemplate: TDlgTemplate; hWndParent: HWND; lpDialogFunc: TFNDlgProc; dwInitParam: LPARAM): Integer; external 'user32' name 'DialogBoxIndirectParamA';
 | 
			
		||||
function DialogBoxIndirectParamW(hInstance: HINST; const lpDialogTemplate: TDlgTemplate; hWndParent: HWND; lpDialogFunc: TFNDlgProc; dwInitParam: LPARAM): Integer; external 'user32' name 'DialogBoxIndirectParamW';
 | 
			
		||||
function DispatchMessage(const lpMsg: TMsg): Longint;external 'user32' name 'DispatchMessage';
 | 
			
		||||
function DispatchMessageA(const lpMsg: TMsg): Longint; external 'user32' name 'DispatchMessageA';
 | 
			
		||||
function DispatchMessageW(const lpMsg: TMsg): Longint; external 'user32' name 'DispatchMessageW';
 | 
			
		||||
function DosDateTimeToFileTime(wFatDate, wFatTime: Word; var lpFileTime: TFileTime): BOOL; external 'kernel32' name 'DosDateTimeToFileTime';
 | 
			
		||||
function DPtoLP(DC: HDC; var Points; Count: Integer): BOOL; external 'gdi32' name 'DPtoLP';
 | 
			
		||||
function DrawAnimatedRects(hwnd: HWND; idAni: Integer; const lprcFrom, lprcTo: TRect): BOOL; external 'user32' name 'DrawAnimatedRects';
 | 
			
		||||
function DrawCaption(p1: HWND; p2: HDC; const p3: TRect; p4: UINT): BOOL; external 'user32' name 'DrawCaption';
 | 
			
		||||
function DrawEdge(hdc: HDC; var qrc: TRect; edge: UINT; grfFlags: UINT): BOOL; external 'user32' name 'DrawEdge';
 | 
			
		||||
function DrawFocusRect(hDC: HDC; const lprc: TRect): BOOL; external 'user32' name 'DrawFocusRect';
 | 
			
		||||
function DrawFrameControl(DC: HDC; const Rect: TRect; uType, uState: UINT): BOOL; external 'user32' name 'DrawFrameControl';
 | 
			
		||||
function DrawText(hDC: HDC; lpString: PChar; nCount: Integer; var lpRect: TRect; uFormat: UINT): Integer;external 'user32' name 'DrawText';
 | 
			
		||||
function DrawTextA(hDC: HDC; lpString: LPCSTR; nCount: Integer; var lpRect: TRect; uFormat: UINT): Integer; external 'user32' name 'DrawTextA';
 | 
			
		||||
function DrawTextEx(DC: HDC; lpchText: PChar; cchText: Integer; var p4: TRect; dwDTFormat: UINT; DTParams: PDrawTextParams): Integer;external 'user32' name 'DrawTextEx';
 | 
			
		||||
function DrawTextExA(DC: HDC; lpchText: LPCSTR; cchText: Integer; var p4: TRect; dwDTFormat: UINT; DTParams: PDrawTextParams): Integer; external 'user32' name 'DrawTextExA';
 | 
			
		||||
function DrawTextExW(DC: HDC; lpchText: LPWSTR; cchText: Integer; var p4: TRect; dwDTFormat: UINT; DTParams: PDrawTextParams): Integer; external 'user32' name 'DrawTextExW';
 | 
			
		||||
function DrawTextW(hDC: HDC; lpString: LPWSTR; nCount: Integer; var lpRect: TRect; uFormat: UINT): Integer; external 'user32' name 'DrawTextW';
 | 
			
		||||
//function DuplicateTokenEx(hExistingToken: THandle; dwDesiredAccess: DWORD; lpTokenAttributes: PSecurityAttributes; ImpersonationLevel: TSecurityImpersonationLevel; TokenType: TTokenType; var phNewToken: THandle): BOOL;external 'advapi32' name 'DuplicateTokenEx';
 | 
			
		||||
function EndPaint(hWnd: HWND; const lpPaint: TPaintStruct): BOOL; external 'user32' name 'EndPaint';
 | 
			
		||||
//function EnumDisplayDevices(Unused: Pointer; iDevNum: DWORD; var lpDisplayDevice: TDisplayDevice; dwFlags: DWORD): BOOL;external 'user32' name 'EnumDisplayDevices';
 | 
			
		||||
//function EnumDisplayDevicesA(Unused: Pointer; iDevNum: DWORD; var lpDisplayDevice: TDisplayDeviceA; dwFlags: DWORD): BOOL;external 'user32' name 'EnumDisplayDevicesA';
 | 
			
		||||
//function EnumDisplayDevicesW(Unused: Pointer; iDevNum: DWORD; var lpDisplayDevice: TDisplayDeviceW; dwFlags: DWORD): BOOL;external 'user32' name 'EnumDisplayDevicesW';
 | 
			
		||||
function EnumDisplaySettings(lpszDeviceName: PChar; iModeNum: DWORD; var lpDevMode: TDeviceMode): BOOL;external 'user32' name 'EnumDisplaySettings';
 | 
			
		||||
function EnumDisplaySettingsA(lpszDeviceName: LPCSTR; iModeNum: DWORD; var lpDevMode: TDeviceModeA): BOOL; external 'user32' name 'EnumDisplaySettingsA';
 | 
			
		||||
//function EnumDisplaySettingsW(lpszDeviceName: LPWSTR; iModeNum: DWORD; var lpDevMode: TDeviceModeW): BOOL; external 'user32' name 'EnumDisplaySettingsW';
 | 
			
		||||
//function EnumEnhMetaFile(DC: HDC; p2: HENHMETAFILE; p3: TFNEnhMFEnumProc; p4: Pointer; const p5: TRect): BOOL; external 'gdi32' name 'EnumEnhMetaFile';
 | 
			
		||||
//function EnumFontFamiliesEx(DC: HDC; var p2: TLogFont; p3: TFNFontEnumProc; p4: LPARAM; p5: DWORD): BOOL;external 'gdi32' name 'EnumFontFamiliesEx';
 | 
			
		||||
//function EnumFontFamiliesExA(DC: HDC; var p2: TLogFontA; p3: TFNFontEnumProcA; p4: LPARAM; p5: DWORD): BOOL; external 'gdi32' name 'EnumFontFamiliesExA';
 | 
			
		||||
//function EnumFontFamiliesExW(DC: HDC; var p2: TLogFontW; p3: TFNFontEnumProcW; p4: LPARAM; p5: DWORD): BOOL; external 'gdi32' name 'EnumFontFamiliesExW';
 | 
			
		||||
function EqualRect(const lprc1, lprc2: TRect): BOOL; external 'user32' name 'EqualRect';
 | 
			
		||||
function ExtCreatePen(PenStyle, Width: DWORD; const Brush: TLogBrush; StyleCount: DWORD; Style: Pointer): HPEN; external 'gdi32' name 'ExtCreatePen';
 | 
			
		||||
function ExtCreateRegion(p1: PXForm; p2: DWORD; const p3: TRgnData): HRGN; external 'gdi32' name 'ExtCreateRegion';
 | 
			
		||||
function ExtEscape(DC: HDC; p2, p3: Integer; const p4: LPCSTR; p5: Integer; p6: LPSTR): Integer; external 'gdi32' name 'ExtEscape';
 | 
			
		||||
function FileTimeToDosDateTime(const lpFileTime: TFileTime; var lpFatDate, lpFatTime: Word): BOOL; external 'kernel32' name 'FileTimeToDosDateTime';
 | 
			
		||||
function FileTimeToLocalFileTime(const lpFileTime: TFileTime; var lpLocalFileTime: TFileTime): BOOL; external 'kernel32' name 'FileTimeToLocalFileTime';
 | 
			
		||||
function FileTimeToSystemTime(const lpFileTime: TFileTime; var lpSystemTime: TSystemTime): BOOL; external 'kernel32' name 'FileTimeToSystemTime';
 | 
			
		||||
function FillConsoleOutputAttribute(hConsoleOutput: THandle; wAttribute: Word; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfAttrsWritten: DWORD): BOOL; external 'kernel32' name 'FillConsoleOutputAttribute';
 | 
			
		||||
function FillConsoleOutputCharacter(hConsoleOutput: THandle; cCharacter: Char; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfCharsWritten: DWORD): BOOL;external 'kernel32' name 'FillConsoleOutputCharacter';
 | 
			
		||||
function FillConsoleOutputCharacterA(hConsoleOutput: THandle; cCharacter: AnsiChar; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfCharsWritten: DWORD): BOOL; external 'kernel32' name 'FillConsoleOutputCharacterA';
 | 
			
		||||
function FillConsoleOutputCharacterW(hConsoleOutput: THandle; cCharacter: WideChar; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfCharsWritten: DWORD): BOOL; external 'kernel32' name 'FillConsoleOutputCharacterW';
 | 
			
		||||
function FillRect(hDC: HDC; const lprc: TRect; hbr: HBRUSH): Integer; external 'user32' name 'FillRect';
 | 
			
		||||
function FindFirstFile(lpFileName: PChar; var lpFindFileData: TWIN32FindData): THandle;external 'kernel32' name 'FindFirstFile';
 | 
			
		||||
function FindFirstFileA(lpFileName: LPCSTR; var lpFindFileData: TWIN32FindDataA): THandle; external 'kernel32' name 'FindFirstFileA';
 | 
			
		||||
//function FindFirstFileW(lpFileName: LPWSTR; var lpFindFileData: TWIN32FindDataW): THandle; external 'kernel32' name 'FindFirstFileW';
 | 
			
		||||
function FindFirstFreeAce(var pAcl: TACL; var pAce: Pointer): BOOL; external 'advapi32' name 'FindFirstFreeAce';
 | 
			
		||||
function FindNextFile(hFindFile: THandle; var lpFindFileData: TWIN32FindData): BOOL;external 'kernel32' name 'FindNextFile';
 | 
			
		||||
function FindNextFileA(hFindFile: THandle; var lpFindFileData: TWIN32FindDataA): BOOL; external 'kernel32' name 'FindNextFileA';
 | 
			
		||||
//function FindNextFileW(hFindFile: THandle; var lpFindFileData: TWIN32FindDataW): BOOL; external 'kernel32' name 'FindNextFileW';
 | 
			
		||||
function FlushInstructionCache(hProcess: THandle; const lpBaseAddress: Pointer; dwSize: DWORD): BOOL; external 'kernel32' name 'FlushInstructionCache';
 | 
			
		||||
function FlushViewOfFile(const lpBaseAddress: Pointer; dwNumberOfBytesToFlush: DWORD): BOOL; external 'kernel32' name 'FlushViewOfFile';
 | 
			
		||||
function FrameRect(hDC: HDC; const lprc: TRect; hbr: HBRUSH): Integer; external 'user32' name 'FrameRect';
 | 
			
		||||
function GetAce(const pAcl: TACL; dwAceIndex: DWORD; var pAce: Pointer): BOOL; external 'advapi32' name 'GetAce';
 | 
			
		||||
//function GetAclInformation(const pAcl: TACL; pAclInformation: Pointer; nAclInformationLength: DWORD; dwAclInformationClass: TAclInformationClass): BOOL; external 'advapi32' name 'GetAclInformation';
 | 
			
		||||
//function GetAltTabInfo(hwnd: HWND; iItem: Integer; var pati: TAltTabInfo; pszItemText: PChar; cchItemText: UINT): BOOL;external 'user32' name 'GetAltTabInfo';
 | 
			
		||||
//function GetAltTabInfoA(hwnd: HWND; iItem: Integer; var pati: TAltTabInfo; pszItemText: LPCSTR; cchItemText: UINT): BOOL;external 'user32' name 'GetAltTabInfoA';
 | 
			
		||||
//function GetAltTabInfoW(hwnd: HWND; iItem: Integer; var pati: TAltTabInfo; pszItemText: LPWSTR; cchItemText: UINT): BOOL;external 'user32' name 'GetAltTabInfoW';
 | 
			
		||||
function GetAspectRatioFilterEx(DC: HDC; var p2: TSize): BOOL; external 'gdi32' name 'GetAspectRatioFilterEx';
 | 
			
		||||
function GetBinaryType(lpApplicationName: PChar; var lpBinaryType: DWORD): BOOL;external 'kernel32' name 'GetBinaryType';
 | 
			
		||||
function GetBinaryTypeA(lpApplicationName: LPCSTR; var lpBinaryType: DWORD): BOOL; external 'kernel32' name 'GetBinaryTypeA';
 | 
			
		||||
function GetBinaryTypeW(lpApplicationName: LPWSTR; var lpBinaryType: DWORD): BOOL; external 'kernel32' name 'GetBinaryTypeW';
 | 
			
		||||
function GetBitmapDimensionEx(p1: HBITMAP; var p2: TSize): BOOL; external 'gdi32' name 'GetBitmapDimensionEx';
 | 
			
		||||
function GetBoundsRect(DC: HDC; var p2: TRect; p3: UINT): UINT; external 'gdi32' name 'GetBoundsRect';
 | 
			
		||||
function GetBrushOrgEx(DC: HDC; var p2: TPoint): BOOL; external 'gdi32' name 'GetBrushOrgEx';
 | 
			
		||||
function GetCaretPos(var lpPoint: TPoint): BOOL; external 'user32' name 'GetCaretPos';
 | 
			
		||||
function GetCharABCWidths(DC: HDC; p2, p3: UINT; const ABCStructs): BOOL;external 'gdi32' name 'GetCharABCWidths';
 | 
			
		||||
function GetCharABCWidthsA(DC: HDC; p2, p3: UINT; const ABCStructs): BOOL; external 'gdi32' name 'GetCharABCWidthsA';
 | 
			
		||||
function GetCharABCWidthsFloat(DC: HDC; p2, p3: UINT; const ABCFloatSturcts): BOOL;external 'gdi32' name 'GetCharABCWidthsFloat';
 | 
			
		||||
function GetCharABCWidthsFloatA(DC: HDC; p2, p3: UINT; const ABCFloatSturcts): BOOL; external 'gdi32' name 'GetCharABCWidthsFloatA';
 | 
			
		||||
function GetCharABCWidthsFloatW(DC: HDC; p2, p3: UINT; const ABCFloatSturcts): BOOL; external 'gdi32' name 'GetCharABCWidthsFloatW';
 | 
			
		||||
function GetCharABCWidthsI(DC: HDC; p2, p3: UINT; p4: PWORD; const Widths): BOOL;external 'gdi32' name 'GetCharABCWidthsI';
 | 
			
		||||
function GetCharABCWidthsW(DC: HDC; p2, p3: UINT; const ABCStructs): BOOL; external 'gdi32' name 'GetCharABCWidthsW';
 | 
			
		||||
function GetCharacterPlacement(DC: HDC; p2: PChar; p3, p4: BOOL; var p5: TGCPResults; p6: DWORD): DWORD;external 'gdi32' name 'GetCharacterPlacement';
 | 
			
		||||
function GetCharacterPlacementA(DC: HDC; p2: LPCSTR; p3, p4: BOOL; var p5: TGCPResults; p6: DWORD): DWORD; external 'gdi32' name 'GetCharacterPlacementA';
 | 
			
		||||
function GetCharacterPlacementW(DC: HDC; p2: LPWSTR; p3, p4: BOOL; var p5: TGCPResults; p6: DWORD): DWORD; external 'gdi32' name 'GetCharacterPlacementW';
 | 
			
		||||
function GetCharWidth(DC: HDC; p2, p3: UINT; const Widths): BOOL;external 'gdi32' name 'GetCharWidth';
 | 
			
		||||
function GetCharWidth32(DC: HDC; p2, p3: UINT; const Widths): BOOL;external 'gdi32' name 'GetCharWidth32';
 | 
			
		||||
function GetCharWidth32A(DC: HDC; p2, p3: UINT; const Widths): BOOL; external 'gdi32' name 'GetCharWidth32A';
 | 
			
		||||
function GetCharWidth32W(DC: HDC; p2, p3: UINT; const Widths): BOOL; external 'gdi32' name 'GetCharWidth32W';
 | 
			
		||||
function GetCharWidthA(DC: HDC; p2, p3: UINT; const Widths): BOOL; external 'gdi32' name 'GetCharWidthA';
 | 
			
		||||
function GetCharWidthFloat(DC: HDC; p2, p3: UINT; const Widths): BOOL;external 'gdi32' name 'GetCharWidthFloat';
 | 
			
		||||
function GetCharWidthFloatA(DC: HDC; p2, p3: UINT; const Widths): BOOL; external 'gdi32' name 'GetCharWidthFloatA';
 | 
			
		||||
function GetCharWidthFloatW(DC: HDC; p2, p3: UINT; const Widths): BOOL; external 'gdi32' name 'GetCharWidthFloatW';
 | 
			
		||||
function GetCharWidthI(DC: HDC; p2, p3: UINT; p4: PWORD; const Widths): BOOL;external 'gdi32' name 'GetCharWidthI';
 | 
			
		||||
function GetCharWidthW(DC: HDC; p2, p3: UINT; const Widths): BOOL; external 'gdi32' name 'GetCharWidthW';
 | 
			
		||||
function GetClassInfo(hInstance: HINST; lpClassName: PChar; var lpWndClass: TWndClass): BOOL;external 'user32' name 'GetClassInfo';
 | 
			
		||||
function GetClassInfoA(hInstance: HINST; lpClassName: LPCSTR; var lpWndClass: TWndClassA): BOOL; external 'user32' name 'GetClassInfoA';
 | 
			
		||||
function GetClassInfoEx(Instance: HINST; Classname: PChar; var WndClass: TWndClassEx): BOOL;external 'user32' name 'GetClassInfoEx';
 | 
			
		||||
//function GetClassInfoExA(Instance: HINST; Classname: LPCSTR; var WndClass: TWndClassExA): BOOL; external 'user32' name 'GetClassInfoExA';
 | 
			
		||||
//function GetClassInfoExW(Instance: HINST; Classname: LPWSTR; var WndClass: TWndClassExW): BOOL; external 'user32' name 'GetClassInfoExW';
 | 
			
		||||
//function GetClassInfoW(hInstance: HINST; lpClassName: LPWSTR; var lpWndClass: TWndClassW): BOOL; external 'user32' name 'GetClassInfoW';
 | 
			
		||||
function GetClientRect(hWnd: HWND; var lpRect: TRect): BOOL; external 'user32' name 'GetClientRect';
 | 
			
		||||
function GetClipBox(DC: HDC; var Rect: TRect): Integer; external 'gdi32' name 'GetClipBox';
 | 
			
		||||
function GetClipCursor(var lpRect: TRect): BOOL; external 'user32' name 'GetClipCursor';
 | 
			
		||||
function GetColorAdjustment(DC: HDC; var p2: TColorAdjustment): BOOL; external 'gdi32' name 'GetColorAdjustment';
 | 
			
		||||
function GetCommConfig(hCommDev: THandle; var lpCC: TCommConfig; var lpdwSize: DWORD): BOOL; external 'kernel32' name 'GetCommConfig';
 | 
			
		||||
function GetCommMask(hFile: THandle; var lpEvtMask: DWORD): BOOL; external 'kernel32' name 'GetCommMask';
 | 
			
		||||
function GetCommModemStatus(hFile: THandle; var lpModemStat: DWORD): BOOL; external 'kernel32' name 'GetCommModemStatus';
 | 
			
		||||
function GetCommProperties(hFile: THandle; var lpCommProp: TCommProp): BOOL; external 'kernel32' name 'GetCommProperties';
 | 
			
		||||
function GetCommState(hFile: THandle; var lpDCB: TDCB): BOOL; external 'kernel32' name 'GetCommState';
 | 
			
		||||
function GetCommTimeouts(hFile: THandle; var lpCommTimeouts: TCommTimeouts): BOOL; external 'kernel32' name 'GetCommTimeouts';
 | 
			
		||||
function GetComputerName(lpBuffer: PChar; var nSize: DWORD): BOOL;external 'kernel32' name 'GetComputerName';
 | 
			
		||||
function GetComputerNameA(lpBuffer: LPCSTR; var nSize: DWORD): BOOL; external 'kernel32' name 'GetComputerNameA';
 | 
			
		||||
function GetComputerNameW(lpBuffer: LPWSTR; var nSize: DWORD): BOOL; external 'kernel32' name 'GetComputerNameW';
 | 
			
		||||
function GetConsoleCursorInfo(hConsoleOutput: THandle; var lpConsoleCursorInfo: TConsoleCursorInfo): BOOL; external 'kernel32' name 'GetConsoleCursorInfo';
 | 
			
		||||
function GetConsoleMode(hConsoleHandle: THandle; var lpMode: DWORD): BOOL; external 'kernel32' name 'GetConsoleMode';
 | 
			
		||||
function GetConsoleScreenBufferInfo(hConsoleOutput: THandle; var lpConsoleScreenBufferInfo: TConsoleScreenBufferInfo): BOOL; external 'kernel32' name 'GetConsoleScreenBufferInfo';
 | 
			
		||||
function GetCPInfo(CodePage: UINT; var lpCPInfo: TCPInfo): BOOL;external 'kernel32' name 'GetCPInfo';
 | 
			
		||||
//function GetCurrentHwProfile(var lpHwProfileInfo: THWProfileInfo): BOOL;external 'advapi32' name 'GetCurrentHwProfile';
 | 
			
		||||
//function GetCurrentHwProfileA(var lpHwProfileInfo: THWProfileInfoA): BOOL;external 'advapi32' name 'GetCurrentHwProfileA';
 | 
			
		||||
//function GetCurrentHwProfileW(var lpHwProfileInfo: THWProfileInfoW): BOOL;external 'advapi32' name 'GetCurrentHwProfileW';
 | 
			
		||||
function GetCursorInfo(var pci: TCursorInfo): BOOL;external 'user32' name 'GetCursorInfo';
 | 
			
		||||
function GetCursorPos(var lpPoint: TPoint): BOOL; external 'user32' name 'GetCursorPos';
 | 
			
		||||
function GetDCOrgEx(DC: HDC; var Origin: TPoint): BOOL; external 'gdi32' name 'GetDCOrgEx';
 | 
			
		||||
function GetDefaultCommConfig(lpszName: PChar; var lpCC: TCommConfig; var lpdwSize: DWORD): BOOL;external 'kernel32' name 'GetDefaultCommConfig';
 | 
			
		||||
function GetDefaultCommConfigA(lpszName: LPCSTR; var lpCC: TCommConfig; var lpdwSize: DWORD): BOOL; external 'kernel32' name 'GetDefaultCommConfigA';
 | 
			
		||||
function GetDefaultCommConfigW(lpszName: LPWSTR; var lpCC: TCommConfig; var lpdwSize: DWORD): BOOL; external 'kernel32' name 'GetDefaultCommConfigW';
 | 
			
		||||
function GetDeviceGammaRamp(DC: HDC; var Ramp): BOOL; external 'gdi32' name 'GetDeviceGammaRamp';
 | 
			
		||||
function GetDIBColorTable(DC: HDC; p2, p3: UINT; var RGBQuadStructs): UINT; external 'gdi32' name 'GetDIBColorTable';
 | 
			
		||||
function GetDIBits(DC: HDC; Bitmap: HBitmap; StartScan, NumScans: UINT; Bits: Pointer; var BitInfo: TBitmapInfo; Usage: UINT): Integer; external 'gdi32' name 'GetDIBits';
 | 
			
		||||
function GetDiskFreeSpace(lpRootPathName: PChar; var lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters: DWORD): BOOL;external 'kernel32' name 'GetDiskFreeSpace';
 | 
			
		||||
function GetDiskFreeSpaceA(lpRootPathName: LPCSTR; var lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters: DWORD): BOOL; external 'kernel32' name 'GetDiskFreeSpaceA';
 | 
			
		||||
function GetDiskFreeSpaceEx(lpDirectoryName: PChar; var lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes; lpTotalNumberOfFreeBytes: PLargeInteger): BOOL;external 'kernel32' name 'GetDiskFreeSpaceEx';
 | 
			
		||||
function GetDiskFreeSpaceExA(lpDirectoryName: LPCSTR; var lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes; lpTotalNumberOfFreeBytes: PLargeInteger): BOOL;external 'kernel32' name 'GetDiskFreeSpaceExA';
 | 
			
		||||
function GetDiskFreeSpaceExW(lpDirectoryName: LPWSTR; var lpFreeBytesAvailableToCaller, lpTotalNumberOfBytes; lpTotalNumberOfFreeBytes: PLargeInteger): BOOL;external 'kernel32' name 'GetDiskFreeSpaceExW';
 | 
			
		||||
function GetDiskFreeSpaceW(lpRootPathName: LPWSTR; var lpSectorsPerCluster, lpBytesPerSector, lpNumberOfFreeClusters, lpTotalNumberOfClusters: DWORD): BOOL; external 'kernel32' name 'GetDiskFreeSpaceW';
 | 
			
		||||
function GetDlgItemInt(hDlg: HWND; nIDDlgItem: Integer; var lpTranslated: BOOL; bSigned: BOOL): UINT; external 'user32' name 'GetDlgItemInt';
 | 
			
		||||
function GetEnhMetaFilePixelFormat(p1: HENHMETAFILE; p2: Cardinal; var p3: TPixelFormatDescriptor): UINT;external 'gdi32' name 'GetEnhMetaFilePixelFormat';
 | 
			
		||||
function GetExitCodeProcess(hProcess: THandle; var lpExitCode: DWORD): BOOL; external 'kernel32' name 'GetExitCodeProcess';
 | 
			
		||||
function GetExitCodeThread(hThread: THandle; var lpExitCode: DWORD): BOOL; external 'kernel32' name 'GetExitCodeThread';
 | 
			
		||||
function GetFileInformationByHandle(hFile: THandle; var lpFileInformation: TByHandleFileInformation): BOOL; external 'kernel32' name 'GetFileInformationByHandle';
 | 
			
		||||
function GetFileSecurity(lpFileName: PChar; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSecurityDescriptor; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL;external 'advapi32' name 'GetFileSecurity';
 | 
			
		||||
function GetFileSecurityA(lpFileName: LPCSTR; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSecurityDescriptor; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL; external 'advapi32' name 'GetFileSecurityA';
 | 
			
		||||
function GetFileSecurityW(lpFileName: LPWSTR; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSecurityDescriptor; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL; external 'advapi32' name 'GetFileSecurityW';
 | 
			
		||||
function GetFileVersionInfoSize(lptstrFilename: PChar; var lpdwHandle: DWORD): DWORD;external 'version' name 'GetFileVersionInfoSize';
 | 
			
		||||
function GetFileVersionInfoSizeA(lptstrFilename: LPCSTR; var lpdwHandle: DWORD): DWORD; external 'version' name 'GetFileVersionInfoSizeA';
 | 
			
		||||
function GetFileVersionInfoSizeW(lptstrFilename: LPWSTR; var lpdwHandle: DWORD): DWORD; external 'version' name 'GetFileVersionInfoSizeW';
 | 
			
		||||
function GetFullPathName(lpFileName: PChar; nBufferLength: DWORD; lpBuffer: PChar; var lpFilePart: PChar): DWORD;external 'kernel32' name 'GetFullPathName';
 | 
			
		||||
function GetFullPathNameA(lpFileName: LPCSTR; nBufferLength: DWORD; lpBuffer: LPCSTR; var lpFilePart: LPCSTR): DWORD; external 'kernel32' name 'GetFullPathNameA';
 | 
			
		||||
function GetFullPathNameW(lpFileName: LPWSTR; nBufferLength: DWORD; lpBuffer: LPWSTR; var lpFilePart: LPWSTR): DWORD; external 'kernel32' name 'GetFullPathNameW';
 | 
			
		||||
function GetGlyphOutline(DC: HDC; p2, p3: UINT; const p4: TGlyphMetrics; p5: DWORD; p6: Pointer; const p7: TMat2): DWORD;external 'gdi32' name 'GetGlyphOutline';
 | 
			
		||||
function GetGlyphOutlineA(DC: HDC; p2, p3: UINT; const p4: TGlyphMetrics; p5: DWORD; p6: Pointer; const p7: TMat2): DWORD; external 'gdi32' name 'GetGlyphOutlineA';
 | 
			
		||||
function GetGlyphOutlineW(DC: HDC; p2, p3: UINT; const p4: TGlyphMetrics; p5: DWORD; p6: Pointer; const p7: TMat2): DWORD; external 'gdi32' name 'GetGlyphOutlineW';
 | 
			
		||||
//function GetGUIThreadInfo(idThread: DWORD; var pgui: TGUIThreadinfo): BOOL;external 'user32' name 'GetGUIThreadInfo';
 | 
			
		||||
function GetHandleInformation(hObject: THandle; var lpdwFlags: DWORD): BOOL; external 'kernel32' name 'GetHandleInformation';
 | 
			
		||||
function GetICMProfile(DC: HDC; var Size: DWORD; Name: PChar): BOOL;external 'gdi32' name 'GetICMProfile';
 | 
			
		||||
function GetICMProfileA(DC: HDC; var Size: DWORD; Name: LPCSTR): BOOL; external 'gdi32' name 'GetICMProfileA';
 | 
			
		||||
function GetICMProfileW(DC: HDC; var Size: DWORD; Name: LPWSTR): BOOL; external 'gdi32' name 'GetICMProfileW';
 | 
			
		||||
function GetIconInfo(hIcon: HICON; var piconinfo: TIconInfo): BOOL; external 'user32' name 'GetIconInfo';
 | 
			
		||||
function GetKernelObjectSecurity(Handle: THandle; RequestedInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSecurityDescriptor; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL; external 'advapi32' name 'GetKernelObjectSecurity';
 | 
			
		||||
function GetKerningPairs(DC: HDC; Count: DWORD; var KerningPairs): DWORD;external 'gdi32' name 'GetKerningPairs';
 | 
			
		||||
function GetKeyboardLayoutList(nBuff: Integer; var List): UINT; external 'user32' name 'GetKeyboardLayoutList';
 | 
			
		||||
//function GetKeyboardState(var KeyState: TKeyboardState): BOOL; external 'user32' name 'GetKeyboardState';
 | 
			
		||||
//function GetLastInputInfo(var plii: TLastInputInfo): BOOL;external 'user32' name 'GetLastInputInfo';
 | 
			
		||||
function GetLogColorSpace(p1: HCOLORSPACE; var ColorSpace: TLogColorSpace; Size: DWORD): BOOL;external 'gdi32' name 'GetLogColorSpace';
 | 
			
		||||
function GetLogColorSpaceA(p1: HCOLORSPACE; var ColorSpace: TLogColorSpaceA; Size: DWORD): BOOL; external 'gdi32' name 'GetLogColorSpaceA';
 | 
			
		||||
//function GetLogColorSpaceW(p1: HCOLORSPACE; var ColorSpace: TLogColorSpaceW; Size: DWORD): BOOL; external 'gdi32' name 'GetLogColorSpaceW';
 | 
			
		||||
function GetMailslotInfo(hMailslot: THandle; lpMaxMessageSize: Pointer; var lpNextSize: DWORD; lpMessageCount, lpReadTimeout: Pointer): BOOL; external 'kernel32' name 'GetMailslotInfo';
 | 
			
		||||
//function GetMenuBarInfo(hend: HWND; idObject, idItem: Longint; var pmbi: TMenuBarInfo): BOOL;external 'user32' name 'GetMenuBarInfo';
 | 
			
		||||
//function GetMenuInfo(hMenu: HMENU; var lpmi: TMenuInfo): BOOL;external 'user32' name 'GetMenuInfo';
 | 
			
		||||
function GetMenuItemInfo(p1: HMENU; p2: UINT; p3: BOOL; var p4: TMenuItemInfo): BOOL;external 'user32' name 'GetMenuItemInfo';
 | 
			
		||||
function GetMenuItemInfoA(p1: HMENU; p2: UINT; p3: BOOL; var p4: TMenuItemInfoA): BOOL; external 'user32' name 'GetMenuItemInfoA';
 | 
			
		||||
//function GetMenuItemInfoW(p1: HMENU; p2: UINT; p3: BOOL; var p4: TMenuItemInfoW): BOOL; external 'user32' name 'GetMenuItemInfoW';
 | 
			
		||||
function GetMenuItemRect(hWnd: HWND; hMenu: HMENU; uItem: UINT; var lprcItem: TRect): BOOL; external 'user32' name 'GetMenuItemRect';
 | 
			
		||||
function GetMessage(var lpMsg: TMsg; hWnd: HWND; wMsgFilterMin, wMsgFilterMax: UINT): BOOL;external 'user32' name 'GetMessage';
 | 
			
		||||
function GetMessageA(var lpMsg: TMsg; hWnd: HWND; wMsgFilterMin, wMsgFilterMax: UINT): BOOL; external 'user32' name 'GetMessageA';
 | 
			
		||||
function GetMessageW(var lpMsg: TMsg; hWnd: HWND; wMsgFilterMin, wMsgFilterMax: UINT): BOOL; external 'user32' name 'GetMessageW';
 | 
			
		||||
function GetMiterLimit(DC: HDC; var Limit: Single): BOOL; external 'gdi32' name 'GetMiterLimit';
 | 
			
		||||
//function GetMouseMovePoints(cbSize: UINT; var lppt, lpptBuf: TMouseMovePoint; nBufPoints: Integer; resolution: DWORD): Integer;external 'user32' name 'GetMouseMovePoints';
 | 
			
		||||
function GetNamedPipeInfo(hNamedPipe: THandle; var lpFlags: DWORD; lpOutBufferSize, lpInBufferSize, lpMaxInstances: Pointer): BOOL; external 'kernel32' name 'GetNamedPipeInfo';
 | 
			
		||||
function GetNumberOfConsoleInputEvents(hConsoleInput: THandle; var lpNumberOfEvents: DWORD): BOOL; external 'kernel32' name 'GetNumberOfConsoleInputEvents';
 | 
			
		||||
function GetNumberOfConsoleMouseButtons(var lpNumberOfMouseButtons: DWORD): BOOL; external 'kernel32' name 'GetNumberOfConsoleMouseButtons';
 | 
			
		||||
function GetNumberOfEventLogRecords(hEventLog: THandle; var NumberOfRecords: DWORD): BOOL; external 'advapi32' name 'GetNumberOfEventLogRecords';
 | 
			
		||||
function GetOldestEventLogRecord(hEventLog: THandle; var OldestRecord: DWORD): BOOL; external 'advapi32' name 'GetOldestEventLogRecord';
 | 
			
		||||
function GetOverlappedResult(hFile: THandle; const lpOverlapped: TOverlapped; var lpNumberOfBytesTransferred: DWORD; bWait: BOOL): BOOL; external 'kernel32' name 'GetOverlappedResult';
 | 
			
		||||
function GetPaletteEntries(Palette: HPALETTE; StartIndex, NumEntries: UINT; var PaletteEntries): UINT; external 'gdi32' name 'GetPaletteEntries';
 | 
			
		||||
function GetPath(DC: HDC; var Points, Types; nSize: Integer): Integer; external 'gdi32' name 'GetPath';
 | 
			
		||||
function GetPriorityClipboardFormat(var paFormatPriorityList; cFormats: Integer): Integer; external 'user32' name 'GetPriorityClipboardFormat';
 | 
			
		||||
function GetPrivateObjectSecurity(ObjectDescriptor: PSecurityDescriptor; SecurityInformation: SECURITY_INFORMATION; ResultantDescriptor: PSecurityDescriptor; DescriptorLength: DWORD; var ReturnLength: DWORD): BOOL;external 'advapi32' name 'GetPrivateObjectSecurity';
 | 
			
		||||
function GetProcessAffinityMask(hProcess: THandle; var lpProcessAffinityMask, lpSystemAffinityMask: DWORD): BOOL; external 'kernel32' name 'GetProcessAffinityMask';
 | 
			
		||||
function GetProcessHeaps(NumberOfHeaps: DWORD; var ProcessHeaps: THandle): DWORD;external 'kernel32' name 'GetProcessHeaps';
 | 
			
		||||
function GetProcessPriorityBoost(hThread: THandle; var DisablePriorityBoost: Bool): BOOL;external 'kernel32' name 'GetProcessPriorityBoost';
 | 
			
		||||
function GetProcessShutdownParameters(var lpdwLevel, lpdwFlags: DWORD): BOOL; external 'kernel32' name 'GetProcessShutdownParameters';
 | 
			
		||||
function GetProcessTimes(hProcess: THandle; var lpCreationTime, lpExitTime, lpKernelTime, lpUserTime: TFileTime): BOOL; external 'kernel32' name 'GetProcessTimes';
 | 
			
		||||
function GetProcessWorkingSetSize(hProcess: THandle; var lpMinimumWorkingSetSize, lpMaximumWorkingSetSize: DWORD): BOOL; external 'kernel32' name 'GetProcessWorkingSetSize';
 | 
			
		||||
function GetQueuedCompletionStatus(CompletionPort: THandle; var lpNumberOfBytesTransferred, lpCompletionKey: DWORD; var lpOverlapped: POverlapped; dwMilliseconds: DWORD): BOOL; external 'kernel32' name 'GetQueuedCompletionStatus';
 | 
			
		||||
function GetRasterizerCaps(var p1: TRasterizerStatus; p2: UINT): BOOL; external 'gdi32' name 'GetRasterizerCaps';
 | 
			
		||||
function GetRgnBox(RGN: HRGN; var p2: TRect): Integer; external 'gdi32' name 'GetRgnBox';
 | 
			
		||||
function GetScrollInfo(hWnd: HWND; BarFlag: Integer; var ScrollInfo: TScrollInfo): BOOL; external 'user32' name 'GetScrollInfo';
 | 
			
		||||
function GetScrollRange(hWnd: HWND; nBar: Integer; var lpMinPos, lpMaxPos: Integer): BOOL; external 'user32' name 'GetScrollRange';
 | 
			
		||||
function GetSecurityDescriptorControl(pSecurityDescriptor: PSecurityDescriptor; var pControl: SECURITY_DESCRIPTOR_CONTROL; var lpdwRevision: DWORD): BOOL; external 'advapi32' name 'GetSecurityDescriptorControl';
 | 
			
		||||
function GetSecurityDescriptorDacl(pSecurityDescriptor: PSecurityDescriptor; var lpbDaclPresent: BOOL; var pDacl: PACL; var lpbDaclDefaulted: BOOL): BOOL; external 'advapi32' name 'GetSecurityDescriptorDacl';
 | 
			
		||||
function GetSecurityDescriptorGroup(pSecurityDescriptor: PSecurityDescriptor; var pGroup: PSID; var lpbGroupDefaulted: BOOL): BOOL; external 'advapi32' name 'GetSecurityDescriptorGroup';
 | 
			
		||||
function GetSecurityDescriptorOwner(pSecurityDescriptor: PSecurityDescriptor; var pOwner: PSID; var lpbOwnerDefaulted: BOOL): BOOL; external 'advapi32' name 'GetSecurityDescriptorOwner';
 | 
			
		||||
function GetSecurityDescriptorSacl(pSecurityDescriptor: PSecurityDescriptor; var lpbSaclPresent: BOOL; var pSacl: PACL; var lpbSaclDefaulted: BOOL): BOOL; external 'advapi32' name 'GetSecurityDescriptorSacl';
 | 
			
		||||
function GetStringTypeA(Locale: LCID; dwInfoType: DWORD; const lpSrcStr: LPCSTR; cchSrc: BOOL; var lpCharType: Word): BOOL;external 'kernel32' name 'GetStringTypeA';
 | 
			
		||||
function GetStringTypeEx(Locale: LCID; dwInfoType: DWORD; lpSrcStr: PChar; cchSrc: Integer; var lpCharType): BOOL;external 'kernel32' name 'GetStringTypeEx';
 | 
			
		||||
function GetStringTypeExA(Locale: LCID; dwInfoType: DWORD; lpSrcStr: LPCSTR; cchSrc: Integer; var lpCharType): BOOL; external 'kernel32' name 'GetStringTypeExA';
 | 
			
		||||
function GetStringTypeExW(Locale: LCID; dwInfoType: DWORD; lpSrcStr: LPWSTR; cchSrc: Integer; var lpCharType): BOOL; external 'kernel32' name 'GetStringTypeExW';
 | 
			
		||||
function GetStringTypeW(dwInfoType: DWORD; const lpSrcStr: WCHAR; cchSrc: BOOL; var lpCharType: Word): BOOL;external 'kernel32' name 'GetStringTypeW';
 | 
			
		||||
function GetSystemPaletteEntries(DC: HDC; StartIndex, NumEntries: UINT; var PaletteEntries): UINT; external 'gdi32' name 'GetSystemPaletteEntries';
 | 
			
		||||
function GetSystemPowerStatus(var lpSystemPowerStatus: TSystemPowerStatus): BOOL;external 'kernel32' name 'GetSystemPowerStatus';
 | 
			
		||||
function GetSystemTimeAdjustment(var lpTimeAdjustment, lpTimeIncrement: DWORD; var lpTimeAdjustmentDisabled: BOOL): BOOL; external 'kernel32' name 'GetSystemTimeAdjustment';
 | 
			
		||||
function GetTabbedTextExtent(hDC: HDC; lpString: PChar; nCount, nTabPositions: Integer; var lpnTabStopPositions): DWORD;external 'user32' name 'GetTabbedTextExtent';
 | 
			
		||||
function GetTabbedTextExtentA(hDC: HDC; lpString: LPCSTR; nCount, nTabPositions: Integer; var lpnTabStopPositions): DWORD; external 'user32' name 'GetTabbedTextExtentA';
 | 
			
		||||
function GetTabbedTextExtentW(hDC: HDC; lpString: LPWSTR; nCount, nTabPositions: Integer; var lpnTabStopPositions): DWORD; external 'user32' name 'GetTabbedTextExtentW';
 | 
			
		||||
function GetTapeParameters(hDevice: THandle; dwOperation: DWORD; var lpdwSize: DWORD; lpTapeInformation: Pointer): DWORD; external 'kernel32' name 'GetTapeParameters';
 | 
			
		||||
function GetTapePosition(hDevice: THandle; dwPositionType: DWORD; var lpdwPartition, lpdwOffsetLow: DWORD; lpdwOffsetHigh: Pointer): DWORD; external 'kernel32' name 'GetTapePosition';
 | 
			
		||||
function GetTextExtentExPoint(DC: HDC; p2: PChar; p3, p4: Integer; p5, p6: PInteger; var p7: TSize): BOOL;external 'gdi32' name 'GetTextExtentExPoint';
 | 
			
		||||
function GetTextExtentExPointA(DC: HDC; p2: LPCSTR; p3, p4: Integer; p5, p6: PInteger; var p7: TSize): BOOL; external 'gdi32' name 'GetTextExtentExPointA';
 | 
			
		||||
function GetTextExtentExPointI(DC: HDC; p2: PWORD; p3, p4: Integer; p5, p6: PINT; var p7: TSize): BOOL;external 'gdi32' name 'GetTextExtentExPointI';
 | 
			
		||||
function GetTextExtentExPointW(DC: HDC; p2: LPWSTR; p3, p4: Integer; p5, p6: PInteger; var p7: TSize): BOOL; external 'gdi32' name 'GetTextExtentExPointW';
 | 
			
		||||
function GetTextExtentPoint(DC: HDC; Str: PChar; Count: Integer; var Size: TSize): BOOL;external 'gdi32' name 'GetTextExtentPoint';
 | 
			
		||||
function GetTextExtentPoint32(DC: HDC; Str: PChar; Count: Integer; var Size: TSize): BOOL;external 'gdi32' name 'GetTextExtentPoint32';
 | 
			
		||||
function GetTextExtentPoint32A(DC: HDC; Str: LPCSTR; Count: Integer; var Size: TSize): BOOL; external 'gdi32' name 'GetTextExtentPoint32A';
 | 
			
		||||
function GetTextExtentPoint32W(DC: HDC; Str: LPWSTR; Count: Integer; var Size: TSize): BOOL; external 'gdi32' name 'GetTextExtentPoint32W';
 | 
			
		||||
function GetTextExtentPointA(DC: HDC; Str: LPCSTR; Count: Integer; var Size: TSize): BOOL; external 'gdi32' name 'GetTextExtentPointA';
 | 
			
		||||
function GetTextExtentPointI(DC: HDC; p2: PWORD; p3: Integer; var p4: TSize): BOOL;external 'gdi32' name 'GetTextExtentPointI';
 | 
			
		||||
function GetTextExtentPointW(DC: HDC; Str: LPWSTR; Count: Integer; var Size: TSize): BOOL; external 'gdi32' name 'GetTextExtentPointW';
 | 
			
		||||
function GetTextMetrics(DC: HDC; var TM: TTextMetric): BOOL;external 'gdi32' name 'GetTextMetrics';
 | 
			
		||||
//function GetTextMetricsA(DC: HDC; var TM: TTextMetricA): BOOL; external 'gdi32' name 'GetTextMetricsA';
 | 
			
		||||
//function GetTextMetricsW(DC: HDC; var TM: TTextMetricW): BOOL; external 'gdi32' name 'GetTextMetricsW';
 | 
			
		||||
function GetThreadContext(hThread: THandle; var lpContext: TContext): BOOL; external 'kernel32' name 'GetThreadContext';
 | 
			
		||||
function GetThreadPriorityBoost(hThread: THandle; var DisablePriorityBoost: Bool): BOOL;external 'kernel32' name 'GetThreadPriorityBoost';
 | 
			
		||||
function GetThreadSelectorEntry(hThread: THandle; dwSelector: DWORD; var lpSelectorEntry: TLDTEntry): BOOL; external 'kernel32' name 'GetThreadSelectorEntry';
 | 
			
		||||
function GetThreadTimes(hThread: THandle; var lpCreationTime, lpExitTime, lpKernelTime, lpUserTime: TFileTime): BOOL; external 'kernel32' name 'GetThreadTimes';
 | 
			
		||||
function GetTimeZoneInformation(var lpTimeZoneInformation: TTimeZoneInformation): DWORD; external 'kernel32' name 'GetTimeZoneInformation';
 | 
			
		||||
//function GetTitleBarInfo(hwnd: HWND; var pti: TTitleBarInfo): BOOL;external 'user32' name 'GetTitleBarInfo';
 | 
			
		||||
//function GetTokenInformation(TokenHandle: THandle; TokenInformationClass: TTokenInformationClass; TokenInformation: Pointer; TokenInformationLength: DWORD; var ReturnLength: DWORD): BOOL; external 'advapi32' name 'GetTokenInformation';
 | 
			
		||||
function GetUpdateRect(hWnd: HWND; var lpRect: TRect; bErase: BOOL): BOOL; external 'user32' name 'GetUpdateRect';
 | 
			
		||||
function GetUserName(lpBuffer: PChar; var nSize: DWORD): BOOL;external 'advapi32' name 'GetUserName';
 | 
			
		||||
function GetUserNameA(lpBuffer: LPCSTR; var nSize: DWORD): BOOL; external 'advapi32' name 'GetUserNameA';
 | 
			
		||||
function GetUserNameW(lpBuffer: LPWSTR; var nSize: DWORD): BOOL; external 'advapi32' name 'GetUserNameW';
 | 
			
		||||
function GetUserObjectInformation(hObj: THandle; nIndex: Integer; pvInfo: Pointer; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL;external 'user32' name 'GetUserObjectInformation';
 | 
			
		||||
function GetUserObjectInformationA(hObj: THandle; nIndex: Integer; pvInfo: Pointer; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL; external 'user32' name 'GetUserObjectInformationA';
 | 
			
		||||
function GetUserObjectInformationW(hObj: THandle; nIndex: Integer; pvInfo: Pointer; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL; external 'user32' name 'GetUserObjectInformationW';
 | 
			
		||||
function GetUserObjectSecurity(hObj: THandle; var pSIRequested: DWORD; pSID: PSecurityDescriptor; nLength: DWORD; var lpnLengthNeeded: DWORD): BOOL; external 'user32' name 'GetUserObjectSecurity';
 | 
			
		||||
function GetVersionEx(var lpVersionInformation: TOSVersionInfo): BOOL;external 'kernel32' name 'GetVersionEx';
 | 
			
		||||
function GetVersionExA(var lpVersionInformation: TOSVersionInfo): BOOL; external 'kernel32' name 'GetVersionExA';
 | 
			
		||||
function GetVersionExW(var lpVersionInformation: TOSVersionInfo): BOOL; external 'kernel32' name 'GetVersionExW';
 | 
			
		||||
function GetViewportExtEx(DC: HDC; var Size: TSize): BOOL; external 'gdi32' name 'GetViewportExtEx';
 | 
			
		||||
function GetViewportOrgEx(DC: HDC; var Point: TPoint): BOOL; external 'gdi32' name 'GetViewportOrgEx';
 | 
			
		||||
function GetVolumeInformation(lpRootPathName: PChar; lpVolumeNameBuffer: PChar; nVolumeNameSize: DWORD; lpVolumeSerialNumber: PDWORD; var lpMaximumComponentLength, lpFileSystemFlags: DWORD; lpFileSystemNameBuffer: PChar; nFileSystemNameSize: DWORD): BOOL;external 'kernel32' name 'GetVolumeInformation';
 | 
			
		||||
function GetVolumeInformationA(lpRootPathName: LPCSTR; lpVolumeNameBuffer: LPCSTR; nVolumeNameSize: DWORD; lpVolumeSerialNumber: PDWORD; var lpMaximumComponentLength, lpFileSystemFlags: DWORD; lpFileSystemNameBuffer: LPCSTR; nFileSystemNameSize: DWORD): BOOL; external 'kernel32' name 'GetVolumeInformationA';
 | 
			
		||||
function GetVolumeInformationW(lpRootPathName: LPWSTR; lpVolumeNameBuffer: LPWSTR; nVolumeNameSize: DWORD; lpVolumeSerialNumber: PDWORD; var lpMaximumComponentLength, lpFileSystemFlags: DWORD; lpFileSystemNameBuffer: LPWSTR; nFileSystemNameSize: DWORD): BOOL; external 'kernel32' name 'GetVolumeInformationW';
 | 
			
		||||
function GetWindowExtEx(DC: HDC; var Size: TSize): BOOL; external 'gdi32' name 'GetWindowExtEx';
 | 
			
		||||
//function GetWindowInfo(hwnd: HWND; var pwi: TWindowInfo): BOOL;external 'user32' name 'GetWindowInfo';
 | 
			
		||||
function GetWindowOrgEx(DC: HDC; var Point: TPoint): BOOL; external 'gdi32' name 'GetWindowOrgEx';
 | 
			
		||||
function GetWindowRect(hWnd: HWND; var lpRect: TRect): BOOL; external 'user32' name 'GetWindowRect';
 | 
			
		||||
function GetWorldTransform(DC: HDC; var p2: TXForm): BOOL; external 'gdi32' name 'GetWorldTransform';
 | 
			
		||||
//function GradientFill(DC: HDC; var p2: TTriVertex; p3: ULONG; p4: Pointer; p5, p6: ULONG): BOOL;external 'gdi32' name 'GradientFill';
 | 
			
		||||
function HeapWalk(hHeap: THandle; var lpEntry: TProcessHeapEntry): BOOL; external 'kernel32' name 'HeapWalk';
 | 
			
		||||
function InflateRect(var lprc: TRect; dx, dy: Integer): BOOL; external 'user32' name 'InflateRect';
 | 
			
		||||
function InitializeAcl(var pAcl: TACL; nAclLength, dwAclRevision: DWORD): BOOL; external 'advapi32' name 'InitializeAcl';
 | 
			
		||||
function InitializeCriticalSectionAndSpinCount(var lpCriticalSection: TRTLCriticalSection; dwSpinCount: DWORD): BOOL;external 'kernel32' name 'InitializeCriticalSectionAndSpinCount';
 | 
			
		||||
function InitializeSid(Sid: Pointer; const pIdentifierAuthority: TSIDIdentifierAuthority; nSubAuthorityCount: Byte): BOOL; external 'advapi32' name 'InitializeSid';
 | 
			
		||||
function InsertMenuItem(p1: HMENU; p2: UINT; p3: BOOL; const p4: TMenuItemInfo): BOOL;external 'user32' name 'InsertMenuItem';
 | 
			
		||||
function InsertMenuItemA(p1: HMENU; p2: UINT; p3: BOOL; const p4: TMenuItemInfoA): BOOL; external 'user32' name 'InsertMenuItemA';
 | 
			
		||||
//function InsertMenuItemW(p1: HMENU; p2: UINT; p3: BOOL; const p4: TMenuItemInfoW): BOOL; external 'user32' name 'InsertMenuItemW';
 | 
			
		||||
function InterlockedCompareExchange(var Destination: Pointer; Exchange: Pointer; Comperand: Pointer): Pointer;external 'kernel32' name 'InterlockedCompareExchange';
 | 
			
		||||
function InterlockedDecrement(var Addend: Integer): Integer; external 'kernel32' name 'InterlockedDecrement';
 | 
			
		||||
function InterlockedExchange(var Target: Integer; Value: Integer): Integer; external 'kernel32' name 'InterlockedExchange';
 | 
			
		||||
function InterlockedIncrement(var Addend: Integer): Integer; external 'kernel32' name 'InterlockedIncrement';
 | 
			
		||||
function IntersectRect(var lprcDst: TRect; const lprcSrc1, lprcSrc2: TRect): BOOL; external 'user32' name 'IntersectRect';
 | 
			
		||||
function InvertRect(hDC: HDC; const lprc: TRect): BOOL; external 'user32' name 'InvertRect';
 | 
			
		||||
function IsDialogMessage(hDlg: HWND; var lpMsg: TMsg): BOOL;external 'user32' name 'IsDialogMessage';
 | 
			
		||||
function IsDialogMessageA(hDlg: HWND; var lpMsg: TMsg): BOOL; external 'user32' name 'IsDialogMessageA';
 | 
			
		||||
function IsDialogMessageW(hDlg: HWND; var lpMsg: TMsg): BOOL; external 'user32' name 'IsDialogMessageW';
 | 
			
		||||
function IsRectEmpty(const lprc: TRect): BOOL; external 'user32' name 'IsRectEmpty';
 | 
			
		||||
function IsValidAcl(const pAcl: TACL): BOOL; external 'advapi32' name 'IsValidAcl';
 | 
			
		||||
function LocalFileTimeToFileTime(const lpLocalFileTime: TFileTime; var lpFileTime: TFileTime): BOOL; external 'kernel32' name 'LocalFileTimeToFileTime';
 | 
			
		||||
function LockFileEx(hFile: THandle; dwFlags, dwReserved: DWORD; nNumberOfBytesToLockLow, nNumberOfBytesToLockHigh: DWORD; const lpOverlapped: TOverlapped): BOOL; external 'kernel32' name 'LockFileEx';
 | 
			
		||||
function LogonUser(lpszUsername, lpszDomain, lpszPassword: PChar; dwLogonType, dwLogonProvider: DWORD; var phToken: THandle): BOOL;external 'advapi32' name 'LogonUser';
 | 
			
		||||
function LogonUserA(lpszUsername, lpszDomain, lpszPassword: LPCSTR; dwLogonType, dwLogonProvider: DWORD; var phToken: THandle): BOOL; external 'advapi32' name 'LogonUserA';
 | 
			
		||||
function LogonUserW(lpszUsername, lpszDomain, lpszPassword: LPWSTR; dwLogonType, dwLogonProvider: DWORD; var phToken: THandle): BOOL; external 'advapi32' name 'LogonUserW';
 | 
			
		||||
function LookupAccountName(lpSystemName, lpAccountName: PChar; Sid: PSID; var cbSid: DWORD; ReferencedDomainName: PChar; var cbReferencedDomainName: DWORD; var peUse: SID_NAME_USE): BOOL;external 'advapi32' name 'LookupAccountName';
 | 
			
		||||
function LookupAccountNameA(lpSystemName, lpAccountName: LPCSTR; Sid: PSID; var cbSid: DWORD; ReferencedDomainName: LPCSTR; var cbReferencedDomainName: DWORD; var peUse: SID_NAME_USE): BOOL; external 'advapi32' name 'LookupAccountNameA';
 | 
			
		||||
function LookupAccountNameW(lpSystemName, lpAccountName: LPWSTR; Sid: PSID; var cbSid: DWORD; ReferencedDomainName: LPWSTR; var cbReferencedDomainName: DWORD; var peUse: SID_NAME_USE): BOOL; external 'advapi32' name 'LookupAccountNameW';
 | 
			
		||||
function LookupAccountSid(lpSystemName: PChar; Sid: PSID; Name: PChar; var cbName: DWORD; ReferencedDomainName: PChar; var cbReferencedDomainName: DWORD; var peUse: SID_NAME_USE): BOOL;external 'advapi32' name 'LookupAccountSid';
 | 
			
		||||
function LookupAccountSidA(lpSystemName: LPCSTR; Sid: PSID; Name: LPCSTR; var cbName: DWORD; ReferencedDomainName: LPCSTR; var cbReferencedDomainName: DWORD; var peUse: SID_NAME_USE): BOOL; external 'advapi32' name 'LookupAccountSidA';
 | 
			
		||||
function LookupAccountSidW(lpSystemName: LPWSTR; Sid: PSID; Name: LPWSTR; var cbName: DWORD; ReferencedDomainName: LPWSTR; var cbReferencedDomainName: DWORD; var peUse: SID_NAME_USE): BOOL; external 'advapi32' name 'LookupAccountSidW';
 | 
			
		||||
function LookupPrivilegeDisplayName(lpSystemName, lpName: LPCSTR; lpDisplayName: PChar; var cbDisplayName, lpLanguageId: DWORD): BOOL;external 'advapi32' name 'LookupPrivilegeDisplayName';
 | 
			
		||||
function LookupPrivilegeDisplayNameA(lpSystemName, lpName: LPCSTR; lpDisplayName: LPCSTR; var cbDisplayName, lpLanguageId: DWORD): BOOL; external 'advapi32' name 'LookupPrivilegeDisplayNameA';
 | 
			
		||||
function LookupPrivilegeDisplayNameW(lpSystemName, lpName: LPCSTR; lpDisplayName: LPWSTR; var cbDisplayName, lpLanguageId: DWORD): BOOL; external 'advapi32' name 'LookupPrivilegeDisplayNameW';
 | 
			
		||||
function LookupPrivilegeName(lpSystemName: PChar; var lpLuid: TLargeInteger; lpName: PChar; var cbName: DWORD): BOOL;external 'advapi32' name 'LookupPrivilegeName';
 | 
			
		||||
function LookupPrivilegeNameA(lpSystemName: LPCSTR; var lpLuid: TLargeInteger; lpName: LPCSTR; var cbName: DWORD): BOOL; external 'advapi32' name 'LookupPrivilegeNameA';
 | 
			
		||||
function LookupPrivilegeNameW(lpSystemName: LPWSTR; var lpLuid: TLargeInteger; lpName: LPWSTR; var cbName: DWORD): BOOL; external 'advapi32' name 'LookupPrivilegeNameW';
 | 
			
		||||
function LookupPrivilegeValue(lpSystemName, lpName: PChar; var lpLuid: TLargeInteger): BOOL;external 'advapi32' name 'LookupPrivilegeValue';
 | 
			
		||||
function LookupPrivilegeValueA(lpSystemName, lpName: LPCSTR; var lpLuid: TLargeInteger): BOOL; external 'advapi32' name 'LookupPrivilegeValueA';
 | 
			
		||||
function LookupPrivilegeValueW(lpSystemName, lpName: LPWSTR; var lpLuid: TLargeInteger): BOOL; external 'advapi32' name 'LookupPrivilegeValueW';
 | 
			
		||||
function LPtoDP(DC: HDC; var Points; Count: Integer): BOOL; external 'gdi32' name 'LPtoDP';
 | 
			
		||||
function MakeAbsoluteSD(pSelfRelativeSecurityDescriptor: PSecurityDescriptor; pAbsoluteSecurityDescriptor: PSecurityDescriptor; var lpdwAbsoluteSecurityDescriptorSi: DWORD; var pDacl: TACL; var lpdwDaclSize: DWORD; var pSacl: TACL; var lpdwSaclSize: DWORD; pOwner: PSID; var lpdwOwnerSize: DWORD; pPrimaryGroup: Pointer; var lpdwPrimaryGroupSize: DWORD): BOOL; external 'advapi32' name 'MakeAbsoluteSD';
 | 
			
		||||
function MakeSelfRelativeSD(pAbsoluteSecurityDescriptor: PSecurityDescriptor; pSelfRelativeSecurityDescriptor: PSecurityDescriptor; var lpdwBufferLength: DWORD): BOOL; external 'advapi32' name 'MakeSelfRelativeSD';
 | 
			
		||||
function MapDialogRect(hDlg: HWND; var lpRect: TRect): BOOL; external 'user32' name 'MapDialogRect';
 | 
			
		||||
function MapWindowPoints(hWndFrom, hWndTo: HWND; var lpPoints; cPoints: UINT): Integer; external 'user32' name 'MapWindowPoints';
 | 
			
		||||
function MessageBoxIndirect(const MsgBoxParams: TMsgBoxParams): BOOL;external 'user32' name 'MessageBoxIndirect';
 | 
			
		||||
function MessageBoxIndirectA(const MsgBoxParams: TMsgBoxParamsA): BOOL; external 'user32' name 'MessageBoxIndirectA';
 | 
			
		||||
//function MessageBoxIndirectW(const MsgBoxParams: TMsgBoxParamsW): BOOL; external 'user32' name 'MessageBoxIndirectW';
 | 
			
		||||
function ModifyWorldTransform(DC: HDC; const p2: TXForm; p3: DWORD): BOOL; external 'gdi32' name 'ModifyWorldTransform';
 | 
			
		||||
function MsgWaitForMultipleObjects(nCount: DWORD; var pHandles; fWaitAll: BOOL; dwMilliseconds, dwWakeMask: DWORD): DWORD;external 'user32' name 'MsgWaitForMultipleObjects';
 | 
			
		||||
function MsgWaitForMultipleObjectsEx(nCount: DWORD; var pHandles; dwMilliseconds, dwWakeMask, dwFlags: DWORD): DWORD;external 'user32' name 'MsgWaitForMultipleObjectsEx';
 | 
			
		||||
function MultiByteToWideChar(CodePage: UINT; dwFlags: DWORD; const lpMultiByteStr: LPCSTR; cchMultiByte: Integer; lLPWSTRStr: LPWSTR; cchWideChar: Integer): Integer; external 'kernel32' name 'MultiByteToWideChar';
 | 
			
		||||
function ObjectOpenAuditAlarm(SubsystemName: PChar; HandleId: Pointer; ObjectTypeName: PChar; ObjectName: PChar; pSecurityDescriptor: PSecurityDescriptor; ClientToken: THandle; DesiredAccess, GrantedAccess: DWORD; var Privileges: TPrivilegeSet; ObjectCreation, AccessGranted: BOOL; var GenerateOnClose: BOOL): BOOL;external 'advapi32' name 'ObjectOpenAuditAlarm';
 | 
			
		||||
function ObjectOpenAuditAlarmA(SubsystemName: LPCSTR; HandleId: Pointer; ObjectTypeName: LPCSTR; ObjectName: LPCSTR; pSecurityDescriptor: PSecurityDescriptor; ClientToken: THandle; DesiredAccess, GrantedAccess: DWORD; var Privileges: TPrivilegeSet; ObjectCreation, AccessGranted: BOOL; var GenerateOnClose: BOOL): BOOL; external 'advapi32' name 'ObjectOpenAuditAlarmA';
 | 
			
		||||
function ObjectOpenAuditAlarmW(SubsystemName: LPWSTR; HandleId: Pointer; ObjectTypeName: LPWSTR; ObjectName: LPWSTR; pSecurityDescriptor: PSecurityDescriptor; ClientToken: THandle; DesiredAccess, GrantedAccess: DWORD; var Privileges: TPrivilegeSet; ObjectCreation, AccessGranted: BOOL; var GenerateOnClose: BOOL): BOOL; external 'advapi32' name 'ObjectOpenAuditAlarmW';
 | 
			
		||||
function ObjectPrivilegeAuditAlarm(SubsystemName: PChar; HandleId: Pointer; ClientToken: THandle; DesiredAccess: DWORD; var Privileges: TPrivilegeSet; AccessGranted: BOOL): BOOL;external 'advapi32' name 'ObjectPrivilegeAuditAlarm';
 | 
			
		||||
function ObjectPrivilegeAuditAlarmA(SubsystemName: LPCSTR; HandleId: Pointer; ClientToken: THandle; DesiredAccess: DWORD; var Privileges: TPrivilegeSet; AccessGranted: BOOL): BOOL; external 'advapi32' name 'ObjectPrivilegeAuditAlarmA';
 | 
			
		||||
function ObjectPrivilegeAuditAlarmW(SubsystemName: LPWSTR; HandleId: Pointer; ClientToken: THandle; DesiredAccess: DWORD; var Privileges: TPrivilegeSet; AccessGranted: BOOL): BOOL; external 'advapi32' name 'ObjectPrivilegeAuditAlarmW';
 | 
			
		||||
function OemToAnsi(const lpszSrc: LPCSTR; lpszDst: LPSTR): BOOL;external 'user32' name 'OemToAnsi';
 | 
			
		||||
function OffsetRect(var lprc: TRect; dx, dy: Integer): BOOL; external 'user32' name 'OffsetRect';
 | 
			
		||||
function OffsetViewportOrgEx(DC: HDC; X, Y: Integer; var Points): BOOL; external 'gdi32' name 'OffsetViewportOrgEx';
 | 
			
		||||
function OffsetWindowOrgEx(DC: HDC; X, Y: Integer; var Points): BOOL; external 'gdi32' name 'OffsetWindowOrgEx';
 | 
			
		||||
function OpenFile(const lpFileName: LPCSTR; var lpReOpenBuff: TOFStruct; uStyle: UINT): HFILE; external 'kernel32' name 'OpenFile';
 | 
			
		||||
function OpenProcessToken(ProcessHandle: THandle; DesiredAccess: DWORD; var TokenHandle: THandle): BOOL; external 'advapi32' name 'OpenProcessToken';
 | 
			
		||||
function OpenThreadToken(ThreadHandle: THandle; DesiredAccess: DWORD; OpenAsSelf: BOOL; var TokenHandle: THandle): BOOL; external 'advapi32' name 'OpenThreadToken';
 | 
			
		||||
function PeekConsoleInput(hConsoleInput: THandle; var lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsRead: DWORD): BOOL;external 'kernel32' name 'PeekConsoleInput';
 | 
			
		||||
function PeekConsoleInputA(hConsoleInput: THandle; var lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsRead: DWORD): BOOL; external 'kernel32' name 'PeekConsoleInputA';
 | 
			
		||||
function PeekConsoleInputW(hConsoleInput: THandle; var lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsRead: DWORD): BOOL; external 'kernel32' name 'PeekConsoleInputW';
 | 
			
		||||
function PeekMessage(var lpMsg: TMsg; hWnd: HWND; wMsgFilterMin, wMsgFilterMax, wRemoveMsg: UINT): BOOL;external 'user32' name 'PeekMessage';
 | 
			
		||||
function PeekMessageA(var lpMsg: TMsg; hWnd: HWND; wMsgFilterMin, wMsgFilterMax, wRemoveMsg: UINT): BOOL; external 'user32' name 'PeekMessageA';
 | 
			
		||||
function PeekMessageW(var lpMsg: TMsg; hWnd: HWND; wMsgFilterMin, wMsgFilterMax, wRemoveMsg: UINT): BOOL; external 'user32' name 'PeekMessageW';
 | 
			
		||||
function PlayEnhMetaFile(DC: HDC; p2: HENHMETAFILE; const p3: TRect): BOOL; external 'gdi32' name 'PlayEnhMetaFile';
 | 
			
		||||
function PlayEnhMetaFileRecord(DC: HDC; var p2: THandleTable; const p3: TEnhMetaRecord; p4: UINT): BOOL; external 'gdi32' name 'PlayEnhMetaFileRecord';
 | 
			
		||||
function PlayMetaFileRecord(DC: HDC; const p2: THandleTable; const p3: TMetaRecord; p4: UINT): BOOL; external 'gdi32' name 'PlayMetaFileRecord';
 | 
			
		||||
function PlgBlt(DC: HDC; const PointsArray; p3: HDC; p4, p5, p6, p7: Integer; p8: HBITMAP; p9, p10: Integer): BOOL; external 'gdi32' name 'PlgBlt';
 | 
			
		||||
function PolyBezier(DC: HDC; const Points; Count: DWORD): BOOL; external 'gdi32' name 'PolyBezier';
 | 
			
		||||
function PolyBezierTo(DC: HDC; const Points; Count: DWORD): BOOL; external 'gdi32' name 'PolyBezierTo';
 | 
			
		||||
function PolyDraw(DC: HDC; const Points, Types; cCount: Integer): BOOL; external 'gdi32' name 'PolyDraw';
 | 
			
		||||
function Polygon(DC: HDC; var Points; Count: Integer): BOOL; external 'gdi32' name 'Polygon';
 | 
			
		||||
function Polyline(DC: HDC; var Points; Count: Integer): BOOL; external 'gdi32' name 'Polyline';
 | 
			
		||||
function PolyLineTo(DC: HDC; const Points; Count: DWORD): BOOL; external 'gdi32' name 'PolylineTo';
 | 
			
		||||
function PolyPolygon(DC: HDC; var Points; var nPoints; p4: Integer): BOOL; external 'gdi32' name 'PolyPolygon';
 | 
			
		||||
function PolyPolyline(DC: HDC; const PointStructs; const Points; p4: DWORD): BOOL; external 'gdi32' name 'PolyPolyline';
 | 
			
		||||
function PolyTextOut(DC: HDC; const PolyTextArray; Strings: Integer): BOOL;external 'gdi32' name 'PolyTextOut';
 | 
			
		||||
function PolyTextOutA(DC: HDC; const PolyTextArray; Strings: Integer): BOOL; external 'gdi32' name 'PolyTextOutA';
 | 
			
		||||
function PolyTextOutW(DC: HDC; const PolyTextArray; Strings: Integer): BOOL; external 'gdi32' name 'PolyTextOutW';
 | 
			
		||||
function PrivilegeCheck(ClientToken: THandle; const RequiredPrivileges: TPrivilegeSet; var pfResult: BOOL): BOOL; external 'advapi32' name 'PrivilegeCheck';
 | 
			
		||||
function PrivilegedServiceAuditAlarm(SubsystemName, ServiceName: PChar; ClientToken: THandle; var Privileges: TPrivilegeSet; AccessGranted: BOOL): BOOL;external 'advapi32' name 'PrivilegedServiceAuditAlarm';
 | 
			
		||||
function PrivilegedServiceAuditAlarmA(SubsystemName, ServiceName: LPCSTR; ClientToken: THandle; var Privileges: TPrivilegeSet; AccessGranted: BOOL): BOOL; external 'advapi32' name 'PrivilegedServiceAuditAlarmA';
 | 
			
		||||
function PrivilegedServiceAuditAlarmW(SubsystemName, ServiceName: LPWSTR; ClientToken: THandle; var Privileges: TPrivilegeSet; AccessGranted: BOOL): BOOL; external 'advapi32' name 'PrivilegedServiceAuditAlarmW';
 | 
			
		||||
function PtInRect(const lprc: TRect; pt: TPoint): BOOL; external 'user32' name 'PtInRect';
 | 
			
		||||
function QueryPerformanceCounter(var lpPerformanceCount: TLargeInteger): BOOL; external 'kernel32' name 'QueryPerformanceCounter';
 | 
			
		||||
function QueryPerformanceFrequency(var lpFrequency: TLargeInteger): BOOL; external 'kernel32' name 'QueryPerformanceFrequency';
 | 
			
		||||
//function QueryRecoveryAgents(p1: PChar; var p2: Pointer; var p3: TRecoveryAgentInformation): DWORD;external 'kernel32' name 'QueryRecoveryAgents';
 | 
			
		||||
//function QueryRecoveryAgentsA(p1: LPCSTR; var p2: Pointer; var p3: TRecoveryAgentInformationA): DWORD;external 'kernel32' name 'QueryRecoveryAgentsA';
 | 
			
		||||
//function QueryRecoveryAgentsW(p1: LPWSTR; var p2: Pointer; var p3: TRecoveryAgentInformationW): DWORD;external 'kernel32' name 'QueryRecoveryAgentsW';
 | 
			
		||||
function ReadConsole(hConsoleInput: THandle; lpBuffer: Pointer; nNumberOfCharsToRead: DWORD; var lpNumberOfCharsRead: DWORD; lpReserved: Pointer): BOOL;external 'kernel32' name 'ReadConsole';
 | 
			
		||||
function ReadConsoleA(hConsoleInput: THandle; lpBuffer: Pointer; nNumberOfCharsToRead: DWORD; var lpNumberOfCharsRead: DWORD; lpReserved: Pointer): BOOL; external 'kernel32' name 'ReadConsoleA';
 | 
			
		||||
function ReadConsoleInput(hConsoleInput: THandle; var lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsRead: DWORD): BOOL;external 'kernel32' name 'ReadConsoleInput';
 | 
			
		||||
function ReadConsoleInputA(hConsoleInput: THandle; var lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsRead: DWORD): BOOL; external 'kernel32' name 'ReadConsoleInputA';
 | 
			
		||||
function ReadConsoleInputW(hConsoleInput: THandle; var lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsRead: DWORD): BOOL; external 'kernel32' name 'ReadConsoleInputW';
 | 
			
		||||
function ReadConsoleOutput(hConsoleOutput: THandle; lpBuffer: Pointer; dwBufferSize, dwBufferCoord: TCoord; var lpReadRegion: TSmallRect): BOOL;external 'kernel32' name 'ReadConsoleOutput';
 | 
			
		||||
function ReadConsoleOutputA(hConsoleOutput: THandle; lpBuffer: Pointer; dwBufferSize, dwBufferCoord: TCoord; var lpReadRegion: TSmallRect): BOOL; external 'kernel32' name 'ReadConsoleOutputA';
 | 
			
		||||
function ReadConsoleOutputAttribute(hConsoleOutput: THandle; lpAttribute: Pointer; nLength: DWORD; dwReadCoord: TCoord; var lpNumberOfAttrsRead: DWORD): BOOL;external 'kernel32' name 'ReadConsoleOutputAttribute';
 | 
			
		||||
function ReadConsoleOutputCharacter(hConsoleOutput: THandle; lpCharacter: LPCSTR; nLength: DWORD; dwReadCoord: TCoord; var lpNumberOfCharsRead: DWORD): BOOL;external 'kernel32' name 'ReadConsoleOutputCharacter';
 | 
			
		||||
function ReadConsoleOutputCharacterA(hConsoleOutput: THandle; lpCharacter: LPCSTR; nLength: DWORD; dwReadCoord: TCoord; var lpNumberOfCharsRead: DWORD): BOOL; external 'kernel32' name 'ReadConsoleOutputCharacterA';
 | 
			
		||||
function ReadConsoleOutputCharacterW(hConsoleOutput: THandle; lpCharacter: LPCSTR; nLength: DWORD; dwReadCoord: TCoord; var lpNumberOfCharsRead: DWORD): BOOL; external 'kernel32' name 'ReadConsoleOutputCharacterW';
 | 
			
		||||
function ReadConsoleOutputW(hConsoleOutput: THandle; lpBuffer: Pointer; dwBufferSize, dwBufferCoord: TCoord; var lpReadRegion: TSmallRect): BOOL; external 'kernel32' name 'ReadConsoleOutputW';
 | 
			
		||||
function ReadConsoleW(hConsoleInput: THandle; lpBuffer: Pointer; nNumberOfCharsToRead: DWORD; var lpNumberOfCharsRead: DWORD; lpReserved: Pointer): BOOL; external 'kernel32' name 'ReadConsoleW';
 | 
			
		||||
function ReadEventLog(hEventLog: THandle; dwReadFlags, dwRecordOffset: DWORD; lpBuffer: Pointer; nNumberOfBytesToRead: DWORD; var pnBytesRead, pnMinNumberOfBytesNeeded: DWORD): BOOL;external 'advapi32' name 'ReadEventLog';
 | 
			
		||||
function ReadEventLogA(hEventLog: THandle; dwReadFlags, dwRecordOffset: DWORD; lpBuffer: Pointer; nNumberOfBytesToRead: DWORD; var pnBytesRead, pnMinNumberOfBytesNeeded: DWORD): BOOL; external 'advapi32' name 'ReadEventLogA';
 | 
			
		||||
function ReadEventLogW(hEventLog: THandle; dwReadFlags, dwRecordOffset: DWORD; lpBuffer: Pointer; nNumberOfBytesToRead: DWORD; var pnBytesRead, pnMinNumberOfBytesNeeded: DWORD): BOOL; external 'advapi32' name 'ReadEventLogW';
 | 
			
		||||
function ReadFile(hFile: THandle; var Buffer; nNumberOfBytesToRead: DWORD; var lpNumberOfBytesRead: DWORD; lpOverlapped: POverlapped): BOOL; external 'kernel32' name 'ReadFile';
 | 
			
		||||
function ReadProcessMemory(hProcess: THandle; const lpBaseAddress: Pointer; lpBuffer: Pointer; nSize: DWORD; var lpNumberOfBytesRead: DWORD): BOOL; external 'kernel32' name 'ReadProcessMemory';
 | 
			
		||||
function RectInRegion(RGN: HRGN; const p2: TRect): BOOL; external 'gdi32' name 'RectInRegion';
 | 
			
		||||
function RectVisible(DC: HDC; const Rect: TRect): BOOL; external 'gdi32' name 'RectVisible';
 | 
			
		||||
function RegConnectRegistry(lpMachineName: PChar; hKey: HKEY; var phkResult: HKEY): Longint;external 'advapi32' name 'RegConnectRegistry';
 | 
			
		||||
function RegConnectRegistryA(lpMachineName: LPCSTR; hKey: HKEY; var phkResult: HKEY): Longint; external 'advapi32' name 'RegConnectRegistryA';
 | 
			
		||||
function RegConnectRegistryW(lpMachineName: LPWSTR; hKey: HKEY; var phkResult: HKEY): Longint; external 'advapi32' name 'RegConnectRegistryW';
 | 
			
		||||
function RegCreateKey(hKey: HKEY; lpSubKey: PChar; var phkResult: HKEY): Longint;external 'advapi32' name 'RegCreateKey';
 | 
			
		||||
function RegCreateKeyA(hKey: HKEY; lpSubKey: LPCSTR; var phkResult: HKEY): Longint; external 'advapi32' name 'RegCreateKeyA';
 | 
			
		||||
function RegCreateKeyEx(hKey: HKEY; lpSubKey: PChar; Reserved: DWORD; lpClass: PChar; dwOptions: DWORD; samDesired: REGSAM; lpSecurityAttributes: PSecurityAttributes; var phkResult: HKEY; lpdwDisposition: PDWORD): Longint;external 'advapi32' name 'RegCreateKeyEx';
 | 
			
		||||
function RegCreateKeyExA(hKey: HKEY; lpSubKey: LPCSTR; Reserved: DWORD; lpClass: LPCSTR; dwOptions: DWORD; samDesired: REGSAM; lpSecurityAttributes: PSecurityAttributes; var phkResult: HKEY; lpdwDisposition: PDWORD): Longint; external 'advapi32' name 'RegCreateKeyExA';
 | 
			
		||||
function RegCreateKeyExW(hKey: HKEY; lpSubKey: LPWSTR; Reserved: DWORD; lpClass: LPWSTR; dwOptions: DWORD; samDesired: REGSAM; lpSecurityAttributes: PSecurityAttributes; var phkResult: HKEY; lpdwDisposition: PDWORD): Longint; external 'advapi32' name 'RegCreateKeyExW';
 | 
			
		||||
function RegCreateKeyW(hKey: HKEY; lpSubKey: LPWSTR; var phkResult: HKEY): Longint; external 'advapi32' name 'RegCreateKeyW';
 | 
			
		||||
function RegEnumKeyEx(hKey: HKEY; dwIndex: DWORD; lpName: PChar; var lpcbName: DWORD; lpReserved: Pointer; lpClass: PChar; lpcbClass: PDWORD; lpftLastWriteTime: PFileTime): Longint;external 'advapi32' name 'RegEnumKeyEx';
 | 
			
		||||
function RegEnumKeyExA(hKey: HKEY; dwIndex: DWORD; lpName: LPCSTR; var lpcbName: DWORD; lpReserved: Pointer; lpClass: LPCSTR; lpcbClass: PDWORD; lpftLastWriteTime: PFileTime): Longint; external 'advapi32' name 'RegEnumKeyExA';
 | 
			
		||||
function RegEnumKeyExW(hKey: HKEY; dwIndex: DWORD; lpName: LPWSTR; var lpcbName: DWORD; lpReserved: Pointer; lpClass: LPWSTR; lpcbClass: PDWORD; lpftLastWriteTime: PFileTime): Longint; external 'advapi32' name 'RegEnumKeyExW';
 | 
			
		||||
function RegEnumValue(hKey: HKEY; dwIndex: DWORD; lpValueName: PChar; var lpcbValueName: DWORD; lpReserved: Pointer; lpType: PDWORD; lpData: PByte; lpcbData: PDWORD): Longint;external 'advapi32' name 'RegEnumValue';
 | 
			
		||||
function RegEnumValueA(hKey: HKEY; dwIndex: DWORD; lpValueName: PChar; var lpcbValueName: DWORD; lpReserved: Pointer; lpType: PDWORD; lpData: PByte; lpcbData: PDWORD): Longint; external 'advapi32' name 'RegEnumValueA';
 | 
			
		||||
function RegEnumValueW(hKey: HKEY; dwIndex: DWORD; lpValueName: PChar; var lpcbValueName: DWORD; lpReserved: Pointer; lpType: PDWORD; lpData: PByte; lpcbData: PDWORD): Longint; external 'advapi32' name 'RegEnumValueW';
 | 
			
		||||
function RegGetKeySecurity(hKey: HKEY; SecurityInformation: SECURITY_INFORMATION; pSecurityDescriptor: PSecurityDescriptor; var lpcbSecurityDescriptor: DWORD): Longint; external 'advapi32' name 'RegGetKeySecurity';
 | 
			
		||||
function RegisterClass(const lpWndClass: TWndClass): ATOM;external 'user32' name 'RegisterClass';
 | 
			
		||||
function RegisterClassA(const lpWndClass: TWndClassA): ATOM; external 'user32' name 'RegisterClassA';
 | 
			
		||||
function RegisterClassEx(const WndClass: TWndClassEx): ATOM;external 'user32' name 'RegisterClassEx';
 | 
			
		||||
function RegisterClassExA(const WndClass: TWndClassExA): ATOM; external 'user32' name 'RegisterClassExA';
 | 
			
		||||
//function RegisterClassExW(const WndClass: TWndClassExW): ATOM; external 'user32' name 'RegisterClassExW';
 | 
			
		||||
//function RegisterClassW(const lpWndClass: TWndClassW): ATOM; external 'user32' name 'RegisterClassW';
 | 
			
		||||
function RegOpenKey(hKey: HKEY; lpSubKey: PChar; var phkResult: HKEY): Longint;external 'advapi32' name 'RegOpenKey';
 | 
			
		||||
function RegOpenKeyA(hKey: HKEY; lpSubKey: LPCSTR; var phkResult: HKEY): Longint; external 'advapi32' name 'RegOpenKeyA';
 | 
			
		||||
function RegOpenKeyEx(hKey: HKEY; lpSubKey: PChar; ulOptions: DWORD; samDesired: REGSAM; var phkResult: HKEY): Longint;external 'advapi32' name 'RegOpenKeyEx';
 | 
			
		||||
function RegOpenKeyExA(hKey: HKEY; lpSubKey: LPCSTR; ulOptions: DWORD; samDesired: REGSAM; var phkResult: HKEY): Longint; external 'advapi32' name 'RegOpenKeyExA';
 | 
			
		||||
function RegOpenKeyExW(hKey: HKEY; lpSubKey: LPWSTR; ulOptions: DWORD; samDesired: REGSAM; var phkResult: HKEY): Longint; external 'advapi32' name 'RegOpenKeyExW';
 | 
			
		||||
function RegOpenKeyW(hKey: HKEY; lpSubKey: LPWSTR; var phkResult: HKEY): Longint; external 'advapi32' name 'RegOpenKeyW';
 | 
			
		||||
function RegQueryMultipleValues(hKey: HKEY; var ValList; NumVals: DWORD; lpValueBuf: PChar; var ldwTotsize: DWORD): Longint;external 'advapi32' name 'RegQueryMultipleValues';
 | 
			
		||||
function RegQueryMultipleValuesA(hKey: HKEY; var ValList; NumVals: DWORD; lpValueBuf: LPCSTR; var ldwTotsize: DWORD): Longint; external 'advapi32' name 'RegQueryMultipleValuesA';
 | 
			
		||||
function RegQueryMultipleValuesW(hKey: HKEY; var ValList; NumVals: DWORD; lpValueBuf: LPWSTR; var ldwTotsize: DWORD): Longint; external 'advapi32' name 'RegQueryMultipleValuesW';
 | 
			
		||||
function RegQueryValue(hKey: HKEY; lpSubKey: PChar; lpValue: PChar; var lpcbValue: Longint): Longint;external 'advapi32' name 'RegQueryValue';
 | 
			
		||||
function RegQueryValueA(hKey: HKEY; lpSubKey: LPCSTR; lpValue: LPCSTR; var lpcbValue: Longint): Longint; external 'advapi32' name 'RegQueryValueA';
 | 
			
		||||
function RegQueryValueW(hKey: HKEY; lpSubKey: LPWSTR; lpValue: LPWSTR; var lpcbValue: Longint): Longint; external 'advapi32' name 'RegQueryValueW';
 | 
			
		||||
function ResetDC(DC: HDC; const p2: TDeviceMode): HDC;external 'gdi32' name 'ResetDC';
 | 
			
		||||
function ResetDCA(DC: HDC; const p2: TDeviceModeA): HDC; external 'gdi32' name 'ResetDCA';
 | 
			
		||||
//function ResetDCW(DC: HDC; const p2: TDeviceModeW): HDC; external 'gdi32' name 'ResetDCW';
 | 
			
		||||
function ScreenToClient(hWnd: HWND; var lpPoint: TPoint): BOOL; external 'user32' name 'ScreenToClient';
 | 
			
		||||
function ScrollConsoleScreenBuffer(hConsoleOutput: THandle; const lpScrollRectangle: TSmallRect; const lpClipRectangle: TSmallRect; dwDestinationOrigin: TCoord; var lpFill: TCharInfo): BOOL;external 'kernel32' name 'ScrollConsoleScreenBuffer';
 | 
			
		||||
function ScrollConsoleScreenBufferA(hConsoleOutput: THandle; const lpScrollRectangle: TSmallRect; const lpClipRectangle: TSmallRect; dwDestinationOrigin: TCoord; var lpFill: TCharInfo): BOOL; external 'kernel32' name 'ScrollConsoleScreenBufferA';
 | 
			
		||||
function ScrollConsoleScreenBufferW(hConsoleOutput: THandle; const lpScrollRectangle: TSmallRect; const lpClipRectangle: TSmallRect; dwDestinationOrigin: TCoord; var lpFill: TCharInfo): BOOL; external 'kernel32' name 'ScrollConsoleScreenBufferW';
 | 
			
		||||
function ScrollDC(DC: HDC; DX, DY: Integer; var Scroll, Clip: TRect; Rgn: HRGN; Update: PRect): BOOL; external 'user32' name 'ScrollDC';
 | 
			
		||||
function SearchPath(lpPath, lpFileName, lpExtension: PChar; nBufferLength: DWORD; lpBuffer: PChar; var lpFilePart: PChar): DWORD;external 'kernel32' name 'SearchPath';
 | 
			
		||||
function SearchPathA(lpPath, lpFileName, lpExtension: LPCSTR; nBufferLength: DWORD; lpBuffer: LPCSTR; var lpFilePart: LPCSTR): DWORD; external 'kernel32' name 'SearchPathA';
 | 
			
		||||
function SearchPathW(lpPath, lpFileName, lpExtension: LPWSTR; nBufferLength: DWORD; lpBuffer: LPWSTR; var lpFilePart: LPWSTR): DWORD; external 'kernel32' name 'SearchPathW';
 | 
			
		||||
//function SendInput(cInputs: UINT; var pInputs: TInput; cbSize: Integer): UINT;external 'user32' name 'SendInput';
 | 
			
		||||
function SendMessageTimeout(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM; fuFlags, uTimeout: UINT; var lpdwResult: DWORD): LRESULT;external 'user32' name 'SendMessageTimeout';
 | 
			
		||||
function SendMessageTimeoutA(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM; fuFlags, uTimeout: UINT; var lpdwResult: DWORD): LRESULT; external 'user32' name 'SendMessageTimeoutA';
 | 
			
		||||
function SendMessageTimeoutW(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM; fuFlags, uTimeout: UINT; var lpdwResult: DWORD): LRESULT; external 'user32' name 'SendMessageTimeoutW';
 | 
			
		||||
//function SetAclInformation(var pAcl: TACL; pAclInformation: Pointer; nAclInformationLength: DWORD; dwAclInformationClass: TAclInformationClass): BOOL; external 'advapi32' name 'SetAclInformation';
 | 
			
		||||
function SetColorAdjustment(DC: HDC; const p2: TColorAdjustment): BOOL; external 'gdi32' name 'SetColorAdjustment';
 | 
			
		||||
function SetCommConfig(hCommDev: THandle; const lpCC: TCommConfig; dwSize: DWORD): BOOL; external 'kernel32' name 'SetCommConfig';
 | 
			
		||||
function SetCommState(hFile: THandle; const lpDCB: TDCB): BOOL; external 'kernel32' name 'SetCommState';
 | 
			
		||||
function SetCommTimeouts(hFile: THandle; const lpCommTimeouts: TCommTimeouts): BOOL; external 'kernel32' name 'SetCommTimeouts';
 | 
			
		||||
function SetConsoleCursorInfo(hConsoleOutput: THandle; const lpConsoleCursorInfo: TConsoleCursorInfo): BOOL; external 'kernel32' name 'SetConsoleCursorInfo';
 | 
			
		||||
function SetConsoleWindowInfo(hConsoleOutput: THandle; bAbsolute: BOOL; const lpConsoleWindow: TSmallRect): BOOL; external 'kernel32' name 'SetConsoleWindowInfo';
 | 
			
		||||
function SetCriticalSectionSpinCount(var lpCriticalSection: TRTLCriticalSection; dwSpinCount: DWORD): DWORD;external 'kernel32' name 'SetCriticalSectionSpinCount';
 | 
			
		||||
function SetDeviceGammaRamp(DC: HDC; var Ramp): BOOL; external 'gdi32' name 'SetDeviceGammaRamp';
 | 
			
		||||
function SetDIBColorTable(DC: HDC; p2, p3: UINT; var RGBQuadSTructs): UINT; external 'gdi32' name 'SetDIBColorTable';
 | 
			
		||||
function SetDIBits(DC: HDC; Bitmap: HBITMAP; StartScan, NumScans: UINT; Bits: Pointer; var BitsInfo: TBitmapInfo; Usage: UINT): Integer; external 'gdi32' name 'SetDIBits';
 | 
			
		||||
function SetDIBitsToDevice(DC: HDC; DestX, DestY: Integer; Width, Height: DWORD; SrcX, SrcY: Integer; nStartScan, NumScans: UINT; Bits: Pointer; var BitsInfo: TBitmapInfo; Usage: UINT): Integer; external 'gdi32' name 'SetDIBitsToDevice';
 | 
			
		||||
//function SetKeyboardState(var KeyState: TKeyboardState): BOOL; external 'user32' name 'SetKeyboardState';
 | 
			
		||||
function SetLocalTime(const lpSystemTime: TSystemTime): BOOL; external 'kernel32' name 'SetLocalTime';
 | 
			
		||||
//function SetMenuInfo(hMenu: HMENU; const lpcmi: TMenuInfo): BOOL;external 'user32' name 'SetMenuInfo';
 | 
			
		||||
function SetMenuItemInfo(p1: HMENU; p2: UINT; p3: BOOL; const p4: TMenuItemInfo): BOOL;external 'user32' name 'SetMenuItemInfo';
 | 
			
		||||
function SetMenuItemInfoA(p1: HMENU; p2: UINT; p3: BOOL; const p4: TMenuItemInfoA): BOOL; external 'user32' name 'SetMenuItemInfoA';
 | 
			
		||||
//function SetMenuItemInfoW(p1: HMENU; p2: UINT; p3: BOOL; const p4: TMenuItemInfoW): BOOL; external 'user32' name 'SetMenuItemInfoW';
 | 
			
		||||
function SetMetaFileBitsEx(p1: UINT; const p2: PChar): HMETAFILE; external 'gdi32' name 'SetMetaFileBitsEx';
 | 
			
		||||
function SetNamedPipeHandleState(hNamedPipe: THandle; var lpMode: DWORD; lpMaxCollectionCount, lpCollectDataTimeout: Pointer): BOOL; external 'kernel32' name 'SetNamedPipeHandleState';
 | 
			
		||||
function SetPaletteEntries(Palette: HPALETTE; StartIndex, NumEntries: UINT; var PaletteEntries): UINT; external 'gdi32' name 'SetPaletteEntries';
 | 
			
		||||
function SetPrivateObjectSecurity(SecurityInformation: SECURITY_INFORMATION; ModificationDescriptor: PSecurityDescriptor; var ObjectsSecurityDescriptor: PSecurityDescriptor; const GenericMapping: TGenericMapping; Token: THandle): BOOL;external 'advapi32' name 'SetPrivateObjectSecurity';
 | 
			
		||||
function SetPrivateObjectSecurityEx(SecurityInformation: SECURITY_INFORMATION; ModificationDescriptor: PSecurityDescriptor; var ObjectsSecurityDescriptor: PSecurityDescriptor; AutoInheritFlags: ULONG; const GenericMapping: TGenericMapping; Token: THandle): BOOL;external 'advapi32' name 'SetPrivateObjectSecurityEx';
 | 
			
		||||
function SetRect(var lprc: TRect; xLeft, yTop, xRight, yBottom: Integer): BOOL; external 'user32' name 'SetRect';
 | 
			
		||||
function SetRectEmpty(var lprc: TRect): BOOL; external 'user32' name 'SetRectEmpty';
 | 
			
		||||
function SetScrollInfo(hWnd: HWND; BarFlag: Integer; const ScrollInfo: TScrollInfo; Redraw: BOOL): Integer; external 'user32' name 'SetScrollInfo';
 | 
			
		||||
function SetSysColors(cElements: Integer; const lpaElements; const lpaRgbValues): BOOL; external 'user32' name 'SetSysColors';
 | 
			
		||||
function SetSystemTime(const lpSystemTime: TSystemTime): BOOL; external 'kernel32' name 'SetSystemTime';
 | 
			
		||||
function SetThreadContext(hThread: THandle; const lpContext: TContext): BOOL; external 'kernel32' name 'SetThreadContext';
 | 
			
		||||
function SetTimeZoneInformation(const lpTimeZoneInformation: TTimeZoneInformation): BOOL; external 'kernel32' name 'SetTimeZoneInformation';
 | 
			
		||||
function SetUserObjectSecurity(hObj: THandle; var pSIRequested: DWORD; pSID: PSecurityDescriptor): BOOL;external 'user32' name 'SetUserObjectSecurity';
 | 
			
		||||
//function SetWaitableTimer(hTimer: THandle; const lpDueTime: TLargeInteger; lPeriod: Longint; pfnCompletionRoutine: TFNTimerAPCRoutine; lpArgToCompletionRoutine: Pointer; fResume: BOOL): BOOL;external 'kernel32' name 'SetWaitableTimer';
 | 
			
		||||
function SetWinMetaFileBits(p1: UINT; p2: PChar; p3: HDC; const p4: TMetaFilePict): HENHMETAFILE; external 'gdi32' name 'SetWinMetaFileBits';
 | 
			
		||||
function SetWorldTransform(DC: HDC; const p2: TXForm): BOOL; external 'gdi32' name 'SetWorldTransform';
 | 
			
		||||
function StartDoc(DC: HDC; const p2: TDocInfo): Integer;external 'gdi32' name 'StartDoc';
 | 
			
		||||
function StartDocA(DC: HDC; const p2: TDocInfoA): Integer; external 'gdi32' name 'StartDocA';
 | 
			
		||||
//function StartDocW(DC: HDC; const p2: TDocInfoW): Integer; external 'gdi32' name 'StartDocW';
 | 
			
		||||
function StretchDIBits(DC: HDC; DestX, DestY, DestWidth, DestHegiht, SrcX, SrcY, SrcWidth, SrcHeight: Integer; Bits: Pointer; var BitsInfo: TBitmapInfo; Usage: UINT; Rop: DWORD): Integer; external 'gdi32' name 'StretchDIBits';
 | 
			
		||||
function SubtractRect(var lprcDst: TRect; const lprcSrc1, lprcSrc2: TRect): BOOL; external 'user32' name 'SubtractRect';
 | 
			
		||||
function SystemTimeToFileTime(const lpSystemTime: TSystemTime; var lpFileTime: TFileTime): BOOL; external 'kernel32' name 'SystemTimeToFileTime';
 | 
			
		||||
function SystemTimeToTzSpecificLocalTime(lpTimeZoneInformation: PTimeZoneInformation; var lpUniversalTime, lpLocalTime: TSystemTime): BOOL; external 'kernel32' name 'SystemTimeToTzSpecificLocalTime';
 | 
			
		||||
function TabbedTextOut(hDC: HDC; X, Y: Integer; lpString: PChar; nCount, nTabPositions: Integer; var lpnTabStopPositions; nTabOrigin: Integer): Longint;external 'user32' name 'TabbedTextOut';
 | 
			
		||||
function TabbedTextOutA(hDC: HDC; X, Y: Integer; lpString: LPCSTR; nCount, nTabPositions: Integer; var lpnTabStopPositions; nTabOrigin: Integer): Longint; external 'user32' name 'TabbedTextOutA';
 | 
			
		||||
function TabbedTextOutW(hDC: HDC; X, Y: Integer; lpString: LPWSTR; nCount, nTabPositions: Integer; var lpnTabStopPositions; nTabOrigin: Integer): Longint; external 'user32' name 'TabbedTextOutW';
 | 
			
		||||
//function ToAscii(uVirtKey, uScanCode: UINT; const KeyState: TKeyboardState; lpChar: PChar; uFlags: UINT): Integer; external 'user32' name 'ToAscii';
 | 
			
		||||
//function ToAsciiEx(uVirtKey: UINT; uScanCode: UINT; const KeyState: TKeyboardState; lpChar: PChar; uFlags: UINT; dwhkl: HKL): Integer; external 'user32' name 'ToAsciiEx';
 | 
			
		||||
//function ToUnicode(wVirtKey, wScanCode: UINT; const KeyState: TKeyboardState; var pwszBuff; cchBuff: Integer; wFlags: UINT): Integer; external 'user32' name 'ToUnicode';
 | 
			
		||||
//function TrackMouseEvent(var EventTrack: TTrackMouseEvent): BOOL;external 'user32' name 'TrackMouseEvent';
 | 
			
		||||
function TransactNamedPipe(hNamedPipe: THandle; lpInBuffer: Pointer; nInBufferSize: DWORD; lpOutBuffer: Pointer; nOutBufferSize: DWORD; var lpBytesRead: DWORD; lpOverlapped: POverlapped): BOOL; external 'kernel32' name 'TransactNamedPipe';
 | 
			
		||||
function TranslateAccelerator(hWnd: HWND; hAccTable: HACCEL; var lpMsg: TMsg): Integer;external 'user32' name 'TranslateAccelerator';
 | 
			
		||||
function TranslateAcceleratorA(hWnd: HWND; hAccTable: HACCEL; var lpMsg: TMsg): Integer; external 'user32' name 'TranslateAcceleratorA';
 | 
			
		||||
function TranslateAcceleratorW(hWnd: HWND; hAccTable: HACCEL; var lpMsg: TMsg): Integer; external 'user32' name 'TranslateAcceleratorW';
 | 
			
		||||
function TranslateCharsetInfo(var lpSrc: DWORD; var lpCs: TCharsetInfo; dwFlags: DWORD): BOOL; external 'gdi32' name 'TranslateCharsetInfo';
 | 
			
		||||
function TranslateMDISysAccel(hWndClient: HWND; const lpMsg: TMsg): BOOL; external 'user32' name 'TranslateMDISysAccel';
 | 
			
		||||
function TranslateMessage(const lpMsg: TMsg): BOOL; external 'user32' name 'TranslateMessage';
 | 
			
		||||
function TransparentDIBits(DC: HDC; p2, p3, p4, p5: Integer; const p6: Pointer; const p7: PBitmapInfo; p8: UINT; p9, p10, p11, p12: Integer; p13: UINT): BOOL;external 'gdi32' name 'TransparentDIBits';
 | 
			
		||||
function TryEnterCriticalSection(var lpCriticalSection: TRTLCriticalSection): BOOL;external 'kernel32' name 'TryEnterCriticalSection';
 | 
			
		||||
function UnhandledExceptionFilter(const ExceptionInfo: TExceptionPointers): Longint; external 'kernel32' name 'UnhandledExceptionFilter';
 | 
			
		||||
function UnionRect(var lprcDst: TRect; const lprcSrc1, lprcSrc2: TRect): BOOL; external 'user32' name 'UnionRect';
 | 
			
		||||
function UnlockFileEx(hFile: THandle; dwReserved, nNumberOfBytesToUnlockLow: DWORD; nNumberOfBytesToUnlockHigh: DWORD; const lpOverlapped: TOverlapped): BOOL; external 'kernel32' name 'UnlockFileEx';
 | 
			
		||||
function VerFindFile(uFlags: DWORD; szFileName, szWinDir, szAppDir, szCurDir: PChar; var lpuCurDirLen: UINT; szDestDir: PChar; var lpuDestDirLen: UINT): DWORD;external 'version' name 'VerFindFile';
 | 
			
		||||
function VerFindFileA(uFlags: DWORD; szFileName, szWinDir, szAppDir, szCurDir: LPCSTR; var lpuCurDirLen: UINT; szDestDir: LPCSTR; var lpuDestDirLen: UINT): DWORD; external 'version' name 'VerFindFileA';
 | 
			
		||||
function VerFindFileW(uFlags: DWORD; szFileName, szWinDir, szAppDir, szCurDir: LPWSTR; var lpuCurDirLen: UINT; szDestDir: LPWSTR; var lpuDestDirLen: UINT): DWORD; external 'version' name 'VerFindFileW';
 | 
			
		||||
function VerInstallFile(uFlags: DWORD; szSrcFileName, szDestFileName, szSrcDir, szDestDir, szCurDir, szTmpFile: PChar; var lpuTmpFileLen: UINT): DWORD;external 'version' name 'VerInstallFile';
 | 
			
		||||
function VerInstallFileA(uFlags: DWORD; szSrcFileName, szDestFileName, szSrcDir, szDestDir, szCurDir, szTmpFile: LPCSTR; var lpuTmpFileLen: UINT): DWORD; external 'version' name 'VerInstallFileA';
 | 
			
		||||
function VerInstallFileW(uFlags: DWORD; szSrcFileName, szDestFileName, szSrcDir, szDestDir, szCurDir, szTmpFile: LPWSTR; var lpuTmpFileLen: UINT): DWORD; external 'version' name 'VerInstallFileW';
 | 
			
		||||
function VerQueryValue(pBlock: Pointer; lpSubBlock: PChar; var lplpBuffer: Pointer; var puLen: UINT): BOOL;external 'version' name 'VerQueryValue';
 | 
			
		||||
function VerQueryValueA(pBlock: Pointer; lpSubBlock: LPCSTR; var lplpBuffer: Pointer; var puLen: UINT): BOOL; external 'version' name 'VerQueryValueA';
 | 
			
		||||
function VerQueryValueW(pBlock: Pointer; lpSubBlock: LPWSTR; var lplpBuffer: Pointer; var puLen: UINT): BOOL; external 'version' name 'VerQueryValueW';
 | 
			
		||||
function VirtualQuery(lpAddress: Pointer; var lpBuffer: TMemoryBasicInformation; dwLength: DWORD): DWORD; external 'kernel32' name 'VirtualQuery';
 | 
			
		||||
function VirtualQueryEx(hProcess: THandle; lpAddress: Pointer; var lpBuffer: TMemoryBasicInformation; dwLength: DWORD): DWORD; external 'kernel32' name 'VirtualQueryEx';
 | 
			
		||||
function WaitCommEvent(hFile: THandle; var lpEvtMask: DWORD; lpOverlapped: POverlapped): BOOL; external 'kernel32' name 'WaitCommEvent';
 | 
			
		||||
function WaitForDebugEvent(var lpDebugEvent: TDebugEvent; dwMilliseconds: DWORD): BOOL; external 'kernel32' name 'WaitForDebugEvent';
 | 
			
		||||
function wglDescribeLayerPlane(p1: HDC; p2, p3: Integer; p4: Cardinal; var p5: TLayerPlaneDescriptor): BOOL;external 'opengl32' name 'wglDescribeLayerPlane';
 | 
			
		||||
function wglGetLayerPaletteEntries(p1: HDC; p2, p3, p4: Integer; var pcr): Integer;external 'opengl32' name 'wglGetLayerPaletteEntries';
 | 
			
		||||
function wglSetLayerPaletteEntries(p1: HDC; p2, p3, p4: Integer; var pcr): Integer;external 'opengl32' name 'wglSetLayerPaletteEntries';
 | 
			
		||||
//function wglSwapMultipleBuffers(p1: UINT; const p2: PWGLSwap): DWORD;external 'opengl32' name 'wglSwapMultipleBuffers';
 | 
			
		||||
//function WinSubmitCertificate(var lpCertificate: TWinCertificate): BOOL;external 'imaghlp' name 'WinSubmitCertificate';
 | 
			
		||||
function WinVerifyTrust(hwnd: HWND; const ActionID: TGUID; ActionData: Pointer): Longint;external 'imaghlp' name 'WinVerifyTrust';
 | 
			
		||||
function WNetAddConnection2(var lpNetResource: TNetResource; lpPassword, lpUserName: PChar; dwFlags: DWORD): DWORD;external 'mpr' name 'WNetAddConnection2';
 | 
			
		||||
function WNetAddConnection2A(var lpNetResource: TNetResourceA; lpPassword, lpUserName: LPCSTR; dwFlags: DWORD): DWORD; external 'mpr' name 'WNetAddConnection2A';
 | 
			
		||||
//function WNetAddConnection2W(var lpNetResource: TNetResourceW; lpPassword, lpUserName: LPWSTR; dwFlags: DWORD): DWORD; external 'mpr' name 'WNetAddConnection2W';
 | 
			
		||||
function WNetAddConnection3(hwndOwner: HWND; var lpNetResource: TNetResource; lpPassword, lpUserName: PChar; dwFlags: DWORD): DWORD;external 'mpr' name 'WNetAddConnection3';
 | 
			
		||||
function WNetAddConnection3A(hwndOwner: HWND; var lpNetResource: TNetResourceA; lpPassword, lpUserName: LPCSTR; dwFlags: DWORD): DWORD; external 'mpr' name 'WNetAddConnection3A';
 | 
			
		||||
//function WNetAddConnection3W(hwndOwner: HWND; var lpNetResource: TNetResourceW; lpPassword, lpUserName: LPWSTR; dwFlags: DWORD): DWORD; external 'mpr' name 'WNetAddConnection3W';
 | 
			
		||||
function WNetConnectionDialog1(var lpConnDlgStruct: TConnectDlgStruct): DWORD;external 'mpr' name 'WNetConnectionDialog1';
 | 
			
		||||
function WNetConnectionDialog1A(var lpConnDlgStruct: TConnectDlgStruct): DWORD; external 'mpr' name 'WNetConnectionDialog1A';
 | 
			
		||||
//function WNetConnectionDialog1W(var lpConnDlgStruct: TConnectDlgStruct): DWORD; external 'mpr' name 'WNetConnectionDialog1W';
 | 
			
		||||
function WNetDisconnectDialog1(var lpConnDlgStruct: TDiscDlgStruct): DWORD;external 'mpr' name 'WNetDisconnectDialog1';
 | 
			
		||||
function WNetDisconnectDialog1A(var lpConnDlgStruct: TDiscDlgStructA): DWORD; external 'mpr' name 'WNetDisconnectDialog1A';
 | 
			
		||||
//function WNetDisconnectDialog1W(var lpConnDlgStruct: TDiscDlgStructW): DWORD; external 'mpr' name 'WNetDisconnectDialog1W';
 | 
			
		||||
function WNetEnumResource(hEnum: THandle; var lpcCount: DWORD; lpBuffer: Pointer; var lpBufferSize: DWORD): DWORD;external 'mpr' name 'WNetEnumResource';
 | 
			
		||||
function WNetEnumResourceA(hEnum: THandle; var lpcCount: DWORD; lpBuffer: Pointer; var lpBufferSize: DWORD): DWORD; external 'mpr' name 'WNetEnumResourceA';
 | 
			
		||||
function WNetEnumResourceW(hEnum: THandle; var lpcCount: DWORD; lpBuffer: Pointer; var lpBufferSize: DWORD): DWORD; external 'mpr' name 'WNetEnumResourceW';
 | 
			
		||||
function WNetGetConnection(lpLocalName: PChar; lpRemoteName: PChar; var lpnLength: DWORD): DWORD;external 'mpr' name 'WNetGetConnection';
 | 
			
		||||
function WNetGetConnectionA(lpLocalName: LPCSTR; lpRemoteName: LPCSTR; var lpnLength: DWORD): DWORD; external 'mpr' name 'WNetGetConnectionA';
 | 
			
		||||
function WNetGetConnectionW(lpLocalName: LPWSTR; lpRemoteName: LPWSTR; var lpnLength: DWORD): DWORD; external 'mpr' name 'WNetGetConnectionW';
 | 
			
		||||
function WNetGetLastError(var lpError: DWORD; lpErrorBuf: PChar; nErrorBufSize: DWORD; lpNameBuf: PChar; nNameBufSize: DWORD): DWORD;external 'mpr' name 'WNetGetLastError';
 | 
			
		||||
function WNetGetLastErrorA(var lpError: DWORD; lpErrorBuf: LPCSTR; nErrorBufSize: DWORD; lpNameBuf: LPCSTR; nNameBufSize: DWORD): DWORD; external 'mpr' name 'WNetGetLastErrorA';
 | 
			
		||||
function WNetGetLastErrorW(var lpError: DWORD; lpErrorBuf: LPWSTR; nErrorBufSize: DWORD; lpNameBuf: LPWSTR; nNameBufSize: DWORD): DWORD; external 'mpr' name 'WNetGetLastErrorW';
 | 
			
		||||
function WNetGetNetworkInformation(lpProvider: PChar; var lpNetInfoStruct: TNetInfoStruct): DWORD;external 'mpr' name 'WNetGetNetworkInformation';
 | 
			
		||||
function WNetGetNetworkInformationA(lpProvider: LPCSTR; var lpNetInfoStruct: TNetInfoStruct): DWORD; external 'mpr' name 'WNetGetNetworkInformationA';
 | 
			
		||||
function WNetGetNetworkInformationW(lpProvider: LPWSTR; var lpNetInfoStruct: TNetInfoStruct): DWORD; external 'mpr' name 'WNetGetNetworkInformationW';
 | 
			
		||||
function WNetGetProviderName(dwNetType: DWORD; lpProviderName: PChar; var lpBufferSize: DWORD): DWORD;external 'mpr' name 'WNetGetProviderName';
 | 
			
		||||
function WNetGetProviderNameA(dwNetType: DWORD; lpProviderName: LPCSTR; var lpBufferSize: DWORD): DWORD; external 'mpr' name 'WNetGetProviderNameA';
 | 
			
		||||
function WNetGetProviderNameW(dwNetType: DWORD; lpProviderName: LPWSTR; var lpBufferSize: DWORD): DWORD; external 'mpr' name 'WNetGetProviderNameW';
 | 
			
		||||
function WNetGetResourceParent(lpNetResource: PNetResource; lpBuffer: Pointer; var cbBuffer: DWORD): DWORD;external 'mpr' name 'WNetGetResourceParent';
 | 
			
		||||
function WNetGetResourceParentA(lpNetResource: PNetResourceA; lpBuffer: Pointer; var cbBuffer: DWORD): DWORD;external 'mpr' name 'WNetGetResourceParentA';
 | 
			
		||||
//function WNetGetResourceParentW(lpNetResource: PNetResourceW; lpBuffer: Pointer; var cbBuffer: DWORD): DWORD;external 'mpr' name 'WNetGetResourceParentW';
 | 
			
		||||
function WNetGetUniversalName(lpLocalPath: PChar; dwInfoLevel: DWORD; lpBuffer: Pointer; var lpBufferSize: DWORD): DWORD;external 'mpr' name 'WNetGetUniversalName';
 | 
			
		||||
function WNetGetUniversalNameA(lpLocalPath: LPCSTR; dwInfoLevel: DWORD; lpBuffer: Pointer; var lpBufferSize: DWORD): DWORD; external 'mpr' name 'WNetGetUniversalNameA';
 | 
			
		||||
function WNetGetUniversalNameW(lpLocalPath: LPWSTR; dwInfoLevel: DWORD; lpBuffer: Pointer; var lpBufferSize: DWORD): DWORD; external 'mpr' name 'WNetGetUniversalNameW';
 | 
			
		||||
function WNetGetUser(lpName: PChar; lpUserName: PChar; var lpnLength: DWORD): DWORD;external 'mpr' name 'WNetGetUser';
 | 
			
		||||
function WNetGetUserA(lpName: LPCSTR; lpUserName: LPCSTR; var lpnLength: DWORD): DWORD; external 'mpr' name 'WNetGetUserA';
 | 
			
		||||
function WNetGetUserW(lpName: LPWSTR; lpUserName: LPWSTR; var lpnLength: DWORD): DWORD; external 'mpr' name 'WNetGetUserW';
 | 
			
		||||
function WNetOpenEnum(dwScope, dwType, dwUsage: DWORD; lpNetResource: PNetResource; var lphEnum: THandle): DWORD;external 'mpr' name 'WNetOpenEnum';
 | 
			
		||||
function WNetOpenEnumA(dwScope, dwType, dwUsage: DWORD; lpNetResource: PNetResourceA; var lphEnum: THandle): DWORD; external 'mpr' name 'WNetOpenEnumA';
 | 
			
		||||
//function WNetOpenEnumW(dwScope, dwType, dwUsage: DWORD; lpNetResource: PNetResourceW; var lphEnum: THandle): DWORD; external 'mpr' name 'WNetOpenEnumW';
 | 
			
		||||
function WNetUseConnection(hwndOwner: HWND; var lpNetResource: TNetResource; lpUserID: PChar; lpPassword: PChar; dwFlags: DWORD; lpAccessName: PChar; var lpBufferSize: DWORD; var lpResult: DWORD): DWORD;external 'mpr' name 'WNetUseConnection';
 | 
			
		||||
function WNetUseConnectionA(hwndOwner: HWND; var lpNetResource: TNetResourceA; lpUserID: LPCSTR; lpPassword: LPCSTR; dwFlags: DWORD; lpAccessName: LPCSTR; var lpBufferSize: DWORD; var lpResult: DWORD): DWORD; external 'mpr' name 'WNetUseConnectionA';
 | 
			
		||||
//function WNetUseConnectionW(hwndOwner: HWND; var lpNetResource: TNetResourceW; lpUserID: LPWSTR; lpPassword: LPWSTR; dwFlags: DWORD; lpAccessName: LPWSTR; var lpBufferSize: DWORD; var lpResult: DWORD): DWORD; external 'mpr' name 'WNetUseConnectionW';
 | 
			
		||||
function WriteConsole(hConsoleOutput: THandle; const lpBuffer: Pointer; nNumberOfCharsToWrite: DWORD; var lpNumberOfCharsWritten: DWORD; lpReserved: Pointer): BOOL;external 'kernel32' name 'WriteConsole';
 | 
			
		||||
function WriteConsoleA(hConsoleOutput: THandle; const lpBuffer: Pointer; nNumberOfCharsToWrite: DWORD; var lpNumberOfCharsWritten: DWORD; lpReserved: Pointer): BOOL; external 'kernel32' name 'WriteConsoleA';
 | 
			
		||||
function WriteConsoleInput(hConsoleInput: THandle; const lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsWritten: DWORD): BOOL;external 'kernel32' name 'WriteConsoleInput';
 | 
			
		||||
function WriteConsoleInputA(hConsoleInput: THandle; const lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsWritten: DWORD): BOOL; external 'kernel32' name 'WriteConsoleInputA';
 | 
			
		||||
function WriteConsoleInputW(hConsoleInput: THandle; const lpBuffer: TInputRecord; nLength: DWORD; var lpNumberOfEventsWritten: DWORD): BOOL; external 'kernel32' name 'WriteConsoleInputW';
 | 
			
		||||
function WriteConsoleOutput(hConsoleOutput: THandle; lpBuffer: Pointer; dwBufferSize, dwBufferCoord: TCoord; var lpWriteRegion: TSmallRect): BOOL;external 'kernel32' name 'WriteConsoleOutput';
 | 
			
		||||
function WriteConsoleOutputA(hConsoleOutput: THandle; lpBuffer: Pointer; dwBufferSize, dwBufferCoord: TCoord; var lpWriteRegion: TSmallRect): BOOL; external 'kernel32' name 'WriteConsoleOutputA';
 | 
			
		||||
function WriteConsoleOutputAttribute(hConsoleOutput: THandle; lpAttribute: Pointer; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfAttrsWritten: DWORD): BOOL; external 'kernel32' name 'WriteConsoleOutputAttribute';
 | 
			
		||||
function WriteConsoleOutputCharacter(hConsoleOutput: THandle;lpCharacter: PChar; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfCharsWritten: DWORD): BOOL;external 'kernel32' name 'WriteConsoleOutputCharacter';
 | 
			
		||||
function WriteConsoleOutputCharacterA(hConsoleOutput: THandle;lpCharacter: LPCSTR; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfCharsWritten: DWORD): BOOL; external 'kernel32' name 'WriteConsoleOutputCharacterA';
 | 
			
		||||
function WriteConsoleOutputCharacterW(hConsoleOutput: THandle;lpCharacter: LPWSTR; nLength: DWORD; dwWriteCoord: TCoord; var lpNumberOfCharsWritten: DWORD): BOOL; external 'kernel32' name 'WriteConsoleOutputCharacterW';
 | 
			
		||||
function WriteConsoleOutputW(hConsoleOutput: THandle; lpBuffer: Pointer; dwBufferSize, dwBufferCoord: TCoord; var lpWriteRegion: TSmallRect): BOOL; external 'kernel32' name 'WriteConsoleOutputW';
 | 
			
		||||
function WriteConsoleW(hConsoleOutput: THandle; const lpBuffer: Pointer; nNumberOfCharsToWrite: DWORD; var lpNumberOfCharsWritten: DWORD; lpReserved: Pointer): BOOL; external 'kernel32' name 'WriteConsoleW';
 | 
			
		||||
function WriteFile(hFile: THandle; const Buffer; nNumberOfBytesToWrite: DWORD; var lpNumberOfBytesWritten: DWORD; lpOverlapped: POverlapped): BOOL; external 'kernel32' name 'WriteFile';
 | 
			
		||||
function WriteFileEx(hFile: THandle; lpBuffer: Pointer; nNumberOfBytesToWrite: DWORD; const lpOverlapped: TOverlapped; lpCompletionRoutine: FARPROC): BOOL; external 'kernel32' name 'WriteFileEx';
 | 
			
		||||
function WriteProcessMemory(hProcess: THandle; const lpBaseAddress: Pointer; lpBuffer: Pointer; nSize: DWORD; var lpNumberOfBytesWritten: DWORD): BOOL; external 'kernel32' name 'WriteProcessMemory';
 | 
			
		||||
 | 
			
		||||
{$endif read_interface}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifdef read_implementation}
 | 
			
		||||
 | 
			
		||||
{$endif read_implementation}
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.8  2000-05-17 11:01:55  marco
 | 
			
		||||
  Revision 1.9  2000-06-11 07:04:59  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.8  2000/05/17 11:01:55  marco
 | 
			
		||||
   * JCL alias for getstringsexa
 | 
			
		||||
 | 
			
		||||
  Revision 1.7  2000/05/08 13:25:34  peter
 | 
			
		||||
 | 
			
		||||
@ -14,66 +14,39 @@
 | 
			
		||||
 | 
			
		||||
 **********************************************************************}
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
{$define read_interface}
 | 
			
		||||
{$define read_implementation}
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  Structures.h
 | 
			
		||||
 | 
			
		||||
  Declarations for all the Windows32 API Structures
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  Copyright (C) 1996 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
unit struct;
 | 
			
		||||
  Author:  Scott Christley <scottc@net-community.com>
 | 
			
		||||
  Date: 1996
 | 
			
		||||
 | 
			
		||||
{  Automatically converted by H2PAS.EXE from structures.h
 | 
			
		||||
   Utility made by Florian Klaempfl 25th-28th september 96
 | 
			
		||||
   Improvements made by Mark A. Malakanov 22nd-25th may 97
 | 
			
		||||
   Further improvements by Michael Van Canneyt, April 1998
 | 
			
		||||
   define handling and error recovery by Pierre Muller, June 1998 }
 | 
			
		||||
  This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
  This library is free software; you can redistribute it and/or
 | 
			
		||||
  modify it under the terms of the GNU Library General Public
 | 
			
		||||
  License as published by the Free Software Foundation; either
 | 
			
		||||
  version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
  interface
 | 
			
		||||
  This library is distributed in the hope that it will be useful,
 | 
			
		||||
  but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
  Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
   uses
 | 
			
		||||
      base,defines;
 | 
			
		||||
  If you are interested in a warranty or support for this source code,
 | 
			
		||||
  contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
  You should have received a copy of the GNU Library General Public
 | 
			
		||||
  License along with this library; see the file COPYING.LIB.
 | 
			
		||||
  If not, write to the Free Software Foundation,
 | 
			
		||||
  59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_interface}
 | 
			
		||||
 | 
			
		||||
  { C default packing is dword }
 | 
			
		||||
 | 
			
		||||
{$PACKRECORDS 4}
 | 
			
		||||
  {
 | 
			
		||||
     Structures.h
 | 
			
		||||
 | 
			
		||||
     Declarations for all the Windows32 API Structures
 | 
			
		||||
 | 
			
		||||
     Copyright (C) 1996 Free Software Foundation, Inc.
 | 
			
		||||
 | 
			
		||||
     Author:  Scott Christley <scottc@net-community.com>
 | 
			
		||||
     Date: 1996
 | 
			
		||||
 | 
			
		||||
     This file is part of the Windows32 API Library.
 | 
			
		||||
 | 
			
		||||
     This library is free software; you can redistribute it and/or
 | 
			
		||||
     modify it under the terms of the GNU Library General Public
 | 
			
		||||
     License as published by the Free Software Foundation; either
 | 
			
		||||
     version 2 of the License, or (at your option) any later version.
 | 
			
		||||
 | 
			
		||||
     This library is distributed in the hope that it will be useful,
 | 
			
		||||
     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 | 
			
		||||
     Library General Public License for more details.
 | 
			
		||||
 | 
			
		||||
     If you are interested in a warranty or support for this source code,
 | 
			
		||||
     contact Scott Christley <scottc@net-community.com> for more information.
 | 
			
		||||
 | 
			
		||||
     You should have received a copy of the GNU Library General Public
 | 
			
		||||
     License along with this library; see the file COPYING.LIB.
 | 
			
		||||
     If not, write to the Free Software Foundation,
 | 
			
		||||
     59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 | 
			
		||||
   }
 | 
			
		||||
 | 
			
		||||
  type
 | 
			
		||||
 | 
			
		||||
    { WARNING
 | 
			
		||||
@ -519,7 +492,7 @@ unit struct;
 | 
			
		||||
       X,
 | 
			
		||||
       Y : SmallInt;
 | 
			
		||||
       end;
 | 
			
		||||
       
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
     POINTS = record
 | 
			
		||||
          x : SHORT;
 | 
			
		||||
@ -682,6 +655,7 @@ unit struct;
 | 
			
		||||
       end;
 | 
			
		||||
     LPLOGFONT = ^LOGFONT;
 | 
			
		||||
     TLOGFONT = LOGFONT;
 | 
			
		||||
     TLOGFONTA = LOGFONT;
 | 
			
		||||
     PLOGFONT = ^LOGFONT;
 | 
			
		||||
 | 
			
		||||
     {CHOOSEFONT = record conflicts with ChosseFont function }
 | 
			
		||||
@ -986,6 +960,7 @@ unit struct;
 | 
			
		||||
     _CONSOLE_CURSOR_INFO = CONSOLE_CURSOR_INFO;
 | 
			
		||||
     TCONSOLECURSORINFO = CONSOLE_CURSOR_INFO;
 | 
			
		||||
     PCONSOLECURSORINFO = ^CONSOLE_CURSOR_INFO;
 | 
			
		||||
     TCURSORINFO = CONSOLE_CURSOR_INFO;
 | 
			
		||||
 | 
			
		||||
     COORD = record
 | 
			
		||||
          X : SHORT;
 | 
			
		||||
@ -1765,6 +1740,9 @@ unit struct;
 | 
			
		||||
       end;
 | 
			
		||||
     LPDEVMODE = ^DEVMODE;
 | 
			
		||||
     _devicemode = DEVMODE;
 | 
			
		||||
     devicemode = DEVMODE;
 | 
			
		||||
     tdevicemode = DEVMODE;
 | 
			
		||||
     tdevicemodeA = DEVMODE;
 | 
			
		||||
     TDEVMODE = DEVMODE;
 | 
			
		||||
     PDEVMODE = ^DEVMODE;
 | 
			
		||||
 | 
			
		||||
@ -1878,6 +1856,7 @@ unit struct;
 | 
			
		||||
          fwType : DWORD;
 | 
			
		||||
       end;
 | 
			
		||||
     TDOCINFO = DOCINFO;
 | 
			
		||||
     TDOCINFOA = DOCINFO;
 | 
			
		||||
     PDOCINFO = ^DOCINFO;
 | 
			
		||||
 | 
			
		||||
     DRAGLISTINFO = record
 | 
			
		||||
@ -2094,6 +2073,7 @@ unit struct;
 | 
			
		||||
     LPLOGCOLORSPACE = ^LOGCOLORSPACE;
 | 
			
		||||
     tagLOGCOLORSPACE = LOGCOLORSPACE;
 | 
			
		||||
     TLOGCOLORSPACE = LOGCOLORSPACE;
 | 
			
		||||
     TLOGCOLORSPACEA = LOGCOLORSPACE;
 | 
			
		||||
     PLOGCOLORSPACE = ^LOGCOLORSPACE;
 | 
			
		||||
 | 
			
		||||
     EMRCREATECOLORSPACE = record
 | 
			
		||||
@ -3892,6 +3872,7 @@ unit struct;
 | 
			
		||||
     LPCMENUITEMINFO = ^MENUITEMINFO;
 | 
			
		||||
     tagMENUITEMINFO = MENUITEMINFO;
 | 
			
		||||
     TMENUITEMINFO = MENUITEMINFO;
 | 
			
		||||
     TMENUITEMINFOA = MENUITEMINFO;
 | 
			
		||||
     PMENUITEMINFO = ^MENUITEMINFO;
 | 
			
		||||
 | 
			
		||||
     MENUITEMTEMPLATE = record
 | 
			
		||||
@ -4178,6 +4159,7 @@ unit struct;
 | 
			
		||||
       end;
 | 
			
		||||
     LPMSGBOXPARAMS = ^MSGBOXPARAMS;
 | 
			
		||||
     TMSGBOXPARAMS = MSGBOXPARAMS;
 | 
			
		||||
     TMSGBOXPARAMSA = MSGBOXPARAMS;
 | 
			
		||||
     PMSGBOXPARAMS = ^MSGBOXPARAMS;
 | 
			
		||||
 | 
			
		||||
     MSGFILTER = record
 | 
			
		||||
@ -4268,7 +4250,9 @@ unit struct;
 | 
			
		||||
     LPNETRESOURCE = ^NETRESOURCE;
 | 
			
		||||
     _NETRESOURCE = NETRESOURCE;
 | 
			
		||||
     TNETRESOURCE = NETRESOURCE;
 | 
			
		||||
     TNETRESOURCEA = NETRESOURCE;
 | 
			
		||||
     PNETRESOURCE = ^NETRESOURCE;
 | 
			
		||||
     PNETRESOURCEA = ^NETRESOURCE;
 | 
			
		||||
 | 
			
		||||
     NEWCPLINFO = record
 | 
			
		||||
          dwSize : DWORD;
 | 
			
		||||
@ -4336,15 +4320,6 @@ unit struct;
 | 
			
		||||
     TNMLISTVIEW = NM_LISTVIEW;
 | 
			
		||||
     PNMLISTVIEW = ^NM_LISTVIEW;
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
{ already in defines.pp file }
 | 
			
		||||
     TREEITEM = record
 | 
			
		||||
       end;
 | 
			
		||||
     HTREEITEM = ^TREEITEM;
 | 
			
		||||
     TTREEITEM = TREEITEM;
 | 
			
		||||
     PTREEITEM = ^TREEITEM;
 | 
			
		||||
{$endif windows_include_files}
 | 
			
		||||
 | 
			
		||||
     TV_ITEM = record
 | 
			
		||||
          mask : UINT;
 | 
			
		||||
          hItem : HTREEITEM;
 | 
			
		||||
@ -6111,6 +6086,7 @@ unit struct;
 | 
			
		||||
     PWIN32_FIND_DATA = ^WIN32_FIND_DATA;
 | 
			
		||||
     _WIN32_FIND_DATA = WIN32_FIND_DATA;
 | 
			
		||||
     TWIN32FINDDATA = WIN32_FIND_DATA;
 | 
			
		||||
     TWIN32FINDDATAA = WIN32_FIND_DATA;
 | 
			
		||||
     PWIN32FINDDATA = ^WIN32_FIND_DATA;
 | 
			
		||||
 | 
			
		||||
     WIN32_STREAM_ID = record
 | 
			
		||||
@ -6151,6 +6127,7 @@ unit struct;
 | 
			
		||||
     LPWNDCLASS = ^WNDCLASS;
 | 
			
		||||
     _WNDCLASS = WNDCLASS;
 | 
			
		||||
     TWNDCLASS = WNDCLASS;
 | 
			
		||||
     TWNDCLASSA = WNDCLASS;
 | 
			
		||||
     PWNDCLASS = ^WNDCLASS;
 | 
			
		||||
 | 
			
		||||
     WNDCLASSEX = record
 | 
			
		||||
@ -6170,6 +6147,7 @@ unit struct;
 | 
			
		||||
     LPWNDCLASSEX = ^WNDCLASSEX;
 | 
			
		||||
     _WNDCLASSEX = WNDCLASSEX;
 | 
			
		||||
     TWNDCLASSEX = WNDCLASSEX;
 | 
			
		||||
     TWNDCLASSEXA = WNDCLASSEX;
 | 
			
		||||
     PWNDCLASSEX = ^WNDCLASSEX;
 | 
			
		||||
 | 
			
		||||
     CONNECTDLGSTRUCT = record
 | 
			
		||||
@ -6194,6 +6172,7 @@ unit struct;
 | 
			
		||||
     LPDISCDLGSTRUCT = ^DISCDLGSTRUCT;
 | 
			
		||||
     _DISCDLGSTRUCT = DISCDLGSTRUCT;
 | 
			
		||||
     TDISCDLGSTRUCT = DISCDLGSTRUCT;
 | 
			
		||||
     TDISCDLGSTRUCTA = DISCDLGSTRUCT;
 | 
			
		||||
     PDISCDLGSTRUCT = ^DISCDLGSTRUCT;
 | 
			
		||||
 | 
			
		||||
     NETINFOSTRUCT = record
 | 
			
		||||
@ -6464,7 +6443,7 @@ unit struct;
 | 
			
		||||
     PIMAGEDOSHEADER = ^IMAGE_DOS_HEADER;
 | 
			
		||||
 | 
			
		||||
  { Variant support }
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  TVarType = Word;
 | 
			
		||||
  PVariant = ^TVariant;
 | 
			
		||||
 | 
			
		||||
@ -6473,7 +6452,7 @@ unit struct;
 | 
			
		||||
  This is part of the variant definition used by Windows API not that Borland
 | 
			
		||||
  TVarRec one which is already partially implemented.
 | 
			
		||||
  Needed for some COM objects }
 | 
			
		||||
  
 | 
			
		||||
 | 
			
		||||
  TVariant = record
 | 
			
		||||
    vt: TVarType;
 | 
			
		||||
    wReserved1: Word;
 | 
			
		||||
@ -6516,10 +6495,6 @@ type
 | 
			
		||||
{$endif read_interface}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
  implementation
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
 | 
			
		||||
{$ifdef read_implementation}
 | 
			
		||||
 | 
			
		||||
  function fBinary(var a : DCB) : DWORD;
 | 
			
		||||
@ -6982,16 +6957,15 @@ type
 | 
			
		||||
       a.flag0:=a.flag0 or ((__fAckReq shl bp_DDEUP_fAckReq) and bm_DDEUP_fAckReq);
 | 
			
		||||
    end;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$endif read_implementation}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{$ifndef windows_include_files}
 | 
			
		||||
end.
 | 
			
		||||
{$endif not windows_include_files}
 | 
			
		||||
{
 | 
			
		||||
  $Log$
 | 
			
		||||
  Revision 1.5  2000-03-14 10:20:18  michael
 | 
			
		||||
  Revision 1.6  2000-06-11 07:04:59  peter
 | 
			
		||||
    * Windows unit has now more Delphi compatibile functions
 | 
			
		||||
    * placed the external functions only in the interface
 | 
			
		||||
 | 
			
		||||
  Revision 1.5  2000/03/14 10:20:18  michael
 | 
			
		||||
  + Added constants and types for Delphi compatibility
 | 
			
		||||
 | 
			
		||||
  Revision 1.4  2000/02/09 16:59:36  peter
 | 
			
		||||
@ -7006,4 +6980,4 @@ end.
 | 
			
		||||
  Revision 1.1  1999/09/16 13:38:24  peter
 | 
			
		||||
    * windows unit include moved to wininc/
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user