Skip to content

Is lazy loading system functions on UWP still necessary? #143530

Description

@ChrisDenton

Currently we lazy load some system functions that were restricted on UWP. See here, for example:

#[cfg(target_vendor = "uwp")]
pub fn NtCreateFile(

However, I'm told that Microsoft stopped enforcing the requirement that store applications (even strictly UWP ones) only use certain APIs in 2020. There is now nothing that block applications from using such APIs unless they're completely restricted functions, (e.g. win32 UI APIs) which would block lazy loading too. There is still a tool that may report certain APIs but that isn't, I'm told, actually relevant nowadays.

cc @bdbai @riverar

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    O-uwp-windows-msvcWindows targets for Universal Windows Platform (UWP) applications, using MSVC toolchain.O-windowsOperating system: WindowsT-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions