The GPIO_CLX_UnregisterClient method removes a general-purpose I/O (GPIO) controller driver's registration with the GPIO framework extension (GpioClx).
- Driver [in]
A WDFDRIVER handle to the framework driver object for the GPIO controller driver.
GPIO_CLX_UnregisterClient returns STATUS_SUCCESS if the call is successful. Possible return values include the following error code.
The caller is not a registered client of GpioClx.
A GPIO controller driver calls this method to cancel its registration. The driver registered in a previous call to the GPIO_CLX_RegisterClient method.
Typically, the GPIO controller driver calls this method from its EvtDriverUnload event callback function, which runs shortly before the driver unloads.
|Available starting with Windows 8.|