HwNUnregisterClient function (hwnclx.h)
Unregisters the hardware notification client driver and its callback functions with the class extension. This function should be invoked when the client driver is unloaded.
Syntax
FORCEINLINE NTSTATUS HwNUnregisterClient(
_In_ WDFDRIVER Driver
);
Parameters
[in] Driver
Handle to the client drivers framework driver object.
Return value
Returns STATUS_SUCCESS if function succeeds. Returns STATUS_INVALID_PARAMETER if corresponding client driver can't be found. Otherwise, it returns one of the error status values defined in Ntstatus.h.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1709 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | hwnclx.h |
Library | Mshwnclxstub.lib |
IRQL | PASSIVE_LEVEL |