public unsafe partial int HDCreateDevice(ref Silk.NET.Direct3D9.IDirect3DDevice9Ex pD3DDevice, HDContentDesc *pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice *ppDevice);
public static unsafe int HDCreateDevice(this DXVA thisApi, Span <Silk.NET.Direct3D9.IDirect3DDevice9Ex> pD3DDevice, HDContentDesc *pContentDesc, HDDeviceUsage Usage, PfnPDXVAHDSWPlugin pPlugin, ref IDXVAHDDevice *ppDevice) { // SpanOverloader return(thisApi.HDCreateDevice(ref pD3DDevice.GetPinnableReference(), pContentDesc, Usage, pPlugin, ref ppDevice)); }