K
Kerem Gümrükcü
Hi,
i have a application that can open an user defined service
at will and can send a User Definded Control Code to it.
I know that the OS restricts/reserves the usage of all
Codes below 127 to the OS itself, so this might be the
reason why executin the Code below 128 either raises
and Invalid Argument Exception (underlying OS Exception)
or an Acess Denied Exception (also underlying OS Exceptions
detail message). But can i bypass this restriction with some
e.g. Token Modification/Environment Change/Context Switch to
whatever or a windows api call in that way, that i can call all codes
from 0 to 255? I want to use a single function call like the
ExecuteCommand(...),...
TIA,...
Regards
Kerem
--
i have a application that can open an user defined service
at will and can send a User Definded Control Code to it.
I know that the OS restricts/reserves the usage of all
Codes below 127 to the OS itself, so this might be the
reason why executin the Code below 128 either raises
and Invalid Argument Exception (underlying OS Exception)
or an Acess Denied Exception (also underlying OS Exceptions
detail message). But can i bypass this restriction with some
e.g. Token Modification/Environment Change/Context Switch to
whatever or a windows api call in that way, that i can call all codes
from 0 to 255? I want to use a single function call like the
ExecuteCommand(...),...
TIA,...
Regards
Kerem
--