Miles Sound System SDK 7.2a

AIL_set_DirectSound_HWND

The function AIL_set_DirectSound_HWND assigns the HWND to use for DirectSound's focus control.

S32 AIL_set_DirectSound_HWND(
  HDIGDRIVER dig,
  HWND wnd
);

In Parameters

dig
indicates the driver to set the DirectSound HWND for.
wnd
indicates the HWND to use with DirectSound.

Discussion

This call is only necessary if Miles guesses wrong when it tries to figure out what your application's main HWND is.

You can call AIL_HWND to retrieve the HWND that is currently being used.

This function is only used under Windows.


Group: Digital Audio Services
Related Functions: AIL_HWND, AIL_open_digital_driver
Related Basic Types: HDIGDRIVER, HWND, S32

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.