﻿# LONG\_PTR

LONG\_PTR is a signed integer [memsize\-type](https://pvs-studio.com/en/blog/terms/0030/) that can safely store a pointer regardless of the platform capacity\. The type LONG\_PTR is similar to the types [ptrdiff\_t](https://pvs-studio.com/en/blog/terms/0041/) and [intptr\_t](https://pvs-studio.com/en/blog/terms/0023/)\. The size of the type depends upon the [data model](https://pvs-studio.com/en/blog/terms/0012/)\. To learn more about memsize types and ways of using them see the article "[About size\_t and ptrdiff\_t](https://pvs-studio.com/en/blog/posts/cpp/a0050/)"\.