TapeClassZeroMemory

VOID
TapeClassZeroMemory(
IN OUT PVOID
Buffer,
IN ULONG
BufferSize
);

TapeClassZeroMemory fills a buffer with zeros.

Parameters

Buffer

Points to the buffer that needs to be cleared.

BufferSize

Specifies the size of the buffer, in bytes.

Comments

A tape miniclass driver calls TapeClassZeroMemory to zero a buffer in a portable way. A miniclass driver must use TapeClassZeroMemory to clear the TAPE_INIT_DATA structure and CDBs before it uses them.

See Also

DriverEntry of Tape Miniclass Driver