BreakMirrorVirtualDisk function (virtdisk.h)
Breaks a previously initiated mirror operation and sets the mirror to be the active virtual disk.
Syntax
DWORD BreakMirrorVirtualDisk(
[in] HANDLE VirtualDiskHandle
);
Parameters
[in] VirtualDiskHandle
A handle to the open mirrored virtual disk. For information on how to open a virtual disk, see the OpenVirtualDisk function. For information on how to mirror a virtual disk, see the MirrorVirtualDisk function.
Return value
Status of the request.
If the function succeeds, the return value is ERROR_SUCCESS.
If the function fails, the return value is an error code. For more information, see System Error Codes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Windows |
Header | virtdisk.h |
Library | VirtDisk.lib |
DLL | VirtDisk.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for