Share via


Naked Function Calls

OverviewHow Do I

Functions declared with the naked attribute are emitted without prolog or epilog code, enabling you to write your own custom prolog/epilog sequences using inline assembler. Naked functions are provided as an advanced feature. They enable you to declare a function that is being called from a context other than C/C++, and thus make different assumptions about where parameters are, or which registers are preserved. Examples include routines such as MS-DOS interrupt handlers. This feature is particularly useful for writers of virtual device drivers (VxDs). See Naked Function Example.

What do you want to know more about?