---
name: "icetGetContext"
section: "3"
platform: "linux"
package: "paraview"
version: "5.13.2+dfsg-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/icetGetContext"
---

# icetGetContext(3)

## NAME

**icetGetContext -- retrieves the current context**

## Synopsis

\#include \<IceT.h\>

| | | |
| --- | --- | --- |
| **IceTContext** **icetGetContext**( | void | ); |

## Description

The **icetGetContext** function retrieves the handle for the current context. This handle may be stored and set for later use with **icetSetContext** (assuming the context has not been since destroyed).

## Return Value

A handle for the current context.

## Errors

None.

## Warnings

None.

## Bugs

None known.

## Copyright

Copyright (C)2003 Sandia Corporation

Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains certain rights in this software.

This source code is released under the New BSD License.

## See Also

[*icetSetContext*(3)](/icetSetContext/3.md), [*icetCreateContext*(3)](/icetCreateContext/3.md), [*icetDestroyContext*(3)](/icetDestroyContext/3.md), [*icetCopyState*(3)](/icetCopyState/3.md)
