3.2.5.3 Receiving a CPMFetchValueOut Response

When the client receives a CPMFetchValueOut message response from the server, the client MUST do the following:

  1. Check if the _status field in the header indicates success or failure. In case of failure, notify the higher layer. Otherwise, continue to the next step.

  2. Check _fValueExist, and, if set to 0x00000000, notify the higher layer that the value was not found.

  3. Otherwise, append _cbValue bytes from vValue to Current Property Value.

  4. If _fMoreExists is set to 0x00000001, increment Current Bytes Received by _cbValue and send a CPMFetchValueIn message to the server, setting _cbSoFar to the value of Current Bytes Received, _cbPropSpec to zero, and _cbChunk to the buffer size required by the higher layer.

  5. If _fMoreExists is set to 0x00000000, indicate the property value from Current Property Value to the higher layer.