53
Time_GetDate ( )
Returns current time and date on the device.
Syntax
HRESULT Time_GetDate(
[out, retval] DATE* Date
);
Parameters
Date
[out, retval] DATE object.
Remarks
If the returned DATE object represents a date before 1900, the returned value will be negative, signifying an error.
The format is
[year],[month],[day],[hour],[minute],[second],[millisecond]"
February 10, 2003, 7:15PM would be represented as "2003,2,10,19,15,0,0".
Precision is provided to the second, so the millisecond value is ALWAYS "0".
Time_Sleep ( Milliseconds )
Generates a wait period using the specified number of milliseconds.
Syntax
HRESULT Time_Sleep(
[in] long Milliseconds,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Milliseconds
[in] The number of milliseconds to wait.
Success
[out, retval] TRUE if the Milliseconds value is greater than or equal to 0 and less than or equal to 999999, and
FALSE if value is outside this range.
Remarks
The call to this function will not return until after the wait time has expired.
Net_GetIPAddress ( )
Returns the current IP address of the device.
Syntax
HRESULT Net_GetIPAddress(
[out, retval] BSTR* IP
);
Parameters
IP
[out, retval] String containing the current IP address of the device, such as "10.0.1.3".
Summary of Contents for CRM-WIC
Page 1: ...Reference Manual Programming Guide Room Monitor Web Intelligent Controller Model CRM WIC...
Page 8: ...8 Hardware User Interface Hardware User Interface for the CRM WIC...
Page 16: ...16 For full details see the RPC section at the end of this manual...
Page 43: ...43 This expression resolves to this value 0 1 4 3 1 Hello Hello 0...
Page 98: ...98 Index...