TGWIOPM_Driver -
PIOPM
TIOPM
DEVICE_NAME_STRING
IOCMD_IOPMD_ACTIVATE_KIOPM
IOCMD_IOPMD_CLEAR_LIOPM
IOCMD_IOPMD_DEACTIVATE_KIOPM
IOCMD_IOPMD_GET_LIOPMA
IOCMD_IOPMD_GET_LIOPMB
IOCMD_IOPMD_QUERY_KIOPM
IOCMD_IOPMD_READ_TEST
IOCMD_IOPMD_READ_VERSION
IOCMD_IOPMD_SET_LIOPM
IOPMD_TYPE
IOPM_SIZE
GWIOPM_Driver
PIOPM = ^TIOPM
TIOPM = array[0..IOPM_SIZE] of byte;
DEVICE_NAME_STRING = 'gwiopm'
IOCMD_IOPMD_ACTIVATE_KIOPM = $920
Interact with kernel IOPM (KIOPM
IOCMD_IOPMD_CLEAR_LIOPM = $910
Manipulate driver's local IOPM (LIOPM
IOCMD_IOPMD_DEACTIVATE_KIOPM = $921
IOCMD_IOPMD_GET_LIOPMA = $913
IOCMD_IOPMD_GET_LIOPMB = $912
IOCMD_IOPMD_QUERY_KIOPM = $922
IOCMD_IOPMD_READ_TEST = $900
The IOCTL function codes from 0x800 to 0xFFF are for non-Microsoft use. Test functions
IOCMD_IOPMD_READ_VERSION = $901
IOCMD_IOPMD_SET_LIOPM = $911
IOPMD_TYPE = $F100
in application's home directory Device type -- in the "User Defined" range."
IOPM_SIZE = $2000
-----------------------------------------------
Functions for interacting with gwiopm I/O-permissions-map "driver",
in order to give cpu I/O instructions permission to operate
via the I/O permissions mechanism under Win NT.
Revisions
---------
98-05-23 GW original
Copyright Graham Wideman
------------------------
This module is distributed as freeware, and may be freely used for any purpose.
I would appreciate a credit notice if this is useful in your work. Thanks.
Note that this work was greatly aided by demo code from:
Dale Roberts (giveio.sys)
Paula Tomlinson (LOADDRV)
------------------------------------------------
GWIOPM_Driver : TGWIOPM_Driver