_trap (Windows CE 5.0)

Send Feedback

This function inserts a trap instruction.

int __cdecl __trap(arg1,);

Parameters

  • arg1
    [in] The trap number.

Return Values

The integer value provided by the trap handler. If the trap handler provides no return value, the return value is undefined.

Remarks

The compiler back end can enforce restrictions on the arguments, including the trap number, and can define a special calling convention for the trap.

The interpretation of the trap number and the actions taken by the trap handler are not defined.

Requirements

Header: Cmnintrin.h.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.