HP Integrity NonStop H-Series User Manual
Page 211

Interfacing to LMM
Library Media Manager Installation and User’s Guide— 529970-002
D -53
Examples of Structure
NumToSend,
(short _far *)&CountActuallyWritten,
WriteTag);
cc = READUPDATEX((short)nFileNumber,
(char _far *)anBuffer,
(short)sizeof(anBuffer),
(short _far *)&wCountRead);
nResult = REPLYX((char _far *)anBuffer,
(short)wCountRead);
memset(anBuffer,
0,
31000);
wCountRead = 0;
/* MOUNT */
SendBuffer3[0] = 0x30;/* COMMAND */
SendBuffer3[1] = 0x51;/* THIRD PARTY REQUEST */
SendBuffer3[2] = '\\'; /* DEVICE NODE NAME */
SendBuffer3[3] = 'S';
SendBuffer3[4] = '7';
SendBuffer3[5] = '0';
SendBuffer3[6] = '0';
SendBuffer3[7] = '0';
SendBuffer3[8] = ' ';
SendBuffer3[9] = ' ';
SendBuffer3[10] = ' ';
SendBuffer3[11] = ' ';
SendBuffer3[12] = '$';/* SCSI DEVICE NAME */
SendBuffer3[13] = 'S';
SendBuffer3[14] = 'T';
SendBuffer3[15] = 'K';
SendBuffer3[16] = '9';
SendBuffer3[17] = '7';
SendBuffer3[18] = '1';
SendBuffer3[19] = '0';
SendBuffer3[20] = ' ';
SendBuffer3[21] = ' ';
SendBuffer3[22] = '0'; /* LABEL */
SendBuffer3[23] = '0';
SendBuffer3[24] = '0';