Write

public uint32 Write([IN]REF CIM_OpaqueManagementData OpaqueManagementData, [IN]uint64 Offset, [IN][OUT]uint64 Length, [IN]boolean Truncate, [IN]uint8 Data[], [IN]uint8 LockToken[], [OUT]REF CIM_ConcreteJob Job)
Permission Information:
Permitted realms: ADMIN_SECURITY_ADMINISTRATION_REALM

General Information:
Write() modifies all or some of the bytes in the extent represented by the referenced instance of CIM_OpaqueManagementData. Any data already present in the extent outside the range specified by Offset and Length shall remain unchanged by this operation.

Qualifiers:
-------------
ValueMap={0, 1, 2, 3..4095, 4096, 4097..32767, 32768..65535}
Values={Completed with No Error, Not Supported, Unknown/Unspecified Error, DMTF Reserved, Method Parameters Checked - Job Started, Method Reserved, Vendor Specified}


Parameters:
--------------
OpaqueManagementData
General Information:
The CIM_OpaqueManagementData instance that represents the extent that is the target of the operation.

Qualifiers:
-------------
Required
IN

Offset
General Information:
Offset specifies the byte offset at which to start writing.

Qualifiers:
-------------
Required
IN
PUnit=byte

Length
General Information:
On entry, Length contains the number of bytes to be written, starting at the byte offset in the Offset. property. On return, Length contains the number of bytes that were actually written.

Qualifiers:
-------------
Required
IN
OUT
ModelCorrespondence={CIM_OpaqueManagementDataCapabilities.MaxWriteLength}
PUnit=byte

Truncate
General Information:
If the value of the DataSize property of the instance referenced by the OpaqueManagementData parameter is greater than Offset + Length, then a value of TRUE shall indicate that the DataSize property value shall be reduced by this operation to Offset + Length, and a value of FALSE shall indicate that the DataSize property value shall remain unchanged by this operation. If the value of the DataSize property is not greater than Offset + Length, then this parameter shall be ignored.

Qualifiers:
-------------
IN
ModelCorrespondence={CIM_OpaqueManagementData.DataSize}

Data
General Information:
On entry, Data contains the bytes of opaque management data to be written into the extent represented by the OpaqueManagementData parameter.

Qualifiers:
-------------
Required
IN
MaxLen=4608
OctetString

LockToken
General Information:
A token that represents a Lock placed on the data in the extent referenced by the OpaqueManagementData parameter, using the Lock() method.

Qualifiers:
-------------
IN
OctetString

Job
General Information:
Reference to the job (may be null if job completed).

Qualifiers:
-------------
IN=false
OUT



Copyright © 2006-2022, Intel Corporation. All rights reserved.