| IDA SDK

Public Member Functions | List of all members
user_defined_prefix_t Struct Referenceabstract

## Detailed Description

Class to generate user-defined prefixes in the disassembly listing.

## Public Member Functions
| user_defined_prefix_t (size_t prefix_len, const void *owner)
| Creating a user-defined prefix object installs it.
virtual idaapi | ~user_defined_prefix_t ()
| Destroying a user-defined prefix object uninstalls it.
virtual void idaapi | get_user_defined_prefix (qstring *vout, ea_t ea, const class insn_t &insn, int lnnum, int indent, const char *line)=0
| This callback must be overridden by the derived class. More...

## Member Function Documentation

## ◆ get_user_defined_prefix()

virtual void idaapi user_defined_prefix_t::get_user_defined_prefix | ( | qstring * | vout,
|  | ea_t | ea,
|  | const class insn_t & | insn,
|  | int | lnnum,
|  | int | indent,
|  | const char * | line
| ) |  |
| pure virtual

This callback must be overridden by the derived class.

Parameters

  vout | the output buffer
  ea | the current address
  insn | the current instruction. if the current item is not an instruction, then insn.itype is zero.
  lnnum | number of the current line (each address may have several listing lines for it). 0 means the very first line for the current address.
  indent | see explanations for gen_printf()
  line | the line to be generated. the line usually contains color tags. this argument can be examined to decide whether to generate the prefix.

The documentation for this struct was generated from the following file:

- lines.hpp