MCPcopy Create free account
hub / github.com/StephanvanSchaik/windows-kernel-rs / control_code

Method control_code

windows-kernel-rs/src/request.rs:210–216  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

208
209impl IoControlRequest {
210 pub fn control_code(&self) -> ControlCode {
211 let stack_location = self.stack_location();
212
213 unsafe {
214 stack_location.Parameters.DeviceIoControl.IoControlCode.into()
215 }
216 }
217
218 pub fn function(&self) -> (RequiredAccess, u32) {
219 let code = self.control_code();

Callers 3

dispatch_callbackFunction · 0.80
functionMethod · 0.80
user_ptrMethod · 0.80

Calls 2

stack_locationMethod · 0.80
intoMethod · 0.45

Tested by

no test coverage detected