Comments (4)
For the most part, I'd expect only references to Windows.Win32.Foundation
types. At the moment the following additional type dependencies exist:
from wdkmetadata.
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.
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.
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)
- Missing WDF Device Functions in Metadata
- ntdll functions HOT 10
- KeBugCheckEx should be made to use the System.Diagnostics.Debug BUGCHECK_ERROR enumeration
- The API "LsaFreeReturnBuffer" is ambiguous. HOT 2
- Add FILE_INFORMATION_CLASS
- CM_POWER_DATA can use one more enum
- Missing DEVPKEY_s HOT 6
- POINTER_ALIGNMENT not applied to Rust structs HOT 6
- Incorrect DRIVER_OBJECT member types HOT 1
- why define NTSTRSAFE_USE_SECURE_CRT as 0 here? HOT 1
- Missing `ThreadNameInformation`
- Inconsistent alignment of `CM_PARTIAL_RESOURCE_DESCRIPTOR` structure HOT 1
- `VHF_CONFIG` callbacks have wrong signature HOT 1
- Invalid "optioning" of driver callbacks. HOT 1
- There's no `NtOpenDirectoryObject` and `NtQueryDirectoryObject` HOT 3
- Nt vs Zw exports HOT 2
- Some more missing DEVPKEYs
- Add `RtlIsDosDeviceName_U` and `RtlDosPathNameToNtPathName_U_WithStatus`
- `OBJ_INHERIT` and related attributes are `int` whereas `OBJECT_ATTRIBUTES.Attributes` is `uint`
- feat: Useful names for reparse data buffers HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wdkmetadata.