When a window is created (this can be a real window, but also a standard
windows control), the operating system creates one for you, and passes back
a hWnd, a window handler.
The dll function that you are calling will probably use the hWnd it is given
to create a child window, with the passes hWnd as parent. This results in a
window created by the dll that is modal to the parent window. But as
indicated by the prototype, it also takes a NULL (0), so you do not need to
spend much time on it. If you still want to try passing a hWnd to the
function, use windows API FindWindowA of FindWindowExA to get one, but these
functions are more advanced then the function you are trying to get
working...
Regards,
Wiebe.