DS4Windows.HidDevices.CreateDeviceInfoData C# (CSharp) Method

CreateDeviceInfoData() private static method

private static CreateDeviceInfoData ( ) : NativeMethods.SP_DEVINFO_DATA
return NativeMethods.SP_DEVINFO_DATA
        private static NativeMethods.SP_DEVINFO_DATA CreateDeviceInfoData()
        {
            var deviceInfoData = new NativeMethods.SP_DEVINFO_DATA();

            deviceInfoData.cbSize = Marshal.SizeOf(deviceInfoData);
            deviceInfoData.DevInst = 0;
            deviceInfoData.ClassGuid = Guid.Empty;
            deviceInfoData.Reserved = IntPtr.Zero;

            return deviceInfoData;
        }