Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8020485
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:42:20+00:00 2026-06-04T21:42:20+00:00

Is there a machine-readable version of the WinRT API? I’m looking for something like

  • 0

Is there a machine-readable version of the WinRT API?

I’m looking for something like a WebIDL, a classic IDL, or any other machine-readable format that would list all the classes, constants, methods, etc. for the WinRT that is accessible in JavaScript.

If it included one-liner descriptions for each of the above entries, and/or links to the relevant MSDN documentation page, that would be even better of course 🙂

edit:

  • Windows.winmd contains descriptions, but not the rules when applying the IL for JavaScript, any official spec on that? for type conversions and naming?
  • What about the WinJS namespace? (it’s not in Windows.winmd)

    • 1 1 Answer
    • 0 Views
    • 0 Followers
    • 0
    Share
    • Facebook
    • Report

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. Editorial Team
      Editorial Team
      2026-06-04T21:42:21+00:00Added an answer on June 4, 2026 at 9:42 pm

      The windows.winmd file contains the API definitions for the winrt APIs – these are directly applicable to all three languages, and they are machine readable.

      As you mentioned in your comment, there are some slight differences based on how the language projection treats the types, but those transformations are strictly mechanical. For example, for Javascript, the projection changes are straightforward:

      1. Numeric types (int, float, double, etc) are projected as Number
      2. Strings are projected as String
      3. DateTime is projected as Date()
      4. Events are promoted as addEventListener(“(event name)”, eventHandler);
      5. If a method has multiple out parameters, the method returns an object whose property names match the names of the parameters to the method.

      There are undoubtedly other Javascript mappings that I’ve missed, but those are the most important ones. The other currently supported languages (C++, C#, low level C++) have similar mechanical transformations that are applied to the metadata.

      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
        • Report

    Sidebar

    Related Questions

    Is there any virtual machine to test Android? How can I debug the program
    It looks like there are a variety of virtual machine offerings available. What is
    Is there any ability to enable Hyper-V role on Hyper-V virtual machine? https://i.stack.imgur.com/zCgQW.png Hyper-V
    Is there any state machine implementation for Ruby or Ruby on Rails that supports
    I'd like to expand on this question by asking: are there any free APIs
    Is there a way to get a unique machine-specific system ID in a Flex
    Are there tools for migrating from one virtual machine type to another? E.g let's
    Is there a reliable way to access the client machine's clipboard using Javascript? I
    Is there any difference in behavior of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registry key, when an user Logs
    Is there some sort of C# directive to use when using a development machine

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • SEARCH

    Footer

    © 2021 The Archive Base. All Rights Reserved
    With Love by The Archive Base

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.