Assert_Client_Ptr

include debug.inc

Assert_Client_Ptr reg, level
 

Asserts that the specified register is a pointer to the current set of client registers.

reg
Specifies the register containing the pointer to check. The macro is more efficient if the client pointer is in the EBP register, but any 32-bit register is allowed.
level
Optional parameter which specifies the debugging level for which the macro should generate code. The default is DeblevelNormal.

This macro does not generate code unless the DEBUG symbol is defined. If the macro generates code, the code calls the Validate_Client_Ptr service.

See Also

Debug_Test_Valid_Handle