BOOLEAN
TapeClassAllocateSrbBuffer(
IN OUT PSCSI_REQUEST_BLOCK Srb,
IN ULONG SrbBufferSize
);
TapeClassAllocateSrbBuffer allocates an Srb->DataBuffer.
TapeClassAllocateSrbBuffer returns TRUE if the DataBuffer was allocated successfully.
TapeClassAllocateSrbBuffer allocates an Srb->DataBuffer from nonpaged memory and initializes the members to zero. A tape miniclass driver calls this routine to allocate a DataBuffer in a portable way.