This is an optional function to set the window handle of the application
you are writing, so Directsound can tell if it is in focus or not.
signed char F_API FSOUND_SetHWND( void *hwnd );
Parameters
hwnd
Pointer to a HWND windows handle of your application.
NULL means it will pick the foreground application window.
Return Value
On success, TRUE is returned.
On failure, FALSE is returned.
Remarks
This function cannot be called after FMOD is already activated with FSOUND_Init.
It must be called before FSOUND_Init, or after FSOUND_Close.
---------
FMOD uses GetForegroundWindow if this function is not called.
___________________
Supported on the following platforms : Win32, WinCE