MM_CreateMirror

Creates a Mirror area on the selected partition object and adds a mirror object to the Media Manager database.

Local Servers:Blocking
Remote Servers:Blocking
NetWare Server: 5.x
Platform:DOS, NLM, OS/2, Windows* 3.1, Windows NT*, Windows*95
Service:Media Manager

Syntax

  LONG MM_CreateMirror ( 
     LONG   partitionObjectHandle, 
     LONG  *newMirrorObjectID ); 
  
  

Parameters

partitionObjectHandle
The Media Manager object handle for the reserved partition object.
newMirrorObjectID
A pointer to the Media Manager object ID for the newly created mirror object.

Return Values

The following table lists return values and descriptions.

0x00000000

MM_OK

0x00000001

MM_INVALID_0BJECT

0x00000005

MM_INVALID_MODE

0x00000006

MM_RESERVATION_CONFLICT

0x00000016

MM_PARAMETER_ERROR

0xFFFFFFFF

MM_FAILURE