Hi,<br><br>I am working on creating a patch for X11DRV_AlphaBlend to allow Bitmap&#39;s with no DIBSECTION to work.<br><br>The code to do this is fairly generic so I created a new method: DIB_CreateDIBSectionFromBitmap.<br>
<br>I initially placed this in winex11.drv/dib.c, however the method required access to private methods in gdi32/dib.c.<br><br>I then considered moving the method to gdi32, however again access to private methods seems to be an issue.<br>
<br>I would prefer not to duplicate code across the dib.c files.<br><br>Is there an accepted approach for acessing support methods across the modules? or should I just duplicate the necessary methods?<br><br>Thanks<br>Damian<br>
<br>