Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 1  
08 Feb 18 22:02
Nghiem Dang Dinh
xxxxxx@gmail.com
Join Date: 08 Feb 2018
Posts To This List: 1
Application cannot obtain the information of monolithic driver's device fonts on Wind

1. Our own printer driver which is developed by using WDK (Windows Driver Kits 7.1.0), is known as monolithic driver. 2. In addition, I wrote sample application calls EnumFontFamiliesEx() in order to confirm whether the sample application can obtain our own driver's device fonts information both on Windows 32-bit and 64-bit? + On Windows 32-bits, sample application can obtain the information of our own printer driver driver's device fonts successfully by using EnumFontFamiliesEx() (as expected) + On Windows 64-bits, sample application cannot obtain the information of our own printer driver driver's device fonts successfully by using EnumFontFamiliesEx(). (against expected). 3. Our Monolithic printer dirver uses DrvQueryFont(),DrvQueryFontTree() function which is called by GDI to get IFIMETRICS structure for a given font. However, we found the difference between Windows 64-bits and 32-bits when reproducing problem. - On Windows 32-bits, DrvQueryFont() is called 140 times and DrvQueryFontTree() is called 140 times - On Windows 64-bits, DrvQueryFont() is called just 1 time, but DrvQueryFontTree() is not called. 4. Above problem does not occur with Uni-driver (Mini Dirver) which is also developed by using WDK 7.1.0
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 06:47.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license