Browse Source

* fix for mantis 17083, change funcdesc field to ptr to array of hresult
instead of just ptr to scode.

git-svn-id: trunk@15715 -

marco 15 years ago
parent
commit
38fb33f09a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      packages/winunits-base/src/activex.pp

+ 3 - 1
packages/winunits-base/src/activex.pp

@@ -813,6 +813,8 @@ TYPE
     lpDISPID            = ^DISPID;
     MEMBERID            = DispId;
     HREFTYPE            = DWord;
+    TResultList		= array[0..high(integer) div 4-50] of HResult;
+    PResultList         = ^TResultList;
 
     PSYSINT = ^SYSINT;
     SYSINT = LongInt;
@@ -1597,7 +1599,7 @@ TYPE
 
   tagFUNCDESC                    = Record
                                      memid             : MEMBERID;
-                                     lprgscode         : pSCODE;
+                                     lprgscode         : PResultList;
                                      lprgelemdescParam : lpELEMDESC;    // array of param types
                                      FUNCKIND          : funckind;
                                      invkind           : INVOKEKIND;