An information processing apparatus that concurrently executes a plurality
of application programs including first and second application programs
on an operating system. The information processing apparatus monitors a
function call from the first application program to the operating system
or a message being sent and received between the first application
program and the operating system. Then, based on the monitoring result,
the information processing apparatus modifies or inhibits a function call
from the second application program to the operating system or a process
for sending and receiving a message between the second application
program and the operating system. In this way, embodiments of the present
invention control operations of the application program without modifying
the existing operating system.