public static unsafe uint GetCapabilities(this XInput thisApi, uint dwUserIndex, uint dwFlags, Span <Capabilities> pCapabilities) { // SpanOverloader return(thisApi.GetCapabilities(dwUserIndex, dwFlags, ref pCapabilities.GetPinnableReference())); }
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 GetKeystroke(this XInput thisApi, uint dwUserIndex, uint dwReserved, Span <Keystroke> pKeystroke) { // SpanOverloader return(thisApi.GetKeystroke(dwUserIndex, dwReserved, ref pKeystroke.GetPinnableReference())); }
public static unsafe uint GetBatteryInformation(this XInput thisApi, uint dwUserIndex, byte devType, Span <BatteryInformation> pBatteryInformation) { // SpanOverloader return(thisApi.GetBatteryInformation(dwUserIndex, devType, ref pBatteryInformation.GetPinnableReference())); }
public static unsafe uint SetState(this XInput thisApi, uint dwUserIndex, Span <Vibration> pVibration) { // SpanOverloader return(thisApi.SetState(dwUserIndex, ref pVibration.GetPinnableReference())); }
public static unsafe uint GetState(this XInput thisApi, uint dwUserIndex, Span <State> pState) { // SpanOverloader return(thisApi.GetState(dwUserIndex, ref pState.GetPinnableReference())); }
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())); }