Menu

Application Verifier break message

Potential multi-threaded access to a printer handle detected

Probable cause

A printer handle was used in a different thread than the thread that created it.

Printer handles are not thread safe which means that simultaneous use of a printer handle in multiple threads is not permitted without application-level synchronization to safely coordinate access to the handle. The application should either open a separate printer handle in each thread or provide custom synchronization access to the printer handle by using the Microsoft Win32 synchronization API.

The Win32 synchronization API is described further at http://go.microsoft.com/fwlink/?LinkId=68570.

Information displayed by Application Verifier

Parameter 1 - Printer handle being accessed.

Parameter 2 - Thread id of the initializing thread.

Parameter 3 - Stack trace of the initialization.

Parameter 4 - Not used.

Additional information

Test Layer:�PrintAPI

Stop code:�0000A004

Severity:�Warning

One-time error:�no

Error report:�None

Log to file:�yes

Create backtrace:�yes