Retrieves the current state of the wave bank.
HRESULT GetState( DWORD *pdwState );
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. |
Returns S_OK if successful, an error code otherwise.
For information on using this method, see Managing XACT Resources and Notifications.
Header: Declared in Xact.h.