| Home
| Previous
| Next
| Up

PM_setIOPL

Set the I/O priveledge level for the current process

Declaration

int PMAPI PM_setIOPL(
int iopl)

Prototype In

pmapi.h

Parameters

iopl | New IOPL to make active (0 - 3)

Return Value

Previous IOPL active before the change was made

Description

This function is used to change the I/O privledge level of the current process, so that it can access I/O ports directly. This works on all supported OS'es to date, even on OS/2 and Windows NT/2000/XP, provided you have the necessary kernel level drivers or services installed.

See Also

PM_getIOPL

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com