IOCTL_TAPE_LOG_SELECT
This command resets all log pages that can be reset on the device to their default values. This IOCTL is only for the tape path.
An example of this command to reset all log pages follows.
DWORD cb;
DeviceIoControl(hDevice,
IOCTL_TAPE_LOG_SELECT,
NULL,
0,
NULL,
0,
&cb,
(LPOVERLAPPED) NULL);