setTitle method
Sets the title of the dialog.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialog-settitle.
Implementation
@pragma('vm:prefer-inline')
void setTitle(PCWSTR pszTitle) {
final hr$ = HRESULT(_SetTitleFn(ptr, pszTitle));
if (hr$.isError) throw WindowsException(hr$);
}