You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing the IEnumUnknown_Impl trait, the method signature for Next uses OutRef to handle the rgelt parameter, which is expected to be an array of Option<windows_core::IUnknown>. However, OutRef is designed to write only a single element, leading to difficulties in correctly implementing the Next method to handle arrays.
Summary
When implementing the
IEnumUnknown_Impl
trait, the method signature forNext
usesOutRef
to handle thergelt
parameter, which is expected to be an array ofOption<windows_core::IUnknown>
. However,OutRef
is designed to write only a single element, leading to difficulties in correctly implementing theNext
method to handle arrays.Here is the relevant code:
This issue also affects other enumerator interfaces for
InterfaceType
, such asIEnumConnectionPoints
.Crate manifest
Crate code
The text was updated successfully, but these errors were encountered: