// pep_x.h
typedef enum _GPIO_PIN_IORESTRICTION_TYPE {
IoRestrictionNone,
IoRestrictionInputOnly,
IoRestrictionOutputOnly,
IoRestrictionNoneAndPreserve
} GPIO_PIN_IORESTRICTION_TYPE;
View the official Windows Driver Kit DDI reference// pepfx.h
typedef enum _GPIO_PIN_IORESTRICTION_TYPE {
IoRestrictionNone,
IoRestrictionInputOnly,
IoRestrictionOutputOnly,
IoRestrictionNoneAndPreserve
} GPIO_PIN_IORESTRICTION_TYPE;
View the official Windows Driver Kit DDI referenceNo description available.
The GPIO_PIN_IORESTRICTION_TYPE enumeration describes the functions that a GPIO pin is limited to performing.
IoRestrictionNoneIndicates that the GPIO pin is not restricted to either input or output. When no IO restriction is described, it is assumed to be IoRestrictionNone.
IoRestrictionInputOnlyIndicates that the GPIO pin is restricted to input.
IoRestrictionOutputOnlyIndicates that the GPIO pin is restricted to output.
IoRestrictionNoneAndPreserveIndicates that the GPIO pin is not restricted to either input or output and that the mode should be preserved when the driver is unloaded.
The GPIO_PIN_IORESTRICTION_TYPE enumeration describes the functions that a GPIO pin is limited to performing.
IoRestrictionNoneIndicates that the GPIO pin is not restricted to either input or output. When no IO restriction is described, it is assumed to be IoRestrictionNone.
IoRestrictionInputOnlyIndicates that the GPIO pin is restricted to input.
IoRestrictionOutputOnlyIndicates that the GPIO pin is restricted to output.
IoRestrictionNoneAndPreserveIndicates that the GPIO pin is not restricted to either input or output and that the mode should be preserved when the driver is unloaded.