| Previous | Next |
| STATUS_GUID_SUBSTITUTION_MADE | STATUS_DEVICE_PAPER_EMPTY |
STATUS_PARTIAL_COPY
The source or destination range changed protection or accessibility mid-copy
ReadProcessMemory and related native copy paths validate and copy a range that may span multiple pages. If a later page is inaccessible, decommitted, guarded, or concurrently unmapped, bytes copied before the fault can remain valid while the complete request fails with a partial-copy result.
Always use the returned byte count and do not parse an output structure as complete unless its required fields fit inside that count. For live-process inspection, suspend or otherwise coordinate the target only when the application can tolerate it; protection and allocation can legitimately change between separate reads.
What to inspect
- Record requested and completed byte counts and identify the first failing page.
- Query source and destination regions for state and protection at the time of failure.
- Design readers to tolerate changing process memory and validate every variable-length structure.
References
- Microsoft: ReadProcessMemory
- Microsoft: VirtualQuery
- ReactOS source: virtual memory manager
- Microsoft Open Specifications: NTSTATUS values
Looking for a different code? Search another status or error code.