Skip to content

invalid memory error reporting for windows is unsupported on some WinAPI partitions #133572

Description

@maxbachmann

Bug report

Bug description:

The error reporting for invalid memory access (HANDLE_INVALID_MEM and HANDLE_INVALID_MEM_METHOD) is using NTSTATUS and LsaNtStatusToWinError which aren't available in all WinAPI partitions. This leads to a compilation failure.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions