F_SucceededHr

This method checks a HRESULT
value for success and copies the result to a transferred variable if the check fails.
Syntax:
FUNCTION F_SucceededHr : BOOL
VAR_INPUT
Source: HRESULT;
END_VAR
VAR_IN_OUT
Destination: HRESULT;
END_VAR
Inputs/outputs
Name | Type | Description |
---|---|---|
Destination | HRESULT | Variable to which the |
Inputs
Name | Type | Description |
---|---|---|
Source | HRESULT | Error code to be checked. |
Return value
Name | Type | Description |
---|---|---|
F_SucceededHr | BOOL | TRUE if the check was successful. |
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 |