IXAudio2::AddRef method (xaudio2.h)

Adds a reference to the XAudio2 object.

Syntax

ULONG AddRef();

Return value

Always 0.

Remarks

Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Requirement Value
Target Platform Windows
Header xaudio2.h

See also

IXAudio2