IXACTSoundBank::GetState

Retrieves the current state of the sound bank.

HRESULT GetState(
  DWORD *pdwState
);

Parameters

pdwState
[out] Flags indicating the state of the sound bank. The flags are as follows:
Value Description
XACT_SOUNDBANKSTATE_INUSE Currently referenced by at least one valid cue instance or other client (for example, the game itself might reference the sound bank).

Return Values

Returns S_OK if successful, an error code otherwise.

Remarks

For information on using this method, see Managing XACT Resources and Notifications.

Requirements

Header: Declared in Xact.h.

See Also

IXACTSoundBank