38.9.4.9 Read Time as VARIANT

Function that obtains the display unit's current time as a numeric value (Variant format). This function is valid only with the time stored in LS2048 (6 words).

Function Name

DWORD WINAPI EasyGetGPTimeVariant(LPCSTR sNodeName, LPVARIANT ovTime);

Argument

sNodeName: The station name is fixed as "#WinGP".

ovTime: Retrieves time as VARIANT format, which internally is the Date format

Return value (NULL)

Normal End: 0

Problem: Error code