Predefined Compiler Symbols

 

Symbol

Meaning

_asm(“ “);

In-line assembly instruction(s).

_stdcall

Call convention declaring a function that cleans up the stack before executing the return statement.

_try

Introduces a try block in the Win32 structured exception handling.

_except

Finishes a structured try block.

__declspec

Declare special. Its arguments can be:

__declspec(dllimport)

meaning the symbol following this declaration is imported from a foreign DLL, or:

__declspec(dllexport)

meaning this symbol should be exported from the DLL being compiled.