public static unsafe uint GetAudioDeviceIds(this XInput thisApi, uint dwUserIndex, char *pRenderDeviceId, Span <uint> pRenderCount, Span <char> pCaptureDeviceId, uint *pCaptureCount) { // SpanOverloader return(thisApi.GetAudioDeviceIds(dwUserIndex, pRenderDeviceId, ref pRenderCount.GetPinnableReference(), ref pCaptureDeviceId.GetPinnableReference(), pCaptureCount)); }
public static unsafe uint GetAudioDeviceIds(this XInput thisApi, uint dwUserIndex, char *pRenderDeviceId, uint *pRenderCount, [UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPWStr)] string pCaptureDeviceId, Span <uint> pCaptureCount) { // SpanOverloader return(thisApi.GetAudioDeviceIds(dwUserIndex, pRenderDeviceId, pRenderCount, pCaptureDeviceId, ref pCaptureCount.GetPinnableReference())); }