Skip to content

Wine's implementation of NtQueryObject unexpectedly returns paths starting with \??\ #26029

@squeek502

Description

@squeek502

On Windows proper, NtQueryObject with OBJECT_NAME_INFORMATION will seemingly always return a path like \Device\HarddiskVolume4\foo\bar for file/directory handles (details here and here). Wine, however, will return paths like \??\C:\foo\bar.

Wine bug report: https://bugs.winehq.org/show_bug.cgi?id=39569

Relevant Zig issue that details the effects: #17535

In #17541 this is worked around by handling \??\ prefixed paths when \Device\ is not found, but this is a Wine specific workaround that would be better to get fixed in Wine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.downstreamAn issue with a third party project that uses Zig.os-windowsMicrosoft Windows

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions