None
0 - SUCCESS
or GetLastError()
ProcessUserModeIOPL setting requires "SeTcbPrivilege"!!
Granting it to current account (admin rights required) takes effect after next login!
Description:
Go into Administrative Tools\Local Security Policy\Local Policies\User Rights Assignment
and there select the "Act as part of the operating system" policy and add your local account.
Attention!!
ccAllowIO() is a more secure approach due to you can mask the ports!
However if you need shout out windows during your I/O operations with "cli" only that case should ccSetIOPLto3() be used.
ccSetIOPLto3()
See
ccSetIOPLto3_Demo.eba
ccAllowIO()
ccIN()
ccOUT()
ccINS()
ccOUTS()