The HWND hWnd source is in OConnectionHelper::implInitControls
(dbaccess/source/ui/dlg/ConnectionHelper.cxx) and the
IDataSourceLocator::put_hWnd call sinks are in PromptNew and PromptEdit
(dbaccess/source/ui/dlg/adodatalinks.cxx). The IDataSourceLocator source code
has
virtual HRESULT __stdcall put_hWnd(
COMPATIBLE_LONG hwndParent) = 0;
with
typedef LONGLONG COMPATIBLE_LONG;
(both C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um\msdasc.h),
so it looks like an integer type large enough to hold pointers is what is
appropriate here. (Which matches the fact that HWND aka HANDLE aka PVOID is a
pointer type.)
Change-Id: I3a18e9a1d2f75a1feac716ef6e7bca78165ffe95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106695
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>