SymSetParentWindow function dbghelp

Win32Result<bool> SymSetParentWindow(
  1. HWND hwnd
)

Sets the window that the caller will use to display a user interface.

To learn more, see learn.microsoft.com/windows/win32/api/dbghelp/nf-dbghelp-symsetparentwindow.

Implementation

Win32Result<bool> SymSetParentWindow(HWND hwnd) {
  resolveGetLastError();
  final result_ = _SymSetParentWindow(hwnd);
  return .new(value: result_ != FALSE, error: GetLastError());
}