Help Center

CDispInvoke.SetResultmethod

Sets the last result code.

COMmethodCDispInvoke.incdocumented

Syntax

FUNCTION SetResult (BYVAL Result AS HRESULT) AS HRESULT

Parameters

NameDescription
ResultThe error code returned by the methods.

Description

Sets the result code.

Reference

  • Include file CDispInvoke.inc
  • Defined in AfxNova/CDispInvoke.inc:652
  • Documented in COM/CDispInvoke Class.md
  • Topic: CDispInvoke Class