The XUserGetDefaultAudioEndpointUtf16 function uses an XUserDefaultAudioEndpointKind enumeration argument to get the default audio endpoint for a user.
The XUserDefaultAudioEndpointUtf16ChangedCallback function takes an XUserDefaultAudioEndpointKind enumeration argument and is invoked when the default audio endpoint for a user changes.The following example demonstrates how to retrieve the default audio endpoint for a user.