SetLocalTime
9/8/2008
Essa função define o atual local tempo e data.
Syntax
BOOL SetLocalTime(
const SYSTEMTIME* lpSystemTime
);
Parameters
lpSystemTime
[no] Ponteiro para uma estrutura SYSTEMTIME que contém o atual local data e tempo.O wDayOfWeek membro das SYSTEMTIME estrutura será ignorada.
Return Value
Nonzero indica sucesso. Zero indica falha. Para informações de erro estendidas get, chamar GetLastError.
Requirements
Header | winbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |
See Also
Reference
Time Functions
GetLocalTime
GetSystemTime
SYSTEMTIME