F_HresultSuccess
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
Return value
Name | Type | Description |
---|---|---|
F_HresultSuccess | HRESULT | Generated |
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 |