How to use DrvDeviceCapabilities in winddiui.h (WITH winspool.lib added but LNK2019 unresolved external symbol STILL occured )

G

GanDalf LeBron

Function DrvDeviceCapabilities(winddiui.h) should be used if I want to identify a printer's color capability according to this link. But there is always a link error (LNK2019 unresolved external symbol ) though I added winspool.lib to Library Directories in VC++ Directories and Additional Dependencies in Linker-Input.I used dumpbin tool to find related symbol in ALL lib files but found nothing. As a contrast to DrvDeviceCapabilities, some other symbols can be easily found like OpenPrinter and StartDoc.It seems that DeviceCapabilitiesA function can also retrieves the capabilities of a printer d

Continue reading...
 
Back
Top Bottom