Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Translate WMI HRESULTS correctly in DevHome. #2178

@bbonaby

Description

@bbonaby

When formatting a new DevDrive, the WMI call can fail. Unfortunately, WMI uses custom messages and DevHome does not call the correct code to translate an HRESULT code, to a WMI error.

Two items need to be addressed

  1. The WMI error codes needs to be translated to the WMI message.
  2. The message needs to be sent to telemetry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Machine-ConfigRelated to the machine configuration featureArea-Machine-Config-Dev-DriveRelated to Dev Drive features within Dev HomeIssue-TaskFeature request that doesn't need a major design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions