Attempt to use an unknown PrintTicket provider handle (HPTPROVIDER) |
Application Verifier break message
Attempt to use an unknown PrintTicket provider handle (HPTPROVIDER)
Probable cause
A PrintTicket provider handle was used that was not opened by calling PTOpenProvider or PTOpenProviderEx.
Troubleshooting steps:
The sample debugger output below illustrates how to examine the stack trace to find the function that includes the print ticket provider handle from Parameter 1 in the argument list.
After you identify this function, find the routine that includes this function and examine the source code to determine the open function used to open the handle and correct it if necessary.
� | Copy Code |
---|---|
======================================= VERIFIER STOP 0000A00F : pid 0x16CC: Attempt to use an unknown PrintTicket provider handle (HPTPROVIDER) 031F4C00 : HPTPROVIDER handle being accessed. 00000000 : Not used. 00000000 : Not used. 00000000 : Not used. ======================================= 0:000> k ChildEBP RetAddr 000df518 7286385b ntdll!DbgBreakPoint 000df71c 6eee425e vrfcore!VerifierStopMessageEx+0x4bd 000df750 6eee45f6 vfprint!CResourceUsageMgr<HPTPROVIDER__ *,CHandleTracker_t<HPTPROVIDER__ *> >::ClosedHandleCheck+0x70 000df7f4 00143f80 vfprint!VfPTCloseProvider+0x111 000df814 00142edc UnitTestvfPrint!UseCompletelyInvalidPTProviderHandle+0x40 * !Unknown or invalid PrintTicket provider handled used here 000df90c 001450b6 UnitTestvfPrint!wmain+0x3dc 000df950 76413833 UnitTestvfPrint!__wmainCRTStartup+0x102 000df95c 775fa9bd KERNEL32!BaseThreadInitThunk+0xe 000df99c 00000000 ntdll!_RtlUserThreadStart+0x23 |
Information displayed by Application Verifier
Parameter 1 - HPTPROVIDER handle being accessed.
Parameter 2 - Not used.
Parameter 3 - Not used.
Parameter 4 - Not used.
Additional information
Test Layer:�PrintAPI
Stop code:�0000A00F
Severity:�Error
One-time error:�no
Error report:�Break
Log to file:�yes
Create backtrace:�yes