IXACTEngine::GetCategory

Retrieves the sound category index that corresponds to a friendly name string.

STDAPI_(XACTCATEGORY) GetCategory(
  PCSTR szFriendlyName
);

Parameters

szFriendlyName
[in] Pointer to a buffer that contains the zero-terminated string that describes the category's friendly name.

Return Values

Returns a category index for the friendly name if successful, XACTCATEGORY_INVALID otherwise.

Requirements

Header: Declared in Xact.h.

See Also

IXACTEngine | IXACTEngine::Pause, IXACTEngine::SetVolume, IXACTEngine::Stop