// hwnclx.h
HWN_CLIENT_START_DEVICE HwnClientStartDevice;
NTSTATUS HwnClientStartDevice(
[in] PVOID Context
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Implemented by the client driver to start the hardware notification component. It is invoked as a result of a call to EVT_WDF_DEVICE_D0_ENTRY.
Context [in]Pointer to the client driver's context information. This memory space is available for use by the client driver. It is allocated as part of the framework object context space by WdfDeviceCreate. For more information, see HWN_CLIENT_REGISTRATION_PACKET and Framework Object Context Space.
Return STATUS_SUCCESS if the operation succeeds. Otherwise, return an appropriate NTSTATUS error code.
HWN_CLIENT_START_DEVICE HwnClientStartDevice;
NTSTATUS HwnClientStartDevice(
_In_ PVOID Context
)
{ ... }
typedef HWN_CLIENT_START_DEVICE *PHWN_CLIENT_START_DEVICE;
Register your implementation of this callback function by setting the appropriate member of HWN_CLIENT_REGISTRATION_PACKET and then calling HwNRegisterClient.
Hardware notifications support
Hardware notifications reference