Coder Social home page Coder Social logo

Comments (4)

kennykerr avatar kennykerr commented on August 19, 2024

For the most part, I'd expect only references to Windows.Win32.Foundation types. At the moment the following additional type dependencies exist:

image

from wdkmetadata.

mikebattista avatar mikebattista commented on August 19, 2024

MDL in the SDK should move to Windows.Win32.Foundation.

For the rest, I don't agree with your premise that the WDK metadata should only depend on Windows.Win32.Foundation. Would need more specific feedback to be actionable.

from wdkmetadata.

kennykerr avatar kennykerr commented on August 19, 2024

I don't know what your philosophy is for namespace dependencies. I'm just pointing out that the dependency graph is a bit chaotic right now. For example, to call the FsRtlBalanceReads function you need to include a dependency on the following namespaces:

  • Windows.Wdk.Foundation
  • Windows.Wdk.System.SystemServices
  • Windows.Win32.Foundation
  • Windows.Win32.Graphics.DirectDraw
  • Windows.Win32.Security
  • Windows.Win32.System.Kernel
  • Windows.Win32.System.Power
  • Windows.Win32.System.WindowsProgramming

I don't know what the answer is in general, but it may be that the current namespace scheme is really untenable for C/C++/Rust languages and we'll have to derive our own partitioning scheme algorithmically.

from wdkmetadata.

mikebattista avatar mikebattista commented on August 19, 2024

I'm not surprised by that given the experimental nature of the metadata.

In general, I'd expect Windows.Wdk.System.Threading to depend on APIs from Windows.Win32.System.Threading, Windows.Wdk.Storage.FileSystem to depend on Windows.Win32.Storage.FileSystem, etc. Where it makes sense to move SDK types to Windows.Win32.Foundation we can do that, but I don't think the goal is 100% of WDK dependencies are on Foundation.

from wdkmetadata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.