Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.4 KB

naked-function-calls.md

File metadata and controls

26 lines (17 loc) · 1.4 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Naked Function Calls
Naked Function Calls
11/04/2016
virtual device drivers
VXD virtual device drivers
virtual device drivers, naked function calls
naked functions
prolog code
epilog code
naked keyword [C++]
naked keyword [C++], storage-class attribute
2a66847a-a43f-4541-a7be-c9f5f29b5fdb

Naked Function Calls

Microsoft Specific

Functions declared with the naked attribute are emitted without prolog or epilog code, enabling you to write your own custom prolog/epilog sequences using the 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 interrupt handlers. This feature is particularly useful for writers of virtual device drivers (VxDs).

What do you want to know more about?

END Microsoft Specific

See also

Calling Conventions