# PxIOLibShutDown

> Source: https://manual.pvxplus.com/pxio-library/library-functions/global-library-functions/pxiolibshutdown

## Description

Shuts down the PxIO Library

## Format

**int** **PxIOLibShutDown(void);**

## Return Value

If the function succeeds, a value of PXIO_SUCCESS_STATUS is returned; otherwise, an error value is returned. More information on the nature of the error can be found by calling **[PxIOGetError](https://manual.pvxplus.com/pxio-library/library-functions/error-functions/pxiogeterror)**.

Note:  
All services should be terminated before calling this function. All allocated resources are returned to the operating system, and after calling this function, no further calls will be serviced, including [PxIOLibInit](https://manual.pvxplus.com/pxio-library/library-functions/global-library-functions/pxiolibinit).
