HidRegisterMinidriver function (hidport.h)
The HidRegisterMinidriver routine is called by HID minidrivers, during their initialization, to register with the HID class driver.
Syntax
NTSTATUS HidRegisterMinidriver(
[in] PHID_MINIDRIVER_REGISTRATION MinidriverRegistration
);
Parameters
[in] MinidriverRegistration
Pointer to a caller-allocated buffer that contains an initialized HID_MINIDRIVER_REGISTRATION structure for the minidriver.
Return value
HidRegisterMinidriver returns one of the following NTSTATUS codes:
Return code | Description |
---|---|
|
Indicates that the routine completed without error and the minidriver is now registered with the HID class driver. |
|
Indicates that there was insufficient memory for the system to register the minidriver. |
|
Indicates that the HID revision number provided in MinidriverRegistration->Revision is not supported by this version of the HID class driver. |
Remarks
Before calling this routine, HID minidrivers must initialize all members of the HID_MINIDRIVER_REGISTRATION structure that is provided at MinidriverRegistration. For information about these members, see HID_MINIDRIVER_REGISTRATION.
For more information, see HID Collections.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 2000 and later versions of Windows. |
Target Platform | Universal |
Header | hidport.h (include Hidport.h) |
Library | Hid.lib |
IRQL | <= DISPATCH_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