MM_CreateHotFix
Creates a redirection area for the partition selected. If one already exists, it will first be deleted. A Hot Fix object is also created in the Media Manager database by this function.
LONG MM_CreateHotFix (
LONG partitionObjectHandle,
LONG dataSize,
LONG *newHotFixObjectID );
The following table lists return values and descriptions.
Currently the maximum size for the redirection area is 120 megabytes. Any request for a redirection size greater than that amount will be truncated at 120 megabytes. However, the size of the data portion of the partition will contain the requested size.
The data size of a currently defined Hot Fix object can be found by reading the capacity parameter in the Media Manager IOObjectGenericInfoDef structure for the Hot Fix object.