Article ID: 111838
Article Last Modified on 11/21/2006
/*
** This is a code fragment only and will not compile and run as is.
*/
DWORD dwRes, dwSize;
TAPE_GET_DRIVE_PARAMETERS parmDrive;
...
dwSize = sizeof(parmDrive);
dwRes = GetTapeParameters(hTape, GET_TAPE_DRIVE_INFORMATION,
&dwSize, &parmDrive);
if (dwRes != NO_ERROR) {
/* place error handling code here */
exit(-1);
}
if (parmDrive.FeaturesLow & TAPE_DRIVE_ERASE_LONG)
printf("Device supports the long erase technique.\n");
...
Keywords: kberrmsg kbinfo kbapi kbkernbase kbbackup kbcode KB111838