windows/MiscSystem.cpp File Reference
#include "RexxCore.h"
#include "StringClass.hpp"
#include "DirectoryClass.hpp"
#include "RexxActivity.hpp"
#include "RexxActivation.hpp"
#include "PointerClass.hpp"
#include <stdlib.h>
#include <process.h>
#include "malloc.h"
#include <signal.h>
#include "Interpreter.hpp"
#include "SystemInterpreter.hpp"
Include dependency graph for windows/MiscSystem.cpp:

Go to the source code of this file.

Macros

#define MAX_ADDRESS_NAME_LENGTH   250 /* maximum command environment name */
 

Functions

int WinExceptionFilter (int xCode)
 
BOOL APIENTRY RexxSetProcessMessages (BOOL turnOn)
 

Macro Definition Documentation

◆ MAX_ADDRESS_NAME_LENGTH

#define MAX_ADDRESS_NAME_LENGTH   250 /* maximum command environment name */

Definition at line 105 of file windows/MiscSystem.cpp.

Function Documentation

◆ RexxSetProcessMessages()

BOOL APIENTRY RexxSetProcessMessages ( BOOL  turnOn)

This was an undocumented API prior to 4.0, but is known to have been used by some IBM applications. Therefore this was maintained solely for binary compatibility.

However, it is now also used to turn off processing Windows messages in a special case situation. See the SysSemaphore::waitHandle() comments for more info. This is done on a per-thread basis, RexxSetProcessMessages() must be invoked while executing on the proper thread.

Returns
TRUE always.

Definition at line 137 of file windows/MiscSystem.cpp.

References SysSemaphore::setNoMessageLoop().

◆ WinExceptionFilter()

int WinExceptionFilter ( int  xCode)

Definition at line 96 of file windows/MiscSystem.cpp.