| IDA SDK

Macros
Action flags

## Detailed Description

used by register_action().

The upper 16 bits are reserved.

## Macros
#define | ADF_OWN_HANDLER 0x01
| handler is owned by the action; it'll be destroyed when the action is unregistered. More...
#define | ADF_NO_UNDO 0x02
| the action does not create an undo point. More...
#define | ADF_OT_MASK 0x0C
| Owner type mask.
#define | ADF_OT_PLUGIN 0x00
| Owner is a plugin_t.
#define | ADF_OT_PLUGMOD 0x04
| Owner is a plugmod_t.
#define | ADF_OT_PROCMOD 0x08
| Owner is a procmod_t.
#define | ADF_GLOBAL 0x10
| Register the action globally, so that it's available even if no IDB is present.
#define | ADF_NO_HIGHLIGHT 0x20
| After activating, do not update the highlight according to what's under the cursor (listings only.)
#define | ADF_CHECKABLE 0x40
| action is checkable
#define | ADF_CHECKED 0x80
| starts in a checked state (requires ADF_CHECKABLE)

## Macro Definition Documentation

## ◆ ADF_OWN_HANDLER

#define ADF_OWN_HANDLER 0x01

handler is owned by the action; it'll be destroyed when the action is unregistered.

Use DYNACTION_DESC_LITERAL to set this bit.

## ◆ ADF_NO_UNDO

#define ADF_NO_UNDO 0x02

the action does not create an undo point.

useful for actions that do not modify the database.