---
name: "GetHINSTANCE"
section: "3tk"
platform: "linux"
package: "tk8.3-doc"
version: "8.3.5-14"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/GetHINSTANCE/3tk"
---

# GetHINSTANCE(3tk)

retrieve the global application instance handle

```

```

## NAME

Tk\_GetHINSTANCE - retrieve the global application instance handle

## SYNOPSIS

```
#include <tk.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
