First you need to write a declaration (.decls) for it. See "Specs and Utils -> Userlibs Specifications".
At the bottom of the MSDN page, look at the Import Library (user32.lib) -- so this function is found in user32.dll.
1) Type in a plain text file:
.lib "user32.dll"
Now look at the function declaration, at the top. Let's break it apart, bit by bit. The first part of it (HWND) specifies that it returns a handle to a window (which to Blitz, is just an Int) so put in the name of the function for Blitz, and an Int return value:
FindWindowEx%(...
And then it takes 4 parameters. The two HWNDs are Ints to Blitz, and the two LPCTSTRs are pointers to character arrays in C, which would be Strings to Blitz. So we specify those parameters like so:
FindWindowEx%(hwndParent%, hwndChildAfter%, lpszClass$, lpszWindow$)...
The parameter names can really be anything you want, but I just made them the same as what's on MSDN. Also, notice the descriptions for the arguments on MSDN. They're all marked as IN which means the arguments are only used as you pass them in. Sometimes they might be marked OUT or IN\OUT, which means they could be used to return values to you, and you would probably have to pass a custom type instance or a bank (basically, a memory block). Also, if you want to pass NULL, the parameter must be declared as % and you must pass 0.
Finally, just write the name of the function exported from the DLL, like so:
FindWindowEx%(hwndParent%, hwndChildAfter%, lpszClass$, lpszWindow$):"FindWindowEx"
and then save that file with a .decls extension and put it in the userlibs folder.
You might also want to take note of the supprted versions of Windows for the function.
Now to use it in a program, you can just type:
hwnd% = FindWindowEx(0, 0, "CLASSNAME", "TITLE")
This will search all the windows (and child windows) on the desktop for one that matches the CLASSNAME window class, and TITLE in the title bar. Note that you could also change the 4th parameter from $ to %, and pass 0 instead to match anything.
In order to get the window classname, try downloading Greatis' WinDowse. It will tell you a ton of stuff about the windows on your desktop.
Well, that's the basics of it. Make sure you do error handling and such. Try it out, you'll probably have questions. Hope it makes sense for you though. =)