public static extern void D3D10CreateDevice1( [In, MarshalAs(UnmanagedType.IUnknown)] object adapter, [In] D3D10DriverType driverType, [In] IntPtr software, [In] D3D10CreateDeviceOptions options, [In] D3D10FeatureLevel featureLevel, [In] uint sdkVersion, [Out] out ID3D10Device1 device);
internal D3D10Device1(ID3D10Device1 device) { this.device = device; }