currentDropEffects property
Retrieves an array of localized strings that enumerate the full set of effects that can happen when this element as part of a drag-and-drop operation.
To learn more, see learn.microsoft.com/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationdragpattern-get_currentdropeffects.
Implementation
Pointer<SAFEARRAY> get currentDropEffects {
final retVal = adaptiveCalloc<Pointer<SAFEARRAY>>();
final hr$ = HRESULT(_get_CurrentDropEffectsFn(ptr, retVal));
if (hr$.isError) {
free(retVal);
throw WindowsException(hr$);
}
final result$ = retVal.value;
free(retVal);
return result$;
}