// minitape.h
typedef struct _TAPE_WMI_OPERATIONS {
ULONG Method;
ULONG DataBufferSize;
PVOID DataBuffer;
} TAPE_WMI_OPERATIONS, *PTAPE_WMI_OPERATIONS;
View the official Windows Driver Kit DDI reference// ntddtape.h
typedef struct _TAPE_WMI_OPERATIONS {
ULONG Method;
ULONG DataBufferSize;
PVOID DataBuffer;
} TAPE_WMI_OPERATIONS, *PTAPE_WMI_OPERATIONS;
View the official Windows Driver Kit DDI referenceNo description available.
The tape miniclass driver passes this structure to its TapeMiniWMIControl routine to indicate which WMI operation must be performed by the device.
MethodIndicates the operation to be performed by the tape device. The operations allowed are as follows:
If the tape drive supports commands to return specific device errors, such as tape alerts, the minidriver's TapeMiniWMIControl routine should execute the TAPE_QUERY_DEVICE_ERROR_DATA method Otherwise, it should execute the TAPE_QUERY_IO_ERROR_DATA method.
Returns specific device errors, such as tape alerts. Not all tape drives support this method.
Returns general I/O error data, such as read/write errors, based on the I/O error count. All tape drives support this method.
DataBufferSizeIndicates the size in bytes of the buffer in which the tape minidriver returns the results of the operation.
DataBufferPointer to a buffer in which the tape minidriver returns the results of the operation. The first sizeof(ULONG) bytes of DataBuffer contain a value of type TAPE_DRIVE_PROBLEM_TYPE, followed by DataBufferSize - sizeof(ULONG) bytes of tape data.
The tape miniclass driver passes this structure to its TapeMiniWMIControl routine to indicate which WMI operation must be performed by the device.
MethodIndicates the operation to be performed by the tape device. The operations allowed are as follows:
If the tape drive supports commands to return specific device errors, such as tape alerts, the minidriver's TapeMiniWMIControl routine should execute the TAPE_QUERY_DEVICE_ERROR_DATA method Otherwise, it should execute the TAPE_QUERY_IO_ERROR_DATA method.
Returns specific device errors, such as tape alerts. Not all tape drives support this method.
Returns general I/O error data, such as read/write errors, based on the I/O error count. All tape drives support this method.
DataBufferSizeIndicates the size in bytes of the buffer in which the tape minidriver returns the results of the operation.
DataBufferPointer to a buffer in which the tape minidriver returns the results of the operation. The first sizeof(ULONG) bytes of DataBuffer contain a value of type TAPE_DRIVE_PROBLEM_TYPE, followed by DataBufferSize - sizeof(ULONG) bytes of tape data.
If the tape drive supports commands to return specific device errors, such as tape alerts, the minidriver's TapeMiniWMIControl routine should execute the TAPE_QUERY_DEVICE_ERROR_DATA method Otherwise, it should execute the TAPE_QUERY_IO_ERROR_DATA method.
Returns specific device errors, such as tape alerts. Not all tape drives support this method.
Returns general I/O error data, such as read/write errors, based on the I/O error count. All tape drives support this method.