---
name: "SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP"
---

# SDL\_HINT\_WINDOWS\_ENABLE\_MESSAGELOOP(3)

A variable controlling whether the windows message loop is processed by SDL.

## NAME

SDL\_HINT\_WINDOWS\_ENABLE\_MESSAGELOOP - A variable controlling whether the windows message loop is processed by SDL.

## HEADER FILE

Defined in SDL3/SDL\_hints.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**#define SDL\_HINT\_WINDOWS\_ENABLE\_MESSAGELOOP** *SDL\_WINDOWS\_ENABLE\_MESSAGELOOP"*

## DESCRIPTION

The variable can be set to the following values:

• "0": The window message loop is not run.

• "1": The window message loop is processed in

**SDL\_PumpEvents** (). (default)

This hint can be set anytime.

## AVAILABILITY

This hint is available since SDL 3.2.0.
