Share via


XACTGetCategory

XACTGetCategory

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

Windows:  This function is not supported on the Windows platform. Use IXACTEngine::GetCategory

  STDAPI_(XACTCATEGORY) 
  XACTGetCategory(
  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.

Remarks

Note    This function has been deprecated. Titles should use IXACTEngine::GetCategory.

Requirements

Header: Declared in Xact.h.

Library: Use Xact.lib.

See Also

XACT Functions | XACTPause, XACTSetVolume, XACTStop