// hidport.h
typedef struct _HID_MINIDRIVER_REGISTRATION {
ULONG Revision;
PDRIVER_OBJECT DriverObject;
PUNICODE_STRING RegistryPath;
ULONG DeviceExtensionSize;
BOOLEAN DevicesArePolled;
UCHAR Reserved[3];
} HID_MINIDRIVER_REGISTRATION, *PHID_MINIDRIVER_REGISTRATION;
View the official Windows Driver Kit DDI referenceNo description available.
The HID_MINIDRIVER_REGISTRATION structure contains registration information that a HID minidriver passes to the HID Client Drivers when the minidriver registers with the class driver.
RevisionSpecifies the HID version that this minidriver supports.
DriverObjectPointer to the minidriver's DRIVER_OBJECT.
RegistryPathPointer to the minidriver's registry path.
DeviceExtensionSizeSpecifies the length, in bytes, that the minidriver requests for a device extension.
DevicesArePolledSpecifies that the devices on the bus that this minidriver supports must be polled in order to obtain data from the device.
ReservedReserved for internal system use.
When a HID minidriver calls HidRegisterMinidriver, it uses this structure to pass information to the HID class driver. The minidriver must zero-initialize this structure before setting members. A minidriver sets the members DriverObject and RegistryPath to the driver object and registry path parameters that are passed to the minidriver as system-supplied parameters to its DriverEntry routine. Revision should be set to HID_REVISION.