Compartilhar via


2.2.24 REMQIRESULT

The REMQIRESULT structure is passed as an output parameter from IRemUnknown::RemQueryInterface. It contains the result of the RemQueryInterface and the STDOBJREF containing the object reference for the queried interface.

 typedef struct tagREMQIRESULT {
   HRESULT hResult;
   STDOBJREF std;
 } REMQIRESULT;

hResult: This MUST contain zero if the QueryInterface operation was successful. Otherwise, this MUST contain a negative value to indicate failure; see section 3.1.1.5.6.1.1.

std: If hResult is zero, this MUST contain a STDOBJREF instance that the client can unmarshal and use to make calls on the interface. If hResult contains an error value, this field MUST be ignored.