GPIO_CLX_UnregisterClient function (gpioclx.h)
The GPIO_CLX_UnregisterClient method removes a general-purpose I/O (GPIO) controller driver's registration with the GPIO framework extension (GpioClx).
Syntax
NTSTATUS GPIO_CLX_UnregisterClient(
[in] WDFDRIVER Driver
);
Parameters
[in] Driver
A WDFDRIVER handle to the framework driver object for the GPIO controller driver.
Return value
GPIO_CLX_UnregisterClient returns STATUS_SUCCESS if the call is successful. Possible return values include the following error code.
Return code | Description |
---|---|
|
The caller is not a registered client of GpioClx. |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available starting with Windows 8. |
Target Platform | Universal |
Header | gpioclx.h |
Library | Msgpioclxstub.lib |
IRQL | PASSIVE_LEVEL |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for