Run-time Efficiency

Windows CE .NET

Using the iwcall or iw16 declspecs will always result in faster code for interworking calls when compared to a linker-generated thunking routine. The declspecs add only a single MOV instruction to the execution path. The linker-generated thunking routine adds two instructions, a load from memory, and a branch.

See Also

Linker-Generated Thunking Routines | Code Size Efficiency | iwcall | iw16 | iw32

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.