---
name: "StopWatchW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/StopWatchW"
---

# StopWatchW(3w)

## NAME

**StopWatchW** (SHLWAPI.244)

## SYNOPSIS

DWORD StopWatchW\
  (\
   DWORD   *dwClass*,\
   LPCWSTR *lpszStr*,\
   DWORD   *dwUnknown*,\
   DWORD   *dwMode*,\
   DWORD   *dwTimeStamp*\
  )

## DESCRIPTION

Write a performance event to a log file.

## PARAMS

*dwClass* **\[In\]**  Class of event.

*lpszStr* **\[In\]**  Text of event to log.

*dwUnknown* **\[In\]**  Unknown.

*dwMode* **\[In\]**  Mode flags.

*dwTimeStamp* **\[In\]**  Timestamp.

## RETURNS

**Success:** **ERROR\_SUCCESS**.

**Failure:** A standard Win32 error code indicating the failure.

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shlwapi/stopwatch.c"**.

Debug channel **"shell"**.
