# Refactored GetProcessMemoryInfo to return \`VM_COUNTERS\` · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/2f5af6c9721a125f3308b55f5a8059d62e5d2ec7)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 2f5af6c9721a125f3308b55f5a8059d62e5d2ec7

Requested commit: 2f5af6c9721a125f3308b55f5a8059d62e5d2ec7

Commit: 2f5af6c9721a125f3308b55f5a8059d62e5d2ec7

Tree: f0409ea0892b8de64612b38d49c0e676f74de7fe

Author: xEgoist

Committer: xEgoist

## Message

```
Refactored GetProcessMemoryInfo to return `VM_COUNTERS`

This change allows the function to return the process memory info
directly instead of copying the result of the underlying Nt function.

```

## Parents

- [70469d428dd94693295b320a975b1ddf904dda3b](https://git.cafe/gitcafe/zig/commit/70469d428dd94693295b320a975b1ddf904dda3b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/2f5af6c9721a125f3308b55f5a8059d62e5d2ec7?format=markdown)
