<!--
{
  "availability" : [
    "macCatalyst: 14.0.0 -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "ParavirtualizedGraphics",
  "identifier" : "/documentation/ParavirtualizedGraphics/PGReadMemory",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Paravirtualized Graphics"
    ],
    "preciseIdentifier" : "c:@T@PGReadMemory"
  },
  "title" : "PGReadMemory"
}
-->

# PGReadMemory

The block signature for a routine that copies data from guest physical memory into host memory.

```
typedef _Bool (^)(unsigned long long, unsigned long long, void *) PGReadMemory;
```

## Parameters

`physicalAddress`

The physical guest address of the data to read.

`length`

The number of bytes to read.

`dst`

The destination for the copied data.

## Return Value

Returns <doc://com.apple.documentation/documentation/Swift/true> if the block copied the data successfully; otherwise <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)