IOCTL_GET_VERSION IOCTL (usbscan.h)
Returns the version number of the driver.
Major code
Input buffer
NULL
Input buffer length
Zero.
Output buffer
Pointer to a DRV_VERSION structure.
Output buffer length
Size of the output buffer.
Status block
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
Remarks
DeviceIoControl Parameters
When the DeviceIoControl function is called with the IOCTL_GET_VERSION I/O control code, the caller must specify the address of a DRV_VERSION structure as the function's lpOutBuffer parameter. The kernel-mode driver fills in the structure members.
For more information, see Accessing Kernel-Mode Drivers for Still Image Devices.
Requirements
Requirement | Value |
---|---|
Header | usbscan.h (include Usbscan.h) |