MCPcopy Index your code
hub / github.com/RustPython/RustPython / object_begin_enumeration

Function object_begin_enumeration

crates/vm/src/stdlib/_wmi.rs:202–207  ·  view source on GitHub ↗

IWbemClassObject::BeginEnumeration (vtable index 8)

(this: *mut c_void, enum_flags: i32)

Source from the content-addressed store, hash-verified

200
201 /// IWbemClassObject::BeginEnumeration (vtable index 8)
202 pub unsafe fn object_begin_enumeration(this: *mut c_void, enum_flags: i32) -> HRESULT {
203 let vtable = *(this as *const *const usize);
204 let method: unsafe extern "system" fn(*mut c_void, i32) -> HRESULT =
205 core::mem::transmute(*vtable.add(8));
206 method(this, enum_flags)
207 }
208
209 /// IWbemClassObject::Next (vtable index 9)
210 pub unsafe fn object_next(

Callers 1

query_thread_implFunction · 0.85

Calls 2

methodFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected