OMNI_WIN_API
MACRO

OMNI_WIN_API - Defines whether to use straight Windows API or CRT functions.

SYNOPSIS top

#define OMNI_WIN_API

If defined, will change certain functions used.

DESCRIPTION top

If this macro is defined, then the direct Windows API calls will be used instead of the WinCRT functions.

For example, in omni::sync::thread when a thread is spawned, if this macro is defined then CreateThread is used, while if this macro is not defined then _beginthreadex is utilized.

CONSIDERATIONS top

No special considerations.

PLATFORM SPECIFIC top

This macro option only applies to Windows platforms and will have no effect if defined on a non Windows platform.

NOTES top

None.