"A. Wilcox" AWilcox@Wilcox-Tech.com writes:
A stale error may reside in thread-local storage that causes WINSPOOL_LoadSystemPrinters to believe initialisation has already occurred.
CreateMutex always sets last error, so this can't make any difference. There must be something else going on.