소스 검색

* Add TDispatchMessage

Michaël Van Canneyt 1 년 전
부모
커밋
4af99236b0
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  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