Ver Fonte

* Add TDispatchMessage

Michaël Van Canneyt há 1 ano atrás
pai
commit
4af99236b0
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      rtl/inc/objpash.inc

+ 6 - 0
rtl/inc/objpash.inc

@@ -226,6 +226,12 @@
        RTLString = shortstring;
 
        {$endif FPC_HAS_FEATURE_ANSISTRINGS}
+       
+       // Dispatch needs a DWord as the first 4 bytes in its untyped parameter.
+       // Note that this is different from Delphi, which uses only a word.
+       TDispatchMessage = record
+         MsgID: DWord;
+       end;  
 
        TObject = class
        protected