Export (0) Print
Expand All

GPIO_CLX_UnregisterClient method

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

Driver [in]

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 codeDescription
STATUS_NOT_FOUND

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

Version

Available starting with Windows 8.

Header

Gpioclx.h

IRQL

PASSIVE_LEVEL

See also

EvtDriverUnload
GPIO_CLX_RegisterClient

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft