Bewerken

Delen via


TapeClassZeroMemory function (minitape.h)

The TapeClassZeroMemory routine fills a buffer with zeros.

Syntax

SCSIPORT_API VOID TapeClassZeroMemory(
  [in, out] PVOID Buffer,
  [in]      ULONG BufferSize
);

Parameters

[in, out] Buffer

Pointer to the buffer that needs to be cleared.

[in] BufferSize

Specifies the size of the buffer, in bytes.

Return value

None

Remarks

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_EX structure and CDBs before it uses them.

Requirements

Requirement Value
Target Platform Desktop
Header minitape.h (include Minitape.h)
Library Tape.lib

See also

DriverEntry of Tape Miniclass Driver