Export (0) Print
Expand All

TapeMiniVerifyInquiry routine

TapeMiniVerifyInquiry determines whether the tape miniclass driver recognizes and supports a given device. This routine is required.

Syntax


TAPE_VERIFY_INQUIRY_ROUTINE TapeMiniVerifyInquiry;

BOOLEAN TapeMiniVerifyInquiry(
  _In_  PINQUIRYDATA InquiryData,
  _In_  PMODE_CAPABILITIES_PAGE ModeCapabilitiesPage
)
{ ... }

Parameters

InquiryData [in]

Pointer to SCSI inquiry data for the device.

ModeCapabilitiesPage [in]

Pointer to a MODE_CAPABILITIES_PAGE structure that contains low-level information about the device. The format of this structure is defined by the QIC 157 standard and is subject to change. The pointer is NULL if the tape device does not support a mode capabilities page.

Return value

TapeMiniVerifyInquiry returns TRUE if the miniclass driver supports the device.

Remarks

TapeMiniVerifyInquiry examines the InquiryData, particularly the VendorId and ProductId members, to determine whether the tape miniclass driver supports the tape device. TapeMiniVerifyInquiry uses TapeClassCompareMemory to compare ID strings against values the tape miniclass driver supports.

Requirements

Header

Minitape.h (include Minitape.h)

See also

TapeClassCompareMemory
TAPE_STATUS

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft