Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fltUser and fltUserStructures #971

Closed
wants to merge 2 commits into from
Closed

Add fltUser and fltUserStructures #971

wants to merge 2 commits into from

Conversation

mvforell
Copy link

@mvforell mvforell commented Jan 4, 2021

This PR adds the definitions from um/fltUser.h and shared/fltUserStructures.h.

All tests pass and I'm able to compile a binary using parts of the exposed interface, so I'm pretty sure I haven't done anything horribly wrong. However I'm not sure what the _Struct_size_bytes_(...) annotations in the headers mean, for example:

// shared/fltUserStructures.h, line 383
typedef _Struct_size_bytes_(sizeof(INSTANCE_BASIC_INFORMATION) * InstanceNameLength) struct _INSTANCE_BASIC_INFORMATION {
    ULONG NextEntryOffset;
    USHORT InstanceNameLength;
    USHORT InstanceNameBufferOffset;
} INSTANCE_BASIC_INFORMATION, *PINSTANCE_BASIC_INFORMATION;

Are they relevant to this crate?

@roblabla
Copy link

roblabla commented Jan 6, 2021

Duplicate of #923.

@mvforell
Copy link
Author

mvforell commented Jan 6, 2021

Whoops, didn't see that. Sorry.

@mvforell mvforell closed this Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants