From 06c665365e119192570a7fc04b9cfd02b2867173 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 13 Mar 2003 06:51:26 +0000 Subject: Merge of some commentary for getprinter info levels supported by win2k+ (This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3) --- source3/python/py_spoolss_printers.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'source3') diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c index d011681acc..929442ab67 100644 --- a/source3/python/py_spoolss_printers.c +++ b/source3/python/py_spoolss_printers.c @@ -173,6 +173,22 @@ PyObject *spoolss_hnd_getprinter(PyObject *self, PyObject *args, PyObject *kw) case 3: py_from_PRINTER_INFO_3(&result, ctr.printers_3); break; + + /* These info levels are supported by NT4 and higher + but don't seem to be used by any clients we know of. */ + + case 4: + case 5: + case 6: + break; + + /* These info levels are only supported by Windows 2000 + and higher. */ + + case 7: + case 8: + case 9: + break; } Py_INCREF(result); -- cgit