184.108.40.206 CprepDiskPRClear3 (Opnum 17)
The CprepDiskPRClear3 method performs a SCSI PERSISTENT RESERVE OUT command with a CLEAR action.
HRESULT CprepDiskPRClear3( [in] CPREP_DISKID DiskId, [in] ULONGLONG Key );
DiskId: The identifier of the ClusPrepDisk representing the disk.
Key: The key used in the Reservation Key field of the SCSI PERSISTENT RESERVE OUT command.
Return Values: A signed 32-bit value that indicates return status. If the method returns a negative value, it has failed. Non-negative values indicate success, with the lower 16 bits of the value containing warnings or flags defined in the method implementation. For more information about Win32 error codes and HRESULT values, see [MS-ERREF] sections 2.2 and 2.1.
The call was successful.
The disk was not found.
An internal error occurred.
The server's Prepare State is not Online.
The value of ClusPrepDisk.AttachedState is not Attached.
For any other condition, this method MUST return a value that is not one of the values listed in the preceding table. The client MUST behave in one consistent, identical manner for all values that are not listed in the preceding table.
The opnum field value for this method is 17.
When processing this call, the server MUST do the following: