---
name: "Tk_GetHINSTANCE"
section: "3"
platform: "linux"
package: "tk"
version: "8.6.16-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Tk_GetHINSTANCE"
---

# Tk\_GetHINSTANCE(3)

retrieve the global application instance handle

```

```

## NAME

Tk\_GetHINSTANCE - retrieve the global application instance handle

## SYNOPSIS

```
#include <tkPlatDecls.h>

HINSTANCE
Tk_GetHINSTANCE()
```

## DESCRIPTION

**Tk\_GetHINSTANCE** returns the Windows application instance handle for the Tk application.  This function is only available on Windows platforms.

## KEYWORDS

identifier, instance
