// pep_x.h
VOID PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE(
[in] BOOLEAN Shareable,
[in] BOOLEAN CanWake,
[in] GPIO_PIN_CONFIG_TYPE PinConfig,
[in] USHORT DebounceTimeout,
[in] USHORT DriveStrength,
[in] GPIO_PIN_IORESTRICTION_TYPE IoRestriction,
[in] UCHAR ResourceSourceIndex,
[in] PUNICODE_STRING ResourceSourceName,
[in] BOOLEAN ResourceUsage,
[in] PUCHAR VendorData,
[in] USHORT VendorDataLength,
[in] PUSHORT PinTable,
[in] USHORT PinCount,
[out] PPEP_ACPI_RESOURCE Resource
);
View the official Windows Driver Kit DDI reference// pepfx.h
VOID PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE(
[in] BOOLEAN Shareable,
[in] BOOLEAN CanWake,
[in] GPIO_PIN_CONFIG_TYPE PinConfig,
[in] USHORT DebounceTimeout,
[in] USHORT DriveStrength,
[in] GPIO_PIN_IORESTRICTION_TYPE IoRestriction,
[in] UCHAR ResourceSourceIndex,
[in] PUNICODE_STRING ResourceSourceName,
[in] BOOLEAN ResourceUsage,
[in] PUCHAR VendorData,
[in] USHORT VendorDataLength,
[in] PUSHORT PinTable,
[in] USHORT PinCount,
[out] PPEP_ACPI_RESOURCE Resource
);
View the official Windows Driver Kit DDI referenceNo description available.
The PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE function initializes a platform extension plug-in's (PEP) PEP_ACPI_GPIO_RESOURCE structure.
Shareable [in]Indicates if the device can be shared.
CanWake [in]Indicates if the device can be woken from a low-power state.
PinConfig [in]A GPIO_PIN_CONFIG_TYPE enumeration value that identifies the GPIO pin configuration type.
DebounceTimeout [in]Specifies the hardware debounce wait time, in hundredths of milliseconds.
DriveStrength [in]IoRestriction [in]ResourceSourceIndex [in]This parameter should always be zero.
ResourceSourceName [in]This parameter should always be "ResourceConsumer."
ResourceUsage [in]Indicates if this device is in use.
VendorData [in]A pointer to a raw data buffer containing vendor-defined byte data to be decoded by the OS driver.
VendorDataLength [in]The size of the buffer in the VendorData parameter.
PinTable [in]A list of pin numbers on the resource.
PinCount [in]The number of pins described by the PinTable parameter.
Resource [out]A pointer to the resource. The structure behind the pointer is of type PEP_ACPI_GPIO_RESOURCE.
The PEP_ACPI_INITIALIZE_GPIO_IO_RESOURCE function initializes a platform extension plug-in's (PEP) PEP_ACPI_GPIO_RESOURCE structure.
Shareable [in]Indicates if the device can be shared.
CanWake [in]Indicates if the device can be woken from a low-power state.
PinConfig [in]A GPIO_PIN_CONFIG_TYPE enumeration value that identifies the GPIO pin configuration type.
DebounceTimeout [in]Specifies the hardware debounce wait time, in hundredths of milliseconds.
DriveStrength [in]IoRestriction [in]ResourceSourceIndex [in]This parameter should always be zero.
ResourceSourceName [in]This parameter should always be "ResourceConsumer."
ResourceUsage [in]Indicates if this device is in use.
VendorData [in]A pointer to a raw data buffer containing vendor-defined byte data to be decoded by the OS driver.
VendorDataLength [in]The size of the buffer in the VendorData parameter.
PinTable [in]A list of pin numbers on the resource.
PinCount [in]The number of pins described by the PinTable parameter.
Resource [out]A pointer to the resource. The structure behind the pointer is of type PEP_ACPI_GPIO_RESOURCE.