ccSetIOPLto3

Syntax

INT = ccSetIOPLto3()

Description

Set the IOPL to 3. -cli,sti,out,in... gets available on privilege level 3!-

Parameters

None

Return value

0 - SUCCESS
or GetLastError()

Remarks

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.

Example usage

ccSetIOPLto3()

See
ccSetIOPLto3_Demo.eba
ccAllowIO()
ccIN()
ccOUT()
ccINS()
ccOUTS()