BOOLEAN
TapeClassAllocateSrbBuffer(
IN OUT PSCSI_REQUEST_BLOCK Srb,
IN ULONG SrbBufferSize
);
TapeClassAllocateSrbBuffer allocates an Srb->DataBuffer.
Parameters
Srb
Points to the SRB.
SrbBufferSize
Specifies the size, in bytes, of the DataBuffer to be allocated.
Return Value
TapeClassAllocateSrbBuffer returns TRUE if the DataBuffer was allocated successfully.
Comments
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.