IXACTWaveBank::GetState

Retrieves the current state of the wave bank.

HRESULT GetState(
  DWORD *pdwState
);

Parameters

pdwState
[out] Flags indicating the state of the wave bank. The flags are as follows:
Value Description
XACT_WAVEBANKSTATE_INUSE Currently referenced by at least one valid cue instance or other client. For example, the game itself might reference the wave bank.
XACT_WAVEBANKSTATE_PREPARED Prepared for use by a cue instance.

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

IXACTWaveBank