DVDSetAutoInvalidation

Syntax

#include <revolution/dvd.h>

BOOL DVDSetAutoInvalidation(BOOL autoInval);

Arguments

autoInval TRUE sets invalidation mode to AUTO. FALSE sets it to MANUAL.

Return Values

If the invalidation mode is AUTO, returns TRUE; if MANUAL, returns FALSE.

Description

Changes the invalidation mode. If invalidation mode is set to AUTO (the default), the DVDRead and DVDReadAsync functions invalidate the data cache before issuing read commands to the drive. Programmers do not need to call the DCInvalidateRange function in the application code. If invalidation mode is set to MANUAL, the DVDRead and DVDReadAsync functions do not invalidate the data cache. Programmers must call the DCInvalidateRange function as needed.

By default, the invalidation mode is set to AUTO.

See Also

DVDRead, DVDReadAsync

Revision History

2006/03/01 Initial version.


CONFIDENTIAL