GVL

VAR_GLOBAL CONSTANT GVL
    S_OK               : HRESULT := 0;
    S_FALSE            : HRESULT := 1;
    S_PENDING          : HRESULT := 16#203;
    S_WATCHDOG_TIMEOUT : HRESULT := 16#256;
    OTCID_CreateNewId  : OTCID := 16#FFFFFFFF;
    OTCID_FirstFreeId  : OTCID := 16#71010000;
    OTCID_LastFreeId   : OTCID := 16#710FFFFF;
    NULL : PVOID := 0;
END_VAR

Name

Type

Value

Use

Meaning

S_OK

HRESULT

0

 

This constant can be used, to designate error-free processing in an HRESULT status code.

S_FALSE

HRESULT

1

 

This constant indicates successful processing, although the result was negative or incomplete.

S_PENDING

HRESULT

16#203

 

This constant indicates successful processing, although no result is available yet.

S_WATCHDOG_TIMEOUT

HRESULT

16#256

 

This constant indicates successful processing, although a timeout occurred. Depending on the function, the desired processing was aborted.

OTCID_CreateNewId

OTCID

16#FFFFFFFF

FW_ObjMgr_CreateAndInitInstance

This constant is used to generate a new object ID.

OTCID_FirstFreeId

OTCID

16#71010000

 

 

OTCID_LastFreeId

OTCID

16#710FFFFF

 

 

NULL

PVOID

0

 

NULL pointer