T
Thomas2054
Guest
In using the WDK (7600.16385.1), I want to add the sample port monitors to the XPSDrv sample.
Following the example at http://msdn.microsoft.com/en-us/library/windows/hardware/ff551668%28v=vs.85%29.aspx, I compiled the sample monitors in the src\print\monitors directories, which worked without error, and then added the references to the same as per the instructions in the aforementioned web link.
The printer driver installed, though what, if any, role the included monitor drivers were playing was not at all obvious.
So, using the WDK tool (see Doron, I am listening ;-) INFgate.exe, I examined the modified xdsmpl.inf file.
The tool indicates that:
Line 141: (W22.1.2083) Section [PortMonitors] not referenced
Line 144: (W22.1.2083) Section [KitPortMonitor] not referenced
The specific lines from the xdsmpl.inf file are:
[PortMonitors]
; (W22.1.2083) Section [PortMonitors] not referenced
"Kit Port Monitor" = KitPortMonitor
[KitPortMonitor]
; (W22.1.2083) Section [KitPortMonitor] not referenced
CopyFiles = C:\WinDDK\7600.16385.1\src\print\monitors\localmon\objchk_win7_x86\i386\ddklocalmon.dll, C:\WinDDK\7600.16385.1\src\print\monitors\localui\objchk_win7_x86\i386\ddklocalui.dll, C:\WinDDK\7600.16385.1\src\print\monitors\pjlmon\objchk_win7_x86\i386\ddkpjlmon.dll
PortMonitorDll = ddklocalui.dll
The referenced web site indicates that only these two sections, viz., [PortMonitors] and [KitPortMonitor] are needed. Clearly there is more to the story. What is the “more”?
Thanks.
Thomas
Continue reading...
Following the example at http://msdn.microsoft.com/en-us/library/windows/hardware/ff551668%28v=vs.85%29.aspx, I compiled the sample monitors in the src\print\monitors directories, which worked without error, and then added the references to the same as per the instructions in the aforementioned web link.
The printer driver installed, though what, if any, role the included monitor drivers were playing was not at all obvious.
So, using the WDK tool (see Doron, I am listening ;-) INFgate.exe, I examined the modified xdsmpl.inf file.
The tool indicates that:
Line 141: (W22.1.2083) Section [PortMonitors] not referenced
Line 144: (W22.1.2083) Section [KitPortMonitor] not referenced
The specific lines from the xdsmpl.inf file are:
[PortMonitors]
; (W22.1.2083) Section [PortMonitors] not referenced
"Kit Port Monitor" = KitPortMonitor
[KitPortMonitor]
; (W22.1.2083) Section [KitPortMonitor] not referenced
CopyFiles = C:\WinDDK\7600.16385.1\src\print\monitors\localmon\objchk_win7_x86\i386\ddklocalmon.dll, C:\WinDDK\7600.16385.1\src\print\monitors\localui\objchk_win7_x86\i386\ddklocalui.dll, C:\WinDDK\7600.16385.1\src\print\monitors\pjlmon\objchk_win7_x86\i386\ddkpjlmon.dll
PortMonitorDll = ddklocalui.dll
The referenced web site indicates that only these two sections, viz., [PortMonitors] and [KitPortMonitor] are needed. Clearly there is more to the story. What is the “more”?
Thanks.
Thomas
Continue reading...