/[lcore]/trunk/wmessages.pas
ViewVC logotype

Diff of /trunk/wmessages.pas

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 136 by beware, Fri Mar 28 03:18:52 2014 UTC revision 149 by plugwash, Sun Sep 10 20:02:13 2017 UTC
# Line 5  Line 5 
5                
6  unit wmessages;  unit wmessages;
7  //this unit contains various functions and types to make it easier to write  //this unit contains various functions and types to make it easier to write
8  //code that works with both real windows messages and lmessages  //code that works with both real windows messages and lcoremessages
9    
10  interface  interface
11  uses windows,messages,pgtypes;  uses windows,messages,pgtypes;
# Line 15  Line 15 
15    
16  //according to MS you are supposed to use get/setwindowlongptr to get/set  //according to MS you are supposed to use get/setwindowlongptr to get/set
17  //pointers in extra window memory so your program can be built for win64, this  //pointers in extra window memory so your program can be built for win64, this
18  //is also the only interface to window memory that lmessages offers but delphi  //is also the only interface to window memory that lcoremessages offers but delphi
19  //doesn't define it so alias it to getwindowlong here for win32.  //doesn't define it so alias it to getwindowlong here for win32.
20  {$ifndef win64} //future proofing ;)  {$ifndef win64} //future proofing ;)
21    function getwindowlongptr(ahwnd:hwnd;nindex:integer) : taddrint;    function getwindowlongptr(ahwnd:hwnd;nindex:integer) : taddrint;

Legend:
Removed from v.136  
changed lines
  Added in v.149

No admin address has been configured">No admin address has been configured
ViewVC Help
Powered by ViewVC 1.1.26