3.1.4.2 Processing Server Replies to Method Calls

Upon receiving a reply from the server in response to a method call, the client MUST validate the return code. Return codes from all method calls are HRESULTs ([MS-ERREF] section 2.1). If the HRESULT indicates success, the client MAY assume that all output parameters are present and valid.

Certain calls are required to be performed in sequence. For example, where method A is a prerequisite call for method B, the client MUST pass output parameters from method A as input parameters to method B, as specified in section 3.1.4. The client MUST retain the output parameters from method A until method B has been called.