IMMDeviceEnumerator constructor
IMMDeviceEnumerator(
- VTablePointer ptr
Creates a new instance of IMMDeviceEnumerator from a VTablePointer.
This constructor requires a valid pointer to the IMMDeviceEnumerator
interface. The ptr must not be nullptr; otherwise, an assertion error
is thrown.
Implementation
IMMDeviceEnumerator(super.ptr)
: _vtable = ptr.value.cast<IMMDeviceEnumeratorVtbl>().ref;