Request
Calling this method triggers the asynchronous request.
Syntax
METHOD Request : HRESULT
VAR_INPUT
eventClass : GUID;
nEventId : UDINT;
nLangId : DINT; // English(US)=1033 ; German(Germay)=1031
END_VAR
Inputs
Name | Type | Description |
---|---|---|
eventClass | GUID | Specifies the event class. |
nEventId | UDINT | ID of the event |
nLangId | DINT | Specifies the language ID: English (en-US) = 1033 German (de-DE) = 1031 … The TcLcid enum can be used. |
Outputs
Name | Type | Description |
---|---|---|
Request | HRESULT | Returns possible error information. S_OK if the query is successful. ADS_E_INVALIDSTATE if the target system is in an invalid state. ADS_E_NOMEMORY if no memory is available to store the result. ADS_E_PENDING if the query is still pending. |