Calling Example: Function Prototype and Call
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Calling Example: Function Prototype and Call

Microsoft Specific

The following example shows the results of making a function call using various calling conventions.

This example is based on the following function skeleton. Replace calltype with the appropriate calling convention.

void    calltype MyFunc( char c, short s, int i, double f );
.
.
.
void    MyFunc( char c, short s, int i, double f )
    {
    .
    .
    .
    }
.
.
.
MyFunc ('x', 12, 8192, 2.7183);

For more information, see Results of Calling Example.

END Microsoft Specific

See Also

Calling Conventions

Show:
© 2016 Microsoft