public static unsafe uint GetState(this XInput thisApi, uint dwUserIndex, Span <State> pState) { // SpanOverloader return(thisApi.GetState(dwUserIndex, ref pState.GetPinnableReference())); }