---
name: "Tk_GetHINSTANCE"
section: "3tk"
platform: "linux"
package: "tk8.6-doc"
version: "8.6.16-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tk_GetHINSTANCE/3tk"
---

# Tk\_GetHINSTANCE(3tk)

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
