Read/Write Extended Sector Problem

Hi Friends,
I am implementing an application which will issue ATA commands to the drive. I am using IOCTL_ATA_PASS_THROUGH_DIRECT to issue the ATA Command to the Drive.if i am issuing read/write extended sector command with Data Transfer Size more than 128 KB (256 Sectors), the DeviceIoControl is Failing. I am using an ata miniport driver so i have control over both application and driver. so, If i Issue any command with Data Transfer Size more than 256 Sectors the request is not even coming to the miniport driver. It seems Windows Storage Stack doesn’t allow Data Transfer more than 256 Sectors.

Please help me in resolving this Issue.