spoolss: Move routing functions to a seperate file

Detlef Riekenberg wine.dev at web.de
Fri Feb 6 02:53:57 CST 2009


This is the framework for spoolss to get rid of
"@ stdcall EnumPortsW(wstr long ptr ptr ptr ptr)
winspool.drv.EnumPortsW",
while having a later option to support other provider without
restarting from scratch.

The struct for the backend is an extension to PRINTPROVIDOR.
This produced a larger patch-size for the definition of backend_t,
but makes the code using backend_t easier to read.
The change from BOOL to DWORD as result type is to help the compiler
due to PROVIDOR functions declared as BOOL, but returning ROUTER_*


-- 
 
By by ... Detlef

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-spoolss-Move-routing-functions-to-a-seperate-file.patch
Type: application/mbox
Size: 0 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090206/e29aebb1/attachment.bin 


More information about the wine-patches mailing list