#define LOCKS_SWITCH_TO_THREAD extern "C" { BOOL Locks_Initialize(); BOOL Locks_Cleanup(); };