---
title: CVPixelBufferPoolRetain
framework: corevideo
role: symbol
role_heading: Function
path: corevideo/cvpixelbufferpoolretain
---

# CVPixelBufferPoolRetain

Retains the pixel buffer pool that you specify.

## Declaration

```occ
extern CVPixelBufferPoolRefCVPixelBufferPoolRetain(CVPixelBufferPoolRef pixelBufferPool);
```

## Parameters

- `pixelBufferPool`: The pixel buffer pool that you want to retain.

## Return Value

Return Value The same pixel buffer pool that you specified.

## Discussion

Discussion This function is equivalent to CFRetain, except it’s NULL safe.

## See Also

### Retaining and releasing pools

- [CVPixelBufferPoolRelease](corevideo/cvpixelbufferpoolrelease.md)
