F_HresultSuccess

F_HresultSuccess 1:

This method is used to generate a HRESULT value that is interpreted as a success.

Syntax:

FUNCTION F_HresultSuccess : HRESULT
VAR_INPUT
    nFeedback:          UDINT;
END_VAR

F_HresultSuccess 2: Return value

Name

Type

Description

F_HresultSuccess 

HRESULT

Generated HRESULT value.

F_HresultSuccess 3: Inputs

Name

Type

Description

nFeedback

UDINT

Error code to be integrated into the HRESULT.

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.35

PC or CX (x64, x86)

Tc3_PlasticFunctions v3.12.4.26 or higher