Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
The TapeClassAllocateSrbBuffer routine allocates an Srb->DataBuffer.
Syntax
SCSIPORT_API BOOLEAN TapeClassAllocateSrbBuffer(
[in, out] PSCSI_REQUEST_BLOCK Srb,
[in] ULONG SrbBufferSize
);
Parameters
[in, out] Srb
Pointer to the SRB.
[in] SrbBufferSize
Specifies the size, in bytes, of the DataBuffer to be allocated.
Return value
TapeClassAllocateSrbBuffer returns TRUE if the DataBuffer was allocated successfully, and FALSE if the buffer was not allocated.
Remarks
TapeClassAllocateSrbBuffer allocates an Srb->DataBuffer from nonpaged memory and initializes the members to zero. If the buffer already exists from an earlier call, it is freed and a new buffer allocated. A tape miniclass driver calls this routine to allocate a DataBuffer in a portable way.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | minitape.h (include Minitape.h) |
| Library | Tape.lib |