SetTagBuffer
Ptr buffPtr ; address of a buffer containing file tags information SetTagBuffer changes the information in the file tags buffer. buffPtr is a pointer to the buffer containing new information for use in the
file tags buffer. A value of NIL for buffPtr means that there will be
no change.
Returns: an error return code indicating success or failure of the function. It will be one of:
noErr (0) No error
Notes: A value other than NIL in buffPtr means that the Disk Driver stores a
file's tags in a file tags buffer every time it reads a sector from the disk.
Additionally, every time the Disk Driver writes a sector to the disk, it reads
12 bytes from the buffer pointed to by buffPtr and puts them in the file
tags buffer, and then writes them to the disk.
The buffer pointed to by buffPtr is overwritten after each read request
and each read request puts 12 bytes into the buffer for each sector starting
from the beginning of the buffer. This lets the application read the file tags
for a number of sequentially read sectors.
global constant tgBuffCode.