IOCTL_SET_PEW_SIZE

This command is used to set Programmable Early Warning size.
#define IOCTL_SET_PEW_SIZE  
   CTL_CODE(IOCTL_TAPE_BASE, 0x082C, METHOD_BUFFERED, FILE_READ_ACCESS )
The structure that is used to set PEW size is
typedef struct _PEW_SIZE{
  USHORT value;
} PEW_SIZE, *PPEW_SIZE;
An example of the IOCTL_SET_PEW_SIZE command is
DWORD cb;
PEW_SIZE pew_size;
...
DeviceIoControl(gp->ddHandle0,
IOCTL_SET_PEW_SIZE,
&pew_size, (long)sizeof(PEW_SIZE), 
NULL, 
0,
&cb, 
(LPOVERLAPPED) NULL);