---
name: "Tspi_TPM_KillMaintenanceFeature"
section: "3"
platform: "linux"
package: "libtspi-dev"
version: "0.3.15-0.4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Tspi_TPM_KillMaintenanceFeature"
---

# Tspi\_TPM\_KillMaintenanceFeature(3)

Disables the ability to create a maintenance archive

TCG Software Stack Developer's Reference

## NAME

Tspi\_TPM\_KillMaintenanceFeature - Disables the ability to create a maintenance archive

## SYNOPSIS

```
#include <tss/platform.h>
#include <tss/tcpa_defines.h>
#include <tss/tcpa_typedef.h>
#include <tss/tcpa_struct.h>
#include <tss/tss_typedef.h>
#include <tss/tss_structs.h>
#include <tss/tspi.h>

TSS_RESULT Tspi_TPM_KillMaintenanceFeature(TSS_HTPM hTPM);
```

## DESCRIPTION

**Tspi\_TPM\_KillMaintenanceFeature** disables the functionality of creating a maintenance archive. **This feature is** **not yet implemented**.

## PARAMETERS

### hTPM

The *hTPM* parameter is used to specify the handle of the TPM object.

## RETURN CODES

**Tspi\_TPM\_KillMaintenanceFeature** returns TSS\_SUCCESS on success, otherwise one of the following values is returned:

- TSS\_E\_INVALID\_HANDLE

  *hTPM* is not a valid handle.

- TSS\_E\_INTERNAL\_ERROR

  An internal SW error has been detected.

- TSS\_E\_NOTIMPL

  The function is not implemented.

## CONFORMING TO

**Tspi\_TPM\_KillMaintenanceFeature** conforms to the Trusted Computing Group Software Specification version 1.1 Golden

## SEE ALSO

[**Tspi\_TPM\_CreateMaintenanceArchive**(3)](/Tspi_TPM_CreateMaintenanceArchive/3.md), [**Tspi\_TPM\_LoadMaintenancePubKey**(3)](/Tspi_TPM_LoadMaintenancePubKey/3.md), [**Tspi\_TPM\_CheckMaintenancePubKey**(3)](/Tspi_TPM_CheckMaintenancePubKey/3.md).
