IPortableDeviceServiceMethodCallback::OnComplete method (portabledeviceapi.h)

The OnComplete method indicates that a callback method has completed execution.

Syntax

HRESULT OnComplete(
  [in] HRESULT               hrStatus,
  [in] IPortableDeviceValues *pResults
);

Parameters

[in] hrStatus

The overall status of the method.

[in] pResults

An IPortableDeviceValues interface that contains the method-execution results. This is empty if the method returns no results.

Return value

If the method succeeds, it returns S_OK. Any other HRESULT value indicates that the call failed.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header portabledeviceapi.h

See also

IPortableDeviceServiceMethodCallback Interface