Click to Rate and Give Feedback
MSDN
MSDN Library
System Services
Time
Time Reference
Time Messages
 WM_TIMECHANGE Message
WM_TIMECHANGE Message

A message that is sent whenever there is a change in the system time.

A window receives this message through its WindowProc function.

LRESULT CALLBACK WindowProc(
  HWND hwnd,       // handle to window
  UINT uMsg,       // message identifier
  WPARAM wParam,   // not used; must be zero
  LPARAM lParam    // not used; must be zero
);

Parameters

hwnd

A handle to window.

uMsg

WM_TIMECHANGE identifier.

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return Value

An application should return zero if it processes this message.

Remarks

An application should not broadcast this message, because the system will broadcast this message when the application changes the system time.

Requirements

ClientRequires Windows Vista, Windows XP, or Windows 2000 Professional.
ServerRequires Windows Server 2008, Windows Server 2003, or Windows 2000 Server.
HeaderDeclared in Winuser.h; include Windows.h.

See Also

SendMessage


Send comments about this topic to Microsoft

Build date: 10/2/2008

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Value      Đonny   |   Edit   |  
WM_TIMECHANGE = &H1E
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker