On 02/04/2020 19:41, Sergey Bylokhov wrote:
On 4/2/20 10:51 am, Alexey Ivanov wrote:
What about this?

// Open the local printer server
BOOL ret = OpenPrinter(NULL, &hPrinter, NULL);

I found it useful, otherwise, I would be the first who deleted it.

Okay. Let the local variable live.

Concise and clear.
For details and to look up the meaning of the parameters, if required, one can always open MSDN.
--
Regards,
Alexey

Reply via email to