The DlnGpioPinGetSupportedEventTypes() function returns all event types supported for the specified pin.
A handle to the DLN-series adapter.
A number of the pin for which you want to get the information.
The pointer to the DLN_GPIO_PIN_EVENT_TYPES structure that is filled by the supported event types. After the function execution, the structure fields include the following information:
The number of available event types.
An 8-element array. Each element corresponds to one of the supported event types.
The function was successful.
The pin number is not valid. Use the DlnGpioGetPinCount() function to find the maximum possible pin number.
The DlnGpioPinGetSupportedEventTypes() function is declared in the dln_gpio.h file.