New printer notification?

M

Maro

how to get a notification when a new printer is added?
I tried using FindFirstPrinterChangeNotification with
PRINTER_CHANGE_PRINTER flag but with no success (since
FindFirstPrinterChangeNotification should be bound to a already
connected printer).
Is there a way to do it? Or am I doing it the wrong way?
Thank you
 
J

Jack Klein

how to get a notification when a new printer is added?
I tried using FindFirstPrinterChangeNotification with
PRINTER_CHANGE_PRINTER flag but with no success (since
FindFirstPrinterChangeNotification should be bound to a already
connected printer).
Is there a way to do it? Or am I doing it the wrong way?
Thank you

Well one of the groups you posted to was correct, but this is
completely off-topic in comp.lang.c++. Please do not cross post
Windows specific questions here in the future.

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://www.eskimo.com/~scs/C-faq/top.html
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++ ftp://snurse-l.org/pub/acllc-c++/faq
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top