Share via


Incorrect Object Type For Handle

Application Verifier stop message

Handle violation detected. Incorrect object type for handle.

Probable cause

This stop is generated if the current thread is calling an API with a handle to an object with an incorrect object type. For example, calling SetEvent with a semaphore handle as parameter will generate this stop.

Information displayed by Application Verifier in Tool Window

Handle - Handle value

Description - Incorrect object type for handle

Additional info - Object type name : actual <name> - expected <name>

Additional information

The current call stack will show where the incorrect object type is being used.

Frequency of this error is low.

See Also

Concepts

Handle Verifier