---
name: "GetMessageTime"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.0.1-3.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/GetMessageTime"
---

# GetMessageTime(3w)

## NAME

**GetMessageTime** (USER.120)

## SYNOPSIS

LONG GetMessageTime\
  (\
  )

## DESCRIPTION

GetMessageTime() returns the message time for the last message retrieved by the function. The time is measured in milliseconds with the same offset as **[GetTickCount(3w)](/GetTickCount/3w.md)**.

Since the tick count wraps, this is only useful for moderately short relative time comparisons.

## RETURNS

Time of last message on success, zero on failure.

## IMPLEMENTATION

Defined in **"user\_private.h"**.

Implemented in **"dlls/user32/message.c"**.

Debug channel **"msg"**.
