setFileNameLabel method
Sets the text of the label next to the file name edit box.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/shobjidl_core/nf-shobjidl_core-ifiledialog-setfilenamelabel.
Implementation
@pragma('vm:prefer-inline')
void setFileNameLabel(PCWSTR pszLabel) {
final hr$ = HRESULT(_SetFileNameLabelFn(ptr, pszLabel));
if (hr$.isError) throw WindowsException(hr$);
}